forked from exceljs/exceljs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 1.7 KB
/
.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"parserOptions": {
"sourceType": "script"
},
"extends": [
"airbnb-base",
"prettier",
"plugin:node/recommended"
],
"env": {
"es6": true,
"mocha": true,
"node": true
},
"rules": {
"comma-dangle": ["error", {"arrays": "always-multiline", "objects": "always-multiline", "imports": "always-multiline", "exports": "always-multiline", "functions": "never"}],
"func-names": ["off", "never"],
"global-require": ["off"],
"max-len": ["error", {"code": 160, "ignoreComments": true}],
"no-mixed-operators": ["off"],
"no-multi-assign": ["off"],
"no-param-reassign": ["off"],
"no-path-concat": ["off"],
"no-plusplus": ["off"],
"no-prototype-builtins": ["off"],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"no-underscore-dangle": ["error", { "allowAfterThis": true, "allowAfterSuper": true }],
"no-use-before-define": ["error", { "variables": false, "classes": false, "functions": false }],
"object-property-newline": ["off", { "allowMultiplePropertiesPerLine": true }],
"prefer-destructuring": ["warn", {"array": false, "object": true}],
"prefer-rest-params": ["off"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"space-before-function-paren": ["error", {"anonymous": "never", "named": "never", "asyncArrow": "always"}],
"strict": ["off"],
"class-methods-use-this": ["off"],
"no-return-assign": ["off"],
"no-continue": ["off"],
"default-case": ["off"],
"object-curly-spacing": ["error", "never"],
"node/process-exit-as-throw": ["off"],
"prefer-object-spread": ["off"],
"no-unused-vars": ["error", {"vars": "all", "args": "none", "ignoreRestSiblings": true}]
}
}