-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
37 lines (37 loc) · 882 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
33
34
35
36
37
{
"extends": [
"airbnb-typescript/base",
"plugin:jest/recommended"
],
"plugins": ["jest"],
"parser": "@typescript-eslint/parser",
"rules": {
"indent": ["error", 2],
"@typescript-eslint/indent": ["error", 2],
"max-classes-per-file": ["off"],
"no-underscore-dangle": ["off"],
"prefer-template": ["off"],
"class-methods-use-this": ["off"],
"no-plusplus": ["off"],
"no-bitwise": ["off"],
"lines-between-class-members": ["off"],
"object-curly-newline": ["off"],
"max-len": ["error", { "code": 120 }]
},
"parserOptions": {
"project": ["./src/tsconfig.lib.json", "./test/tsconfig.test.json"],
"ecmaFeatures": {
"modules": true
}
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"env": {
"jest/globals": true
}
}