31 lines
879 B
Plaintext
31 lines
879 B
Plaintext
|
{
|
||
|
"root": true,
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"project": "./tsconfig.json",
|
||
|
"sourceType": "module"
|
||
|
},
|
||
|
"plugins": ["@typescript-eslint"],
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:@typescript-eslint/eslint-recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
||
|
"plugin:prettier/recommended"
|
||
|
],
|
||
|
"rules": {
|
||
|
"max-len": ["error", {"code": 120, "ignoreComments": true, "ignoreTemplateLiterals": true}],
|
||
|
"no-console": "error",
|
||
|
"semi": [ "error", "always" ],
|
||
|
"sort-imports": [
|
||
|
"error",
|
||
|
{
|
||
|
"ignoreCase": false,
|
||
|
"ignoreDeclarationSort": false,
|
||
|
"ignoreMemberSort": false,
|
||
|
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"],
|
||
|
"allowSeparatedGroups": false
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|