[bug] typescript-eslint
warnings show up in svelte.config.js
#3514
Labels
typescript-eslint
warnings show up in svelte.config.js
#3514
Describe the bug
The skeleton project when configured with
typescript
andeslint
run@typescript-eslint
rules on the main configuration file,svelte.config.js
. Although no warnings show up in the default skeleton configuration, when they do, they cannot be resolved since type annotations can only be used in TypeScript files.Reproduction
Example change:
Reproduction on CodeSandbox
Logs
The output of
npm run lint
:System Info
Severity
annoyance
Additional Information
This is a mild annoyance.
Still, I think it could use a workaround/modification to the default
eslint
configuration in the skeleton project.Any help is appreciated!
Thank you for your time!
The text was updated successfully, but these errors were encountered: