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

chore(ci): Configure eslint in CI #9

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

chore(ci): Configure eslint in CI

4e96a3f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

chore(ci): Configure eslint in CI #9

chore(ci): Configure eslint in CI
4e96a3f
Select commit
Loading
Failed to load commit list.
GitHub Actions / ESLint Report Analysis failed Feb 4, 2025 in 1s

ESLint Report Analysis

429 ESLint error(s) and 14 ESLint warning(s) found

Details

Annotations

Check failure on line 4 in next/app/(api)/api/healthcheck/route.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(api)/api/healthcheck/route.ts#L4

[@typescript-eslint/no-unused-vars] 'request' is defined but never used.

Check failure on line 17 in next/app/(special)/bestellung/check/page.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(special)/bestellung/check/page.tsx#L17

[prefer-const] 'order' is never reassigned. Use 'const' instead.

Check failure on line 3 in next/app/(api)/api/order/check/route.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(api)/api/order/check/route.ts#L3

[@typescript-eslint/no-unused-vars] 'ItemsMemberProduct' is defined but never used.

Check failure on line 21 in next/app/(main)/kontakt/Map.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(main)/kontakt/Map.tsx#L21

[@typescript-eslint/no-unused-vars] 'mapReady' is assigned a value but never used.

Check failure on line 34 in next/app/(special)/bestellung/check/page.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(special)/bestellung/check/page.tsx#L34

[@typescript-eslint/no-unused-vars] 'error' is assigned a value but never used.

Check failure on line 33 in next/app/(main)/programm/[date]/PageProgramm.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(main)/programm/[date]/PageProgramm.tsx#L33

[@typescript-eslint/no-unused-vars] 'todayShows' is assigned a value but never used.

Check failure on line 5 in next/app/(api)/api/order/check/route.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(api)/api/order/check/route.ts#L5

[@typescript-eslint/no-unused-vars] 'NextRequest' is defined but never used.

Check failure on line 27 in next/components/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/components/Header/Header.tsx#L27

[prefer-const] 'isMobile' is never reassigned. Use 'const' instead.

Check failure on line 34 in next/app/(special)/bestellung/check/page.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(special)/bestellung/check/page.tsx#L34

[react-hooks/rules-of-hooks] React Hook "useSWR" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?

Check failure on line 5 in next/app/(main)/bestellung/Form.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(main)/bestellung/Form.tsx#L5

[@typescript-eslint/no-unused-vars] 'FormEvent' is defined but never used.

Check failure on line 23 in next/app/(api)/api/order/check/route.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(api)/api/order/check/route.ts#L23

[prefer-const] 'item' is never reassigned. Use 'const' instead.

Check failure on line 28 in next/app/(main)/kontakt/Map.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(main)/kontakt/Map.tsx#L28

[@typescript-eslint/no-unused-vars] 'maps' is defined but never used.

Check failure on line 33 in next/app/(main)/programm/[date]/PageProgramm.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(main)/programm/[date]/PageProgramm.tsx#L33

[prefer-const] 'todayShows' is never reassigned. Use 'const' instead.

Check failure on line 189 in next/components/RenderTipTap/RenderTipTap.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/components/RenderTipTap/RenderTipTap.tsx#L189

[prefer-const] 'infoBoxData' is never reassigned. Use 'const' instead.

Check failure on line 29 in next/components/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/components/Header/Header.tsx#L29

[prefer-const] 'showDropdown' is never reassigned. Use 'const' instead.

Check failure on line 40 in next/app/(special)/bestellung/check/page.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(special)/bestellung/check/page.tsx#L40

[react-hooks/rules-of-hooks] React Hook "useEffect" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?

Check failure on line 36 in next/app/(api)/api/order/check/route.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(api)/api/order/check/route.ts#L36

[prefer-const] 'item' is never reassigned. Use 'const' instead.

Check failure on line 11 in next/components/FilterLabel.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/components/FilterLabel.tsx#L11

[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.

Check failure on line 18 in next/app/(main)/bestellung/Form.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(main)/bestellung/Form.tsx#L18

[@typescript-eslint/no-unused-vars] 'programName' is assigned a value but never used.

Check failure on line 33 in next/app/(main)/programm/[date]/PageProgramm.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(main)/programm/[date]/PageProgramm.tsx#L33

[@typescript-eslint/no-unused-vars] 'currentShow' is assigned a value but never used.

Check failure on line 33 in next/app/(main)/kontakt/Map.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(main)/kontakt/Map.tsx#L33

[@typescript-eslint/no-unused-vars] 'markerId' is defined but never used.

Check failure on line 193 in next/components/RenderTipTap/RenderTipTap.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/components/RenderTipTap/RenderTipTap.tsx#L193

[prefer-const] 'imageBoxData' is never reassigned. Use 'const' instead.

Check failure on line 29 in next/components/Header/Header.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/components/Header/Header.tsx#L29

[prefer-const] 'setShowDropdown' is never reassigned. Use 'const' instead.

Check failure on line 95 in next/components/ProgramBox/ProgramBox.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/components/ProgramBox/ProgramBox.tsx#L95

[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.

Check failure on line 5 in next/app/(api)/api/order/init/route.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

next/app/(api)/api/order/init/route.ts#L5

[@typescript-eslint/no-unused-vars] 'NextRequest' is defined but never used.