52 lines
796 B
JSON
52 lines
796 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
2,
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single",
|
|
{
|
|
"avoidEscape": true
|
|
}
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"no-prototype-builtins": "off",
|
|
"no-constant-condition": [
|
|
"error",
|
|
{
|
|
"checkLoops": false
|
|
}
|
|
]
|
|
},
|
|
"ignorePatterns": [
|
|
"dist/*"
|
|
]
|
|
} |