forked from mlipscombe/postgraphile-plugin-nested-mutations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
40 lines (40 loc) · 826 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
{
"extends": ["airbnb-base", "prettier"],
"plugins": ["prettier"],
"env": {
"jest": true
},
"globals": {
"expect": false,
"jasmine": false
},
"rules": {
"prettier/prettier": "error",
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"import/prefer-default-export": 0,
"max-len": 0,
"symbol-description": 0,
"no-nested-ternary": 0,
"no-alert": 0,
"no-console": 0,
"no-plusplus": 0,
"no-restricted-globals": 0,
"no-underscore-dangle": [
"error",
{
"allow": ["_fields"]
}
],
"no-return-assign": ["error", "except-parens"],
"class-methods-use-this": 0,
"prefer-destructuring": [
"error",
{
"object": true,
"array": false
}
]
}
}