-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
27 lines (27 loc) · 829 Bytes
/
.eslintrc
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",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/array-type": ["error", {"default": "array-simple"}],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-inferrable-types": ["error", { "ignoreProperties": true }],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/semi": ["error", "never"],
"comma-dangle": "error",
"indent": ["error", 2],
"no-redeclare": "error",
"no-shadow": "off",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"quotes": "error"
}
}