mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-11-08 22:43:50 +00:00
32 lines
595 B
JavaScript
32 lines
595 B
JavaScript
|
/** @type { import("eslint").Linter.FlatConfig } */
|
||
|
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: 2020,
|
||
|
extraFileExtensions: ['.svelte']
|
||
|
},
|
||
|
env: {
|
||
|
browser: true,
|
||
|
es2017: true,
|
||
|
node: true
|
||
|
},
|
||
|
overrides: [
|
||
|
{
|
||
|
files: ['*.svelte'],
|
||
|
parser: 'svelte-eslint-parser',
|
||
|
parserOptions: {
|
||
|
parser: '@typescript-eslint/parser'
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
};
|