-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.js
55 lines (50 loc) · 1.28 KB
/
.eslintrc.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
"use strict";
module.exports = {
ignorePatterns: [
"!.*",
"*.min.js"
],
extends: "eslint:all",
env: {
node: true,
amd: true,
browser: true
},
rules: {
"array-bracket-newline": "off",
"array-element-newline": "off",
"func-names": "off",
"function-call-argument-newline": "off",
"max-depth": "off",
"max-len": "off",
"max-lines-per-function": "off",
"max-lines": "off",
"max-params": "off",
"max-statements": "off",
"multiline-ternary": "off",
"no-invalid-this": "off",
"no-loop-func": "off",
"no-magic-numbers": "off",
"no-ternary": "off",
"no-var": "off",
"no-continue": "off",
"one-var": "off",
"padded-blocks": "off",
"prefer-arrow-callback": "off",
"prefer-destructuring": "off",
"prefer-object-spread": "off",
"prefer-rest-params": "off",
"prefer-template": "off",
"quote-props": "off",
"require-unicode-regexp": "off",
"sort-keys": "off",
"vars-on-top": "off"
},
overrides: [{
files: "cli.js",
rules: {
"no-console": "off",
"no-process-exit": "off"
}
}]
};