-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
40 lines (40 loc) · 1.06 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-type-checked",
"xo",
"xo-typescript",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/naming-convention": 0,
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-misused-promises": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/consistent-type-definitions": 0,
"capitalized-comments": 0,
"no-negated-condition": 0,
"no-eq-null": 0,
"eqeqeq": ["error", "smart"],
"no-await-in-loop": 0,
"no-constant-binary-expression": "error",
"no-bitwise": 0,
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
"allowString": false,
"allowNumber": false,
"allowNullableObject": false,
"allowNullableBoolean": false,
"allowNullableString": false,
"allowNullableNumber": false,
"allowNullableEnum": false
}
]
},
"ignorePatterns": []
}