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

npm run lint should return no messages #71

Open
dev-guy opened this issue Sep 4, 2023 · 0 comments
Open

npm run lint should return no messages #71

dev-guy opened this issue Sep 4, 2023 · 0 comments

Comments

@dev-guy
Copy link
Contributor

dev-guy commented Sep 4, 2023

Also add --report-unused-disable-directives to run lint

Also: Add to eslint config: ignorePatterns: ['dist/**'],

/Users/terrislinenbach/agle/svelte-kanban/src/lib/Kanban.svelte
    3:10  error  'flip' is defined but never used                                                                                                                             @typescript-eslint/no-unused-vars
   25:13  error  Component has unused export property 'minimalist'. If it is for external reference only, please consider using `export const minimalist`(unused-export-let)  svelte/valid-compile
   59:6   error  'cOffX_new' is assigned a value but never used                                                                                                               @typescript-eslint/no-unused-vars
   60:6   error  'cOffY_new' is assigned a value but never used                                                                                                               @typescript-eslint/no-unused-vars
   63:6   error  'rect_new_card' is defined but never used                                                                                                                    @typescript-eslint/no-unused-vars
  276:92  error  Duplicate key 'columns'                                                                                                                                      no-dupe-keys
  322:24  error  'entries' is defined but never used                                                                                                                          @typescript-eslint/no-unused-vars
  436:59  error  Unused CSS selector ".light .header"(css-unused-selector)                                                                                                    svelte/valid-compile
  439:56  error  Unused CSS selector ".dark .header"(css-unused-selector)                                                                                                     svelte/valid-compile

/Users/terrislinenbach/agle/svelte-kanban/src/lib/components/Card.svelte
   8:25  error  'e' is defined but never used                                                                                                                                  @typescript-eslint/no-unused-vars
  47:16  error  Component has unused export property 'description'. If it is for external reference only, please consider using `export const description`(unused-export-let)  svelte/valid-compile
  68:1   error  A11y: <div> with mousedown handler must have an ARIA role(a11y-no-static-element-interactions)                                                                 svelte/valid-compile

/Users/terrislinenbach/agle/svelte-kanban/src/lib/components/Column/Column.svelte
   2:13  error  'onMount' is defined but never used                                                                                                                                  @typescript-eslint/no-unused-vars
   2:22  error  'getContext' is defined but never used                                                                                                                               @typescript-eslint/no-unused-vars
   4:18  error  'scale' is defined but never used                                                                                                                                    @typescript-eslint/no-unused-vars
  14:16  error  Component has unused export property 'show_fake_slot'. If it is for external reference only, please consider using `export const show_fake_slot`(unused-export-let)  svelte/valid-compile

✖ 16 problems (16 errors, 0 warnings)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant