forked from Adyen/adyen-commercetools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (37 loc) · 895 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
{
"extends": ["airbnb-base", "prettier"],
"parserOptions": {
"ecmaVersion": 2021
},
"env": {
"es6": true,
"node": true,
"mocha": true
},
"rules": {
"nonblock-statement-body-position": "off",
"comma-dangle": "off",
"class-methods-use-this": "off",
"max-len": [
2,
120
],
"no-restricted-syntax": [
"error",
"WithStatement"
],
"no-param-reassign": 0,
"no-unused-expressions": "off",
"no-constant-condition": ["error", { "checkLoops": false }],
"no-prototype-builtins": "off",
"arrow-parens": "off",
"no-await-in-loop": "off",
"import/no-extraneous-dependencies": "off",
"no-use-before-define": [ 2, "nofunc" ],
"no-underscore-dangle": "off",
"dot-notation": "off",
"default-param-last": "off",
"import/extensions": "off",
"import/prefer-default-export": "off"
}
}