-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
61 lines (61 loc) · 1.27 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"root": true,
"extends": [
"airbnb/base"
],
"plugins": [
"@typescript-eslint",
"jest"
],
"parser": "@typescript-eslint/parser",
"rules": {
"class-methods-use-this": "off",
"no-console": "off",
"max-len": [
"error",
{
"code": 100,
"ignoreStrings": true
}
],
"implicit-arrow-linebreak": "off",
"import/no-unresolved": 0,
"import/prefer-default-export": 0,
"indent": [
2,
2,
{
"flatTernaryExpressions": true
}
],
"no-unused-vars": "off",
"no-undef": "error",
"no-tabs": "error",
"no-param-reassign": "off",
"no-nested-ternary": 0,
"import/extensions": 0,
"arrow-parens": [
"error",
"as-needed"
],
"operator-linebreak": 0,
"no-underscore-dangle": 0,
"import/no-extraneous-dependencies": ["error", { "devDependencies": ["**/*.test.*"] }],
"@typescript-eslint/no-unused-vars": [
"error"
],
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error"
},
"env": {
"node": true,
"jest/globals": true
},
"ignorePatterns": [
"lib/**/*",
"esm/**/*"
]
}