2024-02-04 04:39:13 +00:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/strict"
|
|
|
|
],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": "latest",
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
2024-07-20 06:38:12 +00:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": ["*.svelte"],
|
|
|
|
"parser": "svelte-eslint-parser"
|
|
|
|
}
|
|
|
|
],
|
2024-02-04 04:39:13 +00:00
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
4
|
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"strict": "error",
|
|
|
|
"array-bracket-newline": "error",
|
|
|
|
"yoda": "error",
|
2024-04-22 18:52:51 +00:00
|
|
|
"@typescript-eslint/array-type": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"default": "generic"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@typescript-eslint/ban-tslint-comment": "off",
|
|
|
|
"@typescript-eslint/no-non-null-assertion": "off"
|
2024-02-04 04:39:13 +00:00
|
|
|
}
|
2024-07-12 22:56:04 +00:00
|
|
|
}
|