feat: react #1445
319 new problems found by Qodana for JS
Qodana for JS
319 new problems were found
Inspection name | Severity | Problems |
---|---|---|
ESLint |
🔴 Failure | 226 |
Unused import |
🔶 Warning | 12 |
Unused local symbol |
🔶 Warning | 6 |
Unnecessary non-capturing group |
🔶 Warning | 6 |
Mismatched JSDoc and function signature |
🔶 Warning | 4 |
Redundant local variable |
🔶 Warning | 4 |
Redundant character escape |
🔶 Warning | 3 |
Import can be shortened |
🔶 Warning | 2 |
Equality operator may cause type coercion |
🔶 Warning | 1 |
Unused assignment |
🔶 Warning | 1 |
Void function return value used |
🔶 Warning | 1 |
Duplicate character in character class |
🔶 Warning | 1 |
Unresolved JSX component |
◽️ Notice | 27 |
Deprecated symbol used |
◽️ Notice | 12 |
Result of method call returning a promise is ignored |
◽️ Notice | 8 |
Duplicated code fragment |
◽️ Notice | 2 |
Regular expression can be simplified |
◽️ Notice | 2 |
Missing await for an async function call |
◽️ Notice | 1 |
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check notice on line 111 in src/components/stateful/TreeList/index.jsx
github-actions / Qodana for JS
Duplicated code fragment
Duplicated code
Check notice on line 39 in src/components/stateless/SearchForm/index.jsx
github-actions / Qodana for JS
Duplicated code fragment
Duplicated code
Check notice on line 300 in src/utils/aidFn.js
github-actions / Qodana for JS
Missing await for an async function call
Missing await for an async function call
Check warning on line 13 in src/theme.tsx
github-actions / Qodana for JS
Import can be shortened
Import can be shortened
Check warning on line 5 in src/index.tsx
github-actions / Qodana for JS
Import can be shortened
Import can be shortened
Check warning on line 1 in src/pages/reactGantt/index.jsx
github-actions / Qodana for JS
Unused import
Unused import specifier useRef
Check warning on line 1 in src/hocs/withLoading.js
github-actions / Qodana for JS
Unused import
Unused import specifier useState
Check warning on line 2 in src/components/stateless/ShiCode/index.jsx
github-actions / Qodana for JS
Unused import
Unused import { codeToHtml } from 'shiki'
Check warning on line 1 in src/components/hooks/useCycle/index.jsx
github-actions / Qodana for JS
Unused import
Unused imported default binding React
Check warning on line 1 in src/components/hooks/useRootClick/index.jsx
github-actions / Qodana for JS
Unused import
Unused imported default binding React
Check warning on line 3 in src/pages/demo/index.jsx
github-actions / Qodana for JS
Unused import
Unused import specifier Space
Check warning on line 1 in src/components/stateless/AlternatingText/index.jsx
github-actions / Qodana for JS
Unused import
Unused import specifier useState
Check warning on line 1 in src/pages/reactGantt/index.jsx
github-actions / Qodana for JS
Unused import
Unused import specifier useEffect
Check warning on line 1 in src/components/stateless/AnimateRipple/index.jsx
github-actions / Qodana for JS
Unused import
Unused import specifier useState
Check warning on line 1 in src/components/stateless/AnimateRipple/index.jsx
github-actions / Qodana for JS
Unused import
Unused import specifier useRef
Check warning on line 1 in src/components/hooks/useElementViewportPosition/index.jsx
github-actions / Qodana for JS
Unused import
Unused import specifier RefObject
Check warning on line 1 in src/pages/print/index.jsx
github-actions / Qodana for JS
Unused import
Unused import specifier useRef
Check failure on line 1 in src/components/hooks/useErrorBoundary/index.js
github-actions / Qodana for JS
ESLint
ESLint: Install the 'eslint' package
Check failure on line 1 in src/pages/prism/index.jsx
github-actions / Qodana for JS
ESLint
ESLint: Install the 'eslint' package
Check failure on line 1 in src/components/stateful/ErrorBoundary/index.jsx
github-actions / Qodana for JS
ESLint
ESLint: Install the 'eslint' package
Check failure on line 1 in src/pages/product/home/index.jsx
github-actions / Qodana for JS
ESLint
ESLint: Install the 'eslint' package
Check failure on line 1 in src/pages/d3Chart/index.jsx
github-actions / Qodana for JS
ESLint
ESLint: Install the 'eslint' package
Check failure on line 1 in src/service/useFetch.js
github-actions / Qodana for JS
ESLint
ESLint: Install the 'eslint' package
Check failure on line 1 in src/actions/index.js
github-actions / Qodana for JS
ESLint
ESLint: Install the 'eslint' package
Check failure on line 1 in src/pages/product/edit/index.jsx
github-actions / Qodana for JS
ESLint
ESLint: Install the 'eslint' package