-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc
26 lines (26 loc) · 712 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
{
"extends": "@stoplight",
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"no-param-reassign": "off",
"@typescript-eslint/strict-boolean-expressions": "error",
"@typescript-eslint/prefer-nullish-coalescing": "error",
"@typescript-eslint/prefer-for-of": "error",
"@typescript-eslint/no-throw-literal": "error",
"@typescript-eslint/prefer-optional-chain": "error",
"@typescript-eslint/no-floating-promises": ["error", { "ignoreVoid": true }],
"no-console": "error",
"no-undefined": "error"
},
"overrides": [
{
"files": ["*.spec.{ts,tsx}"],
"env": {
"jest": true
}
}
]
}