-
Notifications
You must be signed in to change notification settings - Fork 29
/
.eslintrc.json
32 lines (32 loc) · 781 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
28
29
30
31
32
{
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"plugins": ["@typescript-eslint", "prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018,
"project": "./tsconfig.eslint.json"
},
"env": {
"browser": true
},
"rules": {
"@typescript-eslint/no-unsafe-declaration-merging": "off"
},
"overrides": [
{
"files": [ "src/test/*.test.ts" ],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/ban-ts-comment": ["error", {
"ts-expect-error": false
}]
}
}
]
}