Skip to content

style: format code with Prettier and StandardJS #1474

style: format code with Prettier and StandardJS

style: format code with Prettier and StandardJS #1474

Triggered via pull request December 24, 2024 06:40
Status Success
Total duration 1m 17s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

227 errors, 48 warnings, and 90 notices
ESLint: src/components/hooks/useErrorBoundary/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/prism/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateful/ErrorBoundary/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/product/home/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/d3Chart/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/service/useFetch.js#L1
ESLint: Install the 'eslint' package
ESLint: src/actions/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/product/edit/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/postmessage/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/layout/proSecNav/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useInViewport/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/LinearWrap/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/layout/proContent/breadcrumb/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/EChartsCommon/BaseChart/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/AutoLink/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/i18n/i18n.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateful/TreeList/utils.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/MultiColorBorder/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/container/musicPlayer/songData/song.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/print/test/toPrint.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useImageUpload/image-upload.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/actions/increment/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useRect/index.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/chinamap/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: faker/utils/mock.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/TypedText/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/music/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/demo/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/AnimateOnScreen/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateful/CheckableTags/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/container/musicPlayer/Controls.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/TagCloud/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/AnimateWave/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/signin/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/UserIP/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useViewport/use-view-port.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/bigScreen/bigHeader/index.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/ShiCode/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/SlideLinear/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useThrottle/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useRefVariable/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/parallax/toggle.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/Spotlight/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/signup/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useApiCallOnMount/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/service/axios.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/AnimateRipple/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/theme/hooks.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useElementViewportPosition/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/Exception/exception500.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/coupons/edit/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/token/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/reactAmap/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/container/masonryContainer/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useTable/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/layout/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/StarRating/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: webpack/process.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useBodyScrollLock/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/TextClip/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateful/TreeList/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/motion/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/reactGantt/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useMasonry/index.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/demo/tsDemo/index.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useInitialRender/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/print/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/layout/proContent/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useWebsocket/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/video/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/bigScreen/index.tsx#L1
ESLint: Install the 'eslint' package
ESLint: faker/utils/index.js#L1
ESLint: Install the 'eslint' package
ESLint: check-sentry.js#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/waitTime/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/Watermark/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/NumberFlowFix/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useUpdate/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useCopyToClipboard/index.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/AvatarCard/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/Loading/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/product/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: faker/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/theme/index.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/parallax/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/tilt/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/service/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/container/basicInfo/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useScript/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/GradientTracking/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/ReMarkdown/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: webpack/webpack.prod.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/bigScreen/offlinePortalOptions.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useWindowScroll/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: typings/style.d.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateful/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/SearchForm/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/home/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/AlternatingText/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useImageUpload/index.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/service/useAsyncFetch.js#L1
ESLint: Install the 'eslint' package
ESLint: src/theme/light.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/hocs/withLoading.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/dashboard/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: faker/utils/delay.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/IntervalInput/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: faker/app/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useRootClick/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/container/musicPlayer/SongCard.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/coupons/detail/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/FixLayout/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/container/musicPlayer/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useUnload/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/layout/primaryNav/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/confetti/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/service/fetch.js#L1
ESLint: Install the 'eslint' package
ESLint: src/theme/dark.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/theme.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/layout/proTabs/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/Exception/exception403.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/routers/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/layout/fullscreen/index.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useCycle/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/tryCatch/runPromise.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useMousePosition/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/demo/shopsList/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/CustomSwitch/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/usePreviousValue/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/postmessage/myIframe/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/layout/proHeader/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/LineBordered/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/barcode/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: postcss.config.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/EChartsCommon/index.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/d3Chart/scatter.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/layout/proContent/breadcrumb/util.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/NoMatch/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useInterval/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useKeyPress/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: webpack/dev.proxy.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/LanguageSwitcher/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: api/server.js#L1
ESLint: Install the 'eslint' package
ESLint: eslint.config.mjs#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/coupons/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: tailwind.config.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/proTabsContext/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/demo/tsDemo/user/index.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/dynamicModal/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/mermaid/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/actions/decrement/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/container/musicPlayer/Seekbar.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/IsometricCard/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useScrollPosition/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/routers/authRouter.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/reactPdf/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/store/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/EChartsCommon/BaseChart/echarts.ocnfig.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/ScrollAnimation/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/locales/zh/translation.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/bigScreen/chinaMap/index.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/chatgpt/sse.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/coupons/home/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/publicFn/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/FixTabPanel/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/reducers/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/aidFn.js#L1
ESLint: Install the 'eslint' package
ESLint: src/locales/en/translation.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/three/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/container/musicPlayer/Track.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/container/landingPage/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/crypto/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/superMap/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useViewport/index.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/demo/fileUpload/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/Video/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/reducers/decrement/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useIsMount/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useDebounce/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/container/musicPlayer/VolumeBar.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/qrGenerate/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/coupons/add/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/bigScreen/chinaMap/options.ts#L1
ESLint: Install the 'eslint' package
ESLint: faker/shops/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useScrollIntoView/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/LazyLoadImage/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/AlignCenter/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/index.js#L1
ESLint: Install the 'eslint' package
ESLint: webpack/paths.js#L1
ESLint: Install the 'eslint' package
ESLint: webpack/webpack.common.js#L1
ESLint: Install the 'eslint' package
ESLint: src/reducers/increment/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/sentry/index.js#L1
ESLint: Install the 'eslint' package
ESLint: webpack/webpack.dev.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useFetchReducer/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/index.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useTitle/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/Exception/exception404.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useMousePosition/use-mouse-position.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/echarts/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/chatgpt/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/container/musicPlayer/Player.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useSystemTheme/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/usePollingEffect/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/Exception/exception401.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/ScrollToTop/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/geoChart/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/usePersistedState/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useEventListener/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/suffix/index.js#L1
ESLint: Install the 'eslint' package
ESLint: babel.config.js#L1
ESLint: Install the 'eslint' package
ESLint: typings/declaration.d.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useCallbackState/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/MeshGradientBackground/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateful/mermaidHooks/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: typings/asset.d.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateful/markmap/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/ApiStateHandler/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/hocs/withErrorHandling.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/BreatheText/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/error/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/product/add/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/App.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/hooks/useLocalStorage/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/pages/layout/proSider/index.jsx#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/previewScale/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/tryCatch/index.js#L1
ESLint: Install the 'eslint' package
ESLint: src/components/stateless/ShiftingCard/index.jsx#L1
ESLint: Install the 'eslint' package
Analyze (javascript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (javascript)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Import can be shortened: src/theme.tsx#L13
Import can be shortened
Import can be shortened: src/index.tsx#L5
Import can be shortened
Unused import: src/pages/reactGantt/index.jsx#L1
Unused import specifier useEffect
Unused import: src/hocs/withLoading.js#L1
Unused import specifier useState
Unused import: src/pages/reactGantt/index.jsx#L1
Unused import specifier useRef
Unused import: src/pages/motion/index.jsx#L1
Unused import specifier useEffect
Unused import: src/components/hooks/useCycle/index.jsx#L1
Unused imported default binding React
Unused import: src/components/hooks/useRootClick/index.jsx#L1
Unused imported default binding React
Unused import: src/pages/demo/index.jsx#L3
Unused import specifier Space
Unused import: src/components/stateless/AlternatingText/index.jsx#L1
Unused import specifier useState
Unused import: src/components/stateless/AnimateRipple/index.jsx#L1
Unused import specifier useState
Unused import: src/pages/motion/index.jsx#L4
Unused import { is } from '@react-spring/shared'
Unused import: src/components/stateless/AnimateRipple/index.jsx#L1
Unused import specifier useRef
Unused import: src/components/hooks/useElementViewportPosition/index.jsx#L1
Unused import specifier RefObject
Unused import: src/pages/print/index.jsx#L1
Unused import specifier useRef
Mismatched JSDoc and function signature: src/utils/publicFn/index.jsx#L57
Parameter format is not described in JSDoc
Mismatched JSDoc and function signature: src/utils/publicFn/index.jsx#L57
Parameter date is not described in JSDoc
Mismatched JSDoc and function signature: src/utils/publicFn/index.jsx#L54
Parameter time described in JSDoc does not appear in function signature
Mismatched JSDoc and function signature: src/utils/publicFn/index.jsx#L55
Parameter fmt described in JSDoc does not appear in function signature
Equality operator may cause type coercion: src/components/hooks/proTabsContext/index.jsx#L27
Comparison context == undefined may cause unexpected type coercion
Suspicious variable/parameter name combination: src/pages/motion/index.jsx#L111
'scrollYProgress' should probably not be assigned to 'scaleX'
Unused assignment: webpack/webpack.common.js#L19
Variable initializer is redundant
Unused local symbol: src/pages/music/index.jsx#L8
Unused constant audioRef
Unused local symbol: webpack/webpack.prod.js#L17
Unused constant packageJson
Unused local symbol: src/pages/mermaid/index.jsx#L8
Unused constant gitChart
Unused local symbol: src/service/fetch.js#L88
Unused constant fetchStartTime
Unused local symbol: webpack/webpack.prod.js#L22
Unused constant useSentryMap
Unused local symbol: webpack/webpack.dev.js#L3
Unused constant webpack
Void function return value used: src/utils/aidFn.js#L147
Void function return value is used
Duplicate character in character class: src/components/stateless/AutoLink/index.jsx#L6
Duplicate character '\\\\' inside character class
Redundant character escape: src/utils/aidFn.js#L37
Redundant character escape `\]` in RegExp
Redundant character escape: src/components/stateless/AutoLink/index.jsx#L6
Redundant character escape `\.` in RegExp
Redundant character escape: src/components/stateless/AutoLink/index.jsx#L6
Redundant character escape `\.` in RegExp
Unnecessary non-capturing group: src/utils/aidFn.js#L106
Unnecessary non-capturing group `(?:^\d\.\d(?:\d)?$)`
Unnecessary non-capturing group: src/utils/aidFn.js#L106
Unnecessary non-capturing group `(?:^(?:0)$)`
Unnecessary non-capturing group: src/utils/aidFn.js#L106
Unnecessary non-capturing group `(?:^[1-9](\d+)?(?:\.\d{1,2})?$)`
Unnecessary non-capturing group: src/utils/aidFn.js#L106
Unnecessary non-capturing group `(?:\d)`
Unnecessary non-capturing group: src/utils/aidFn.js#L106
Unnecessary non-capturing group `(?:0)`
Unnecessary non-capturing group: src/utils/aidFn.js#L219
Unnecessary non-capturing group `(?:^\w|[A-Z]|\b\w)`
Redundant local variable: src/pages/layout/proSecNav/index.jsx#L46
Local variable selectedPathKey is redundant
Redundant local variable: src/pages/chatgpt/sse.js#L4
Local variable source is redundant
Redundant local variable: src/utils/aidFn.js#L56
Local variable urlArr is redundant
Redundant local variable: src/components/hooks/useDebounce/index.js#L18
Local variable fnDebounced is redundant
Missing await for an async function call: src/utils/aidFn.js#L300
Missing await for an async function call
Deprecated symbol used: src/pages/d3Chart/scatter.jsx#L25
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/utils/publicFn/index.jsx#L167
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/pages/d3Chart/scatter.jsx#L20
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/components/stateless/ReMarkdown/index.jsx#L30
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/components/hooks/useWindowScroll/index.jsx#L6
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/components/hooks/useWindowScroll/index.jsx#L13
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/components/hooks/useWindowScroll/index.jsx#L7
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/components/stateful/TreeList/utils.js#L75
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/components/hooks/useWindowScroll/index.jsx#L14
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/components/hooks/useScrollIntoView/index.jsx#L10
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/components/stateful/TreeList/utils.js#L76
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/components/hooks/useScrollIntoView/index.jsx#L11
Deprecated symbol used, consult docs for better alternative
Result of method call returning a promise is ignored: src/components/stateless/ShiCode/index.jsx#L10
Promise returned from copyToClipboard is ignored
Result of method call returning a promise is ignored: src/service/useAsyncFetch.js#L28
Promise returned from execute is ignored
Result of method call returning a promise is ignored: src/components/stateless/ReMarkdown/index.jsx#L68
Promise returned from copyTextToClipboard is ignored
Result of method call returning a promise is ignored: src/pages/chatgpt/index.jsx#L109
Promise returned from copyTextToClipboard is ignored
Result of method call returning a promise is ignored: check-sentry.js#L30
Promise returned from checkSentry is ignored
Result of method call returning a promise is ignored: src/pages/chatgpt/index.jsx#L107
Promise returned from copyTextToClipboard is ignored
Result of method call returning a promise is ignored: src/service/useFetch.js#L35
Promise returned from asyncFetch is ignored
Unresolved JSX component: src/pages/motion/index.jsx#L356
Unresolved component motion.div
Unresolved JSX component: src/pages/signup/index.jsx#L66
Unresolved component Form.Item
Unresolved JSX component: src/pages/motion/index.jsx#L279
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L749
Unresolved component motion.div
Unresolved JSX component: src/pages/signin/index.jsx#L85
Unresolved component Form.Item
Unresolved JSX component: src/pages/motion/index.jsx#L669
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L636
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L499
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L176
Unresolved component motion.li
Unresolved JSX component: src/pages/motion/index.jsx#L114
Unresolved component motion.div
Unresolved JSX component: src/pages/chatgpt/index.jsx#L162
Unresolved component Form.Item
Unresolved JSX component: src/pages/motion/index.jsx#L468
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L287
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L726
Unresolved component motion.div
Unresolved JSX component: src/pages/demo/index.jsx#L94
Unresolved component Select.Option
Unresolved JSX component: src/pages/motion/index.jsx#L774
Unresolved component motion.span
Unresolved JSX component: src/pages/signin/index.jsx#L89
Unresolved component Form.Item
Unresolved JSX component: src/pages/layout/proHeader/index.jsx#L73
Unresolved component Layout.Header
Unresolved JSX component: src/pages/home/index.jsx#L349
Unresolved component Input.TextArea
Unresolved JSX component: src/pages/signup/index.jsx#L76
Unresolved component Input.Password
Unresolved JSX component: src/pages/signup/index.jsx#L83
Unresolved component Form.Item
Unresolved JSX component: src/pages/chatgpt/index.jsx#L163
Unresolved component Input.TextArea
Unresolved JSX component: src/pages/motion/index.jsx#L678
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L667
Unresolved component motion.span
Unresolved JSX component: src/pages/motion/index.jsx#L521
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L252
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L408
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L485
Unresolved component motion.div
Unresolved JSX component: src/pages/parallax/toggle.jsx#L19
Unresolved component animated.div
Unresolved JSX component: src/pages/motion/index.jsx#L710
Unresolved component motion.div
Unresolved JSX component: src/pages/signin/index.jsx#L72
Unresolved component Form.Item
Unresolved JSX component: src/pages/demo/index.jsx#L95
Unresolved component Select.Option
Unresolved JSX component: src/pages/motion/index.jsx#L181
Unresolved component motion.p
Unresolved JSX component: src/pages/motion/index.jsx#L765
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L649
Unresolved component motion.div
Unresolved JSX component: src/pages/signup/index.jsx#L79
Unresolved component Form.Item
Unresolved JSX component: src/pages/signup/index.jsx#L53
Unresolved component Form.Item
Unresolved JSX component: src/pages/motion/index.jsx#L600
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L165
Unresolved component motion.ul
Unresolved JSX component: src/pages/motion/index.jsx#L102
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L295
Unresolved component motion.div
Unresolved JSX component: src/pages/demo/index.jsx#L93
Unresolved component Select.Option
Unresolved JSX component: src/pages/parallax/toggle.jsx#L33
Unresolved component animated.div
Unresolved JSX component: src/pages/signin/index.jsx#L59
Unresolved component Form.Item
Unresolved JSX component: src/pages/layout/proContent/index.jsx#L56
Unresolved component FloatButton.BackTop
Unresolved JSX component: src/pages/motion/index.jsx#L583
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L177
Unresolved component motion.li
Unresolved JSX component: src/pages/chatgpt/index.jsx#L170
Unresolved component Form.Item
Unresolved JSX component: src/pages/layout/proSider/index.jsx#L15
Unresolved component Layout.Sider
Unresolved JSX component: src/pages/chatgpt/index.jsx#L171
Unresolved component Input.TextArea
Unresolved JSX component: src/pages/chatgpt/index.jsx#L181
Unresolved component Form.Item
Unresolved JSX component: src/pages/motion/index.jsx#L303
Unresolved component motion.div
Unresolved JSX component: src/pages/signin/index.jsx#L82
Unresolved component Input.Password
Unresolved JSX component: src/pages/motion/index.jsx#L736
Unresolved component motion.span
Unresolved JSX component: src/pages/motion/index.jsx#L151
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L238
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L548
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L193
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L138
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L178
Unresolved component motion.li
Unresolved JSX component: src/pages/motion/index.jsx#L323
Unresolved component motion.div
Unresolved JSX component: src/pages/motion/index.jsx#L531
Unresolved component motion.div
Regular expression can be simplified: src/utils/aidFn.js#L113
`[\d]` can be simplified to '\\d'
Regular expression can be simplified: src/utils/aidFn.js#L151
`[=]` can be simplified to '='