-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoverrides.js
34 lines (34 loc) · 894 Bytes
/
overrides.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
module.exports = {
"env": {
"es6": true,
"browser": false
},
"extends": "airbnb-base",
"rules": {
"brace-style": ["error", "1tbs"],
"comma-dangle": ["error", "never"],
"func-names": 0,
"indent": ["error", 4, { "SwitchCase": 1 }],
"max-len": [2, 180, 4, {
"ignoreUrls": true,
"ignoreComments": false
}],
"no-underscore-dangle": 0,
"no-unused-vars": ["warn"],
"no-use-before-define": ["error", { "functions": false }],
"no-var": ["error"],
"one-var": ["error", { "initialized": "never" }],
"padded-blocks": 0,
"prefer-arrow-callback": ["error"],
"require-jsdoc": ["warn", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true
}
}],
"space-before-function-paren": "off",
"strict": "off",
"valid-jsdoc": ["error"]
}
};