Open axelthat opened 2 years ago
.eslintrc.cjs
module.exports = { env: { browser: true, es2021: true, node: true }, extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'standard' ], parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 'latest', sourceType: 'module', project: ['./tsconfig.json'], extraFileExtensions: ['.svelte', '.cjs'] }, plugins: ['@typescript-eslint', 'svelte3'], overrides: [ { files: ['*.svelte'], processor: 'svelte3/svelte3' } ], settings: { 'svelte3/typescript': () => require('typescript') }, rules: { 'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 2, maxEOF: 0 }] // standard } }
Same here. The plugin should understand that I'm in a Svelte project, no?
I'm getting this in App.svelte, but not in other .svelte files, weird.
.eslintrc.cjs