-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
I am using intellij idea editor. I am also using the latest 3.1.0 release that supports typescript.
With following code snippet eslint gives "Validation Error". It gives this error specifically for variables used within bindings. I get same errors while running eslint on cli.
Here's my configuration file.
module.exports = {
parserOptions: {
ecmaVersion: 2021,
sourceType: 'module',
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
extraFileExtensions: ['.svelte'],
},
parser: "@typescript-eslint/parser",
env: {
es6: true,
browser: true,
node: true,
},
extends: [
"plugin:@typescript-eslint/recommended",
'plugin:@typescript-eslint/recommended-requiring-type-checking',
],
plugins: [
'svelte3',
"@typescript-eslint",
],
overrides: [
{
files: ['*.svelte'],
processor: 'svelte3/svelte3',
}
],
settings: {
'svelte3/typescript': require('typescript'),
},
};Metadata
Metadata
Assignees
Labels
No labels
