-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.js
35 lines (35 loc) · 830 Bytes
/
.eslintrc.js
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
module.exports = {
"extends": "walmart/configurations/es6-node",
"plugins": [
"import",
"babel",
"mocha"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"mocha/no-exclusive-tests": "error",
"indent": ["error", 4],
"quotes": ["error", "single"],
"no-console": 0,
"max-params": ["error", 4],
"eol-last": 0,
"no-magic-numbers": 0,
"func-style": 0,
"no-use-before-define": 0,
"valid-jsdoc": 0,
"max-len": 0,
"max-nested-callbacks": 0,
"max-statements": 0,
"consistent-return": 0,
"new-cap": 0,
"callback-return": 0
},
"env": {
"node": true,
"es6": true,
"mocha": true
}
};