2023-06-12 19:02:49 +01:00
|
|
|
module.exports = {
|
2023-07-07 11:15:49 +01:00
|
|
|
root: true,
|
|
|
|
extends: ['eslint:recommended', 'plugin:svelte/recommended', 'prettier'],
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
"files": ["**/*.svelte"]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
parserOptions: {
|
|
|
|
sourceType: 'module',
|
|
|
|
ecmaVersion: 2020,
|
|
|
|
extraFileExtensions: ['.svelte']
|
|
|
|
},
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2017: true,
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
indent: ['error', 2, {SwitchCase: 2}],
|
|
|
|
}
|
2023-06-12 19:02:49 +01:00
|
|
|
};
|