📖 双语国际化 README:English 为主 + 中文文档 #91
Annotations
10 errors and 12 warnings
|
Lint Code:
src/utils/cacheLayer.ts#L84
Empty block statement
|
|
Lint Code:
src/utils/cacheLayer.ts#L80
Empty block statement
|
|
Lint Code:
src/utils/cacheLayer.ts#L46
Empty block statement
|
|
Lint Code:
src/services/visitorIdentity.ts#L119
Empty block statement
|
|
Lint Code:
src/services/visitorIdentity.ts#L31
'stored' is never reassigned. Use 'const' instead
|
|
Lint Code:
src/pages/Results.tsx#L160
React Hook "useEffect" is called conditionally. React Hooks must be called in the exact same order in every component render
|
|
Lint Code:
src/data/professional/eq/eq-calculator.ts#L78
'value' is never reassigned. Use 'const' instead
|
|
Lint Code:
src/data/knowledge-base/index.ts#L27
'typeCode' is never reassigned. Use 'const' instead
|
|
Lint Code:
src/components/reports/PhiloSpectrumProfessionalReport.tsx#L2
Shadowing of global property 'Infinity'
|
|
Lint Code:
src/components/reports/LifeMeaningProfessionalReport.tsx#L2
Shadowing of global property 'Infinity'
|
|
Lint Code
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint Code:
src/app/components/training/TrainingEngine.tsx#L122
React Hook useCallback has a missing dependency: 'handleComplete'. Either include it or remove the dependency array
|
|
Lint Code:
src/app/components/training/TrainingEngine.tsx#L112
React Hook useEffect has a missing dependency: 'handleComplete'. Either include it or remove the dependency array
|
|
Lint Code:
src/app/components/training/TrainingEngine.tsx#L89
'progress' is assigned a value but never used
|
|
Lint Code:
src/app/components/training/TrainingEngine.tsx#L67
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
Lint Code:
src/app/components/training/TrainingEngine.tsx#L14
Unexpected any. Specify a different type
|
|
Lint Code:
src/app/components/training/TrainingEngine.tsx#L3
'Check' is defined but never used
|
|
Lint Code:
src/app/components/WelcomeModal.tsx#L1
'useEffect' is defined but never used
|
|
Lint Code:
src/app/components/WelcomeModal.tsx#L1
'useState' is defined but never used
|
|
Lint Code:
src/App.tsx#L56
'isFullscreenGame' is assigned a value but never used
|
|
Lint Code:
src/App.tsx#L49
'NotFound' is assigned a value but never used
|
|
Type Check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|