-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
50 lines (50 loc) · 1.15 KB
/
.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
41
42
43
44
45
46
47
48
49
50
{
"extends": ["airbnb-base", "prettier"],
"plugins": ["prettier"],
"rules": {
"id-length": 0,
"comma-dangle": 0,
"vars-on-top": 0,
"func-names": 0,
"one-var": 0,
"no-use-before-define": [2, "nofunc"],
"new-cap": [
2,
{"capIsNewExceptions": ["Readable", "Writable", "Extract", "Reader"]}
],
"no-unused-vars": [
2,
{
"varsIgnorePattern": "debug",
"argsIgnorePattern": "(err|settings|options)"
}
],
"object-curly-spacing": [2, "never"],
"space-before-function-paren": [2, "never"],
"consistent-return": 0,
"arrow-body-style": 0,
"arrow-parens": ["error", "as-needed"],
"no-underscore-dangle": 0,
"global-require": 0,
"no-var": 0,
"no-console": 0,
"no-continue": 0,
"prefer-const": 2,
"prefer-template": 0,
"no-param-reassign": 0,
"import/extensions": 0,
"import/newline-after-import": 0,
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"optionalDependencies": false,
"peerDependencies": false
}
]
},
"env": {
"node": true,
"mocha": true
}
}