-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
35 lines (35 loc) · 911 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
28
29
30
31
32
33
34
35
{
"extends": [
"./packages/eslint/base.js"
],
"rules": {
"no-console": 2,
"@typescript-eslint/sort-type-union-intersection-members": 0,
"@typescript-eslint/no-unused-vars": 1,
"import/no-unresolved": 0,
"import/extensions": 0,
"@typescript-eslint/no-shadow": 1,
"no-nested-ternary":0,
"@typescript-eslint/require-await": 0
},
"ignorePatterns":[
"**/*.generated/**/*.ts",
"*.js"
],
"overrides": [
{
"files": ["*.graphql"],
"rules": {
"comment-length/limit-single-line-comments": 0
}
},
{
"files": ["*.ts", "*.tsx"],
"rules": {
"@typescript-eslint/no-unsafe-enum-comparison": 1,
"@typescript-eslint/no-redundant-type-constituents": 1
},
"excludedFiles": ["**/*.generated/**/*.ts"]
}
]
}