forked from exceljs/exceljs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
42 lines (42 loc) · 1.49 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
{
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "script"
},
"extends": [
"airbnb",
"prettier"
],
"parser": "babel-eslint",
"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": ["error", {"allowSamePrecedence": true}],
"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", "never"],
"strict": ["off"],
"class-methods-use-this": ["off"],
"no-return-assign": ["off"],
"default-case": ["off"],
"object-curly-spacing": ["error", "never"]
}
}