You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
621 B
32 lines
621 B
module.exports = { |
|
root: true, |
|
extends: [ |
|
'eslint:recommended', |
|
'plugin:@typescript-eslint/recommended', |
|
'plugin:svelte/recommended', |
|
'prettier' |
|
], |
|
parser: '@typescript-eslint/parser', |
|
plugins: ['@typescript-eslint'], |
|
parserOptions: { |
|
sourceType: 'module', |
|
ecmaVersion: 2022 |
|
}, |
|
env: { |
|
browser: true, |
|
es2022: true, |
|
node: true |
|
}, |
|
overrides: [ |
|
{ |
|
files: ['*.svelte'], |
|
parser: 'svelte-eslint-parser', |
|
parserOptions: { |
|
parser: '@typescript-eslint/parser' |
|
} |
|
} |
|
], |
|
rules: { |
|
'@typescript-eslint/no-explicit-any': 'warn' |
|
} |
|
};
|
|
|