-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
28 lines (28 loc) · 866 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
{
"extends": ["standard"],
"parserOptions": {
"ecmaVersion": 2017
},
"rules": {
// these are only here because I did not
// want to update the entire codebase ¯\_(ツ)_/¯
"func-names": 0,
"no-var": 0,
"func-style": 0,
"comma-dangle": 0,
"valid-jsdoc": 0,
"vars-on-top": 0,
"complexity": ["error", { "max": 13 }],
// Overrides
"semi": ["error", "always"],
"object-curly-spacing": ["error", "always"],
"array-bracket-spacing": ["error", "always", { "objectsInArrays": false }],
"brace-style": ["error", "stroustrup"],
"prefer-arrow-callback": 0,
"prefer-template": 0,
"space-before-function-paren": 0,
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
"indent": ["error", 2, { "SwitchCase": 1 }]
}
}