-
Notifications
You must be signed in to change notification settings - Fork 39
/
.eslintrc
38 lines (38 loc) · 919 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
36
37
38
{
"env": {
"es6": true,
"node": true
},
"extends": ["airbnb-base", "plugin:prettier/recommended", "plugin:cypress/recommended", "plugin:jest/recommended"],
"parserOptions": {
"ecmaVersion": 2018
},
"plugins": ["prettier", "jest"],
"rules": {
"prettier/prettier": 2,
"no-unused-expressions": [
"error",
{ "allowTernary": true, "allowShortCircuit": true }
],
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"no-restricted-globals": 0,
"prefer-destructuring": 0,
"import/no-cycle": 0,
"import/named": 0,
"no-else-return": 0,
"lines-between-class-members": 0,
"import/no-useless-path-segments": 0,
"no-invalid-this": 0,
"prefer-object-spread": 0,
"no-console": 0
},
"overrides": [
{
"files": ["example/integration/*.js"],
"rules": {
"jest/global": 0
}
}
]
}