You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run npx eslint --fix MyComponent.svelte, the indent rule isn't applied, if the file is using spaces as indentation I expect ESLint to convert those into tabs, it does that for .ts/.js files but not for .svelte files.
Other rules like the quotes rule ARE applied in .svelte files as well; so this problem must be specific to indent probably.
Any ideas?
The text was updated successfully, but these errors were encountered:
The following
.eslintrc.cjs
(created bynpm create svelte@latest
, I just added arules
section):When I run
npx eslint --fix MyComponent.svelte
, theindent
rule isn't applied, if the file is using spaces as indentation I expect ESLint to convert those into tabs, it does that for.ts
/.js
files but not for.svelte
files.Other rules like the
quotes
rule ARE applied in.svelte
files as well; so this problem must be specific toindent
probably.Any ideas?
The text was updated successfully, but these errors were encountered: