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

🔴 Fix linting issues 🔴 #201

Open
teolemon opened this issue Mar 4, 2025 · 1 comment
Open

🔴 Fix linting issues 🔴 #201

teolemon opened this issue Mar 4, 2025 · 1 comment
Assignees

Comments

@teolemon
Copy link
Member

teolemon commented Mar 4, 2025

Story

🔴 Fix formatting issues 🔴 that make the build red

Checking formatting...
All matched files use Prettier code style!

/home/runner/work/openfoodfacts-explorer/openfoodfacts-explorer/src/lib/knowledgepanels/Element.svelte
Error:   16:28  error  'size' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/runner/work/openfoodfacts-explorer/openfoodfacts-explorer/src/routes/+layout.svelte
  91:3  error  Buttons and links should either contain text or have an `aria-label` or `aria-labelledby` attribute
https://svelte.dev/e/a[11](https://github.com/openfoodfacts/openfoodfacts-explorer/actions/runs/13620468499/job/38069118049#step:7:12)y_consider_explicit_label(a11y_consider_explicit_label)  svelte/valid-compile

/home/runner/work/openfoodfacts-explorer/openfoodfacts-explorer/src/routes/+page.svelte
Error:   34:7   error  `{@html}` can lead to XSS attack  svelte/no-at-html-tags
Error:   42:24  error  '_' is defined but never used     @typescript-eslint/no-unused-vars

/home/runner/work/openfoodfacts-explorer/openfoodfacts-explorer/src/routes/products/search/+page.svelte
Error:   19:21  error  '_' is defined but never used  @typescript-eslint/no-unused-vars

/home/runner/work/openfoodfacts-explorer/openfoodfacts-explorer/src/routes/qr/+page.svelte
Error:   25:[12](https://github.com/openfoodfacts/openfoodfacts-explorer/actions/runs/13620468499/job/38069118049#step:7:13)  error  '_result' is defined but never used  @typescript-eslint/no-unused-vars

✖ 6 problems (6 errors, 0 warnings)

 ELIFECYCLE  Command failed with exit code 1.
Error: Process completed with exit code 1.

@KarruHarin
Copy link
Contributor

@teolemon I am interested in this !

@VaiTon VaiTon changed the title 🔴 Fix formatting issues 🔴 🔴 Fix linting issues 🔴 Mar 4, 2025
This was referenced Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants