eslint-svelte-issue Svelte Themes

Eslint Svelte Issue

  • npm start
  • observe warning and error in console:
WARNING in
C:\dev\eslint-svelte-issue\src\App.svelte
  4:3  warning  '$somestore' is never reassigned. Use 'const' instead  prefer-const

✖ 2 problems (1 error, 1 warning)


WARNING in
C:\dev\eslint-svelte-issue\src\App.svelte
  4:3  error  '$somestore' is assigned a value but never used  no-unused-vars

✖ 2 problems (1 error, 1 warning)

Ignoring with svelte3/ignore-warnings in .eslintrc.js doesn't seem to work either.

Top categories

Loading Svelte Themes