Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 19s
Build & Deploy / 🧪 QA (push) Successful in 51s
Build & Deploy / 🏗️ Build (push) Has been cancelled
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
130 lines
12 KiB
Plaintext
130 lines
12 KiB
Plaintext
|
|
> e-tib-nextjs@2.2.12 lint /Volumes/Alpha SSD/Coding/e-tib.com
|
|
> eslint .
|
|
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/app/[locale]/[slug]/page.tsx
|
|
1:20 warning 'redirect' is defined but never used @typescript-eslint/no-unused-vars
|
|
75:24 warning Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/app/[locale]/blog/[slug]/page.tsx
|
|
1:20 warning 'redirect' is defined but never used @typescript-eslint/no-unused-vars
|
|
39:24 warning Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/app/[locale]/error.tsx
|
|
7:30 warning 'AlertTriangle' is defined but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/app/[locale]/not-found.tsx
|
|
6:10 warning 'Terminal' is defined but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/app/[locale]/referenzen/[slug]/page.tsx
|
|
92:26 warning Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/app/[locale]/referenzen/page.tsx
|
|
1:21 warning 'Heading' is defined but never used @typescript-eslint/no-unused-vars
|
|
1:30 warning 'Badge' is defined but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/JsonLd.tsx
|
|
1:30 warning 'Graph' is defined but never used @typescript-eslint/no-unused-vars
|
|
43:31 warning '_' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
48:29 warning '_' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/blocks/CertificatesBlock.tsx
|
|
6:10 warning 'Button' is defined but never used @typescript-eslint/no-unused-vars
|
|
9:10 warning 'FileText' is defined but never used @typescript-eslint/no-unused-vars
|
|
102:5 warning Error: Calling setState synchronously within an effect can trigger cascading renders
|
|
|
|
Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
|
|
* Update external systems with the latest state from React.
|
|
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.
|
|
|
|
Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/blocks/CertificatesBlock.tsx:102:5
|
|
100 |
|
|
101 | useEffect(() => {
|
|
> 102 | setIsMounted(true);
|
|
| ^^^^^^^^^^^^ Avoid calling setState() directly within an effect
|
|
103 | }, []);
|
|
104 |
|
|
105 | const badgeText = badge || 'Zertifizierungen & Nachweise'; react-hooks/set-state-in-effect
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/blocks/CompetenceBentoGrid.tsx
|
|
53:5 warning Error: Calling setState synchronously within an effect can trigger cascading renders
|
|
|
|
Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following:
|
|
* Update external systems with the latest state from React.
|
|
* Subscribe for updates from some external system, calling setState in a callback function when external state changes.
|
|
|
|
Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect).
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/blocks/CompetenceBentoGrid.tsx:53:5
|
|
51 |
|
|
52 | useEffect(() => {
|
|
> 53 | setIsMounted(true);
|
|
| ^^^^^^^^^^^^ Avoid calling setState() directly within an effect
|
|
54 | }, []);
|
|
55 |
|
|
56 | const badge = props.badge || data?.badge || 'Leistungsspektrum'; react-hooks/set-state-in-effect
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/blocks/HeroVideo.tsx
|
|
5:18 warning 'AnimatePresence' is defined but never used @typescript-eslint/no-unused-vars
|
|
6:10 warning 'useState' is defined but never used @typescript-eslint/no-unused-vars
|
|
6:20 warning 'useEffect' is defined but never used @typescript-eslint/no-unused-vars
|
|
45:12 warning 'e' is defined but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/blocks/InteractiveGermanyMap.tsx
|
|
5:18 warning 'Factory' is defined but never used @typescript-eslint/no-unused-vars
|
|
5:27 warning 'Zap' is defined but never used @typescript-eslint/no-unused-vars
|
|
53:9 warning 'hq' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
54:9 warning 'branch' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
55:9 warning 'projects' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
56:9 warning 'minorNodes' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/blocks/ReferencesSlider.test.tsx
|
|
5:10 warning 'NextIntlClientProvider' is defined but never used @typescript-eslint/no-unused-vars
|
|
21:12 warning Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/blocks/TeamGridBlock.tsx
|
|
20:39 warning 'title' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
20:46 warning 'department' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
20:58 warning 'showContact' is assigned a value but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/decorations/CorporateBackground.tsx
|
|
36:13 warning 'distance' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/home/Hero.tsx
|
|
9:39 warning 'useCallback' is defined but never used @typescript-eslint/no-unused-vars
|
|
77:6 warning React Hook useEffect has missing dependencies: 'HERO_PLACEHOLDERS' and 't'. Either include them or remove the dependency array react-hooks/exhaustive-deps
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/home/MeetTheTeam.tsx
|
|
8:9 warning 'teamT' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/layout/Footer.tsx
|
|
4:35 warning 'Accessibility' is defined but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/providers/InitialLoader.tsx
|
|
5:8 warning 'Image' is defined but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/providers/PageTransitionShutter.tsx
|
|
6:8 warning 'Image' is defined but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/search/AIOrb.tsx
|
|
153:13 warning 'breathe' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
212:15 warning 'targetExcite' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/search/AISearchResults.tsx
|
|
100:6 warning React Hook useEffect has missing dependencies: 'handleSearch' and 'initialQuery'. Either include them or remove the dependency array react-hooks/exhaustive-deps
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/components/ui/AnimatedCounter.tsx
|
|
3:28 warning 'useState' is defined but never used @typescript-eslint/no-unused-vars
|
|
|
|
/Volumes/Alpha SSD/Coding/e-tib.com/lib/blog.ts
|
|
6:7 warning 'BLOG_DIR' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
94:7 warning 'next' is never reassigned. Use 'const' instead prefer-const
|
|
95:7 warning 'prev' is never reassigned. Use 'const' instead prefer-const
|
|
|
|
✖ 45 problems (0 errors, 45 warnings)
|
|
0 errors and 2 warnings potentially fixable with the `--fix` option.
|
|
|