-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
24 lines (24 loc) · 830 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
{
"extends": "airbnb-base",
"parserOptions": {
"sourceType": "script" // ES6 modules not supported in node... yet
},
"env": {
"node": true,
"mocha": true
},
"globals": {
"expect": true
},
"rules": {
"indent": ["error", "tab"],
"no-tabs": "off",
"no-console": "off", // rule mostly intended for client side
"func-names": "off", // double-name properties of module.exports?
"consistent-return": "off", // seems unnecessary in express routes
"no-use-before-define": ["error", "nofunc"], // functions are ok
"comma-dangle": "off", // I like this in principle
"max-len": "off", // long lines can be readable
"arrow-body-style": "off" // some one statement lines are more readable as a block
}
}