-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
27 lines (27 loc) · 885 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": ["tsconfig.json"]
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked"
],
"rules": {
"@typescript-eslint/restrict-template-expressions": ["error", { "allowNumber": true }],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/consistent-type-imports": [
"warn",
{ "prefer": "type-imports", "fixStyle": "inline-type-imports" }
],
"no-useless-escape": "off",
"no-control-regex": "off",
"no-cond-assign": "off"
}
}