29 lines
938 B
JSON
29 lines
938 B
JSON
|
{
|
||
|
"root": true,
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"tsconfigRootDir": ".",
|
||
|
"project": ["./tsconfig.json"]
|
||
|
},
|
||
|
"plugins": [
|
||
|
"@typescript-eslint"
|
||
|
],
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:@typescript-eslint/eslint-recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"plugin:@typescript-eslint/recommended-requiring-type-checking"
|
||
|
],
|
||
|
"rules": {
|
||
|
"@typescript-eslint/no-extra-parens": "error",
|
||
|
"@typescript-eslint/semi": "error",
|
||
|
"curly": "error",
|
||
|
"@typescript-eslint/indent": ["error", 4],
|
||
|
"arrow-parens": ["error", "as-needed"],
|
||
|
"@typescript-eslint/no-unused-vars": "off",
|
||
|
"@typescript-eslint/no-empty-function": "off",
|
||
|
"@typescript-eslint/no-use-before-define": "off",
|
||
|
"quotes": ["error", "single"],
|
||
|
"eol-last": ["error", "always"]
|
||
|
}
|
||
|
}
|