Skip to content

style: format code with Prettier and StandardJS #57

style: format code with Prettier and StandardJS

style: format code with Prettier and StandardJS #57

GitHub Actions / Qodana for JS completed Dec 9, 2024 in 0s

314 new problems found by Qodana for JS

Qodana for JS

314 new problems were found

Inspection name Severity Problems
ESLint 🔴 Failure 222
Unused import 🔶 Warning 10
Unused local symbol 🔶 Warning 8
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 7
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]

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 111 in src/components/stateful/TreeList/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Duplicated code fragment

Duplicated code

Check notice on line 39 in src/components/stateless/SearchForm/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Duplicated code fragment

Duplicated code

Check notice on line 300 in src/utils/aidFn.js

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Import can be shortened

Import can be shortened

Check warning on line 5 in src/index.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Import can be shortened

Import can be shortened

Check warning on line 11 in src/pages/home/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused

```
import useDetectScroll, { Direction } from '@smakss/react-scroll-direction'
```

Check warning on line 1 in src/pages/reactGantt/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier useRef

Check warning on line 1 in src/hocs/withLoading.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier useState

Check warning on line 3 in src/pages/demo/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier Space

Check warning on line 1 in src/components/stateless/AlternatingText/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier useState

Check warning on line 1 in src/pages/reactGantt/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier useEffect

Check warning on line 1 in src/components/stateless/AnimateRipple/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier useState

Check warning on line 1 in src/components/stateless/AnimateRipple/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier useRef

Check warning on line 1 in src/components/hooks/useElementViewportPosition/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier RefObject

Check warning on line 1 in src/pages/print/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier useRef

Check failure on line 1 in src/components/hooks/useErrorBoundary/index.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Install the 'eslint' package

Check failure on line 1 in src/pages/prism/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Install the 'eslint' package

Check failure on line 1 in src/components/stateful/ErrorBoundary/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Install the 'eslint' package

Check failure on line 1 in src/pages/product/home/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Install the 'eslint' package

Check failure on line 1 in src/pages/d3Chart/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Install the 'eslint' package

Check failure on line 1 in src/service/useFetch.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Install the 'eslint' package

Check failure on line 1 in src/actions/index.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Install the 'eslint' package

Check failure on line 1 in src/pages/product/edit/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Install the 'eslint' package

Check failure on line 1 in src/pages/postmessage/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Install the 'eslint' package

Check failure on line 1 in src/pages/layout/proSecNav/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Install the 'eslint' package