-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
40 lines (40 loc) · 929 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
38
39
40
{
"env": {
"es6": true,
"node": true
},
"extends": ["airbnb-base"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"arrow-body-style": 0,
"arrow-parens": [2, "as-needed", { "requireForBlockBody": true }],
"comma-dangle": [2, "always-multiline"],
"import/extensions": 0,
"import/prefer-default-export": 0,
"max-len": ["error", {
"code": 120,
"comments": 120,
"ignoreComments": false,
"tabWidth": 2
}],
"no-confusing-arrow": 0,
"no-underscore-dangle": ["error", { "allow": ["__typename"] }],
"semi": [2, "never"]
}
}