Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: format code with Prettier and StandardJS #553

Closed
wants to merge 1 commit into from

style: format code with Prettier and StandardJS

fb279c2
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

style: format code with Prettier and StandardJS #553

style: format code with Prettier and StandardJS
fb279c2
Select commit
Loading
Failed to load commit list.
GitHub Actions / Qodana for JS completed Jan 9, 2025 in 0s

416 new problems found by Qodana for JS

Qodana for JS

416 new problems were found

Inspection name Severity Problems
ESLint 🔴 Failure 252
Unused local symbol 🔶 Warning 34
Unused import 🔶 Warning 14
Unnecessary non-capturing group 🔶 Warning 6
Redundant local variable 🔶 Warning 5
Mismatched JSDoc and function signature 🔶 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 65
Result of method call returning a promise is ignored ◽️ Notice 12
Deprecated symbol used ◽️ Notice 10
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 305 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 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/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 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/components/stateless/HorizontalScroll/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 2 in src/components/stateless/HorizontalScroll/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused

```
import { motion, useTransform, useScroll } from 'motion/react'
```

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 specifier Direction

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused imported default binding React

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused imported default binding React

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/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 warning on line 50 in src/pages/home/index.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier randomNum

Check failure on line 1 in src/components/hooks/useStep/use-step.ts

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/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