forked from Crow08/YTBSP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
64 lines (62 loc) · 1.88 KB
/
.eslintrc.json
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
56
57
58
59
60
61
62
63
64
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:all",
"parserOptions": {
"ecmaVersion": 9,
"ecmaFeatures": {
"globalReturn": true
}
},
"rules": {
"semi": 2,
"no-console": "off",
"no-alert": "off",
"no-warning-comments": "off",
"array-bracket-newline": "off",
"array-element-newline": "off",
"brace-style": "off",
"dot-location": "off",
"function-call-argument-newline": "off",
"func-names": "off",
"func-style": "off",
"id-length": "off",
"init-declarations": "off",
"linebreak-style": "off",
"line-comment-position": "off",
"max-len": "off",
"max-lines": "off",
"max-lines-per-function": "off",
"max-params": "off",
"max-statements": "off",
"max-statements-per-line": "off",
"multiline-comment-style": "off",
"multiline-ternary": "off",
"newline-per-chained-call": "off",
"no-extra-parens": "off",
"no-inline-comments": "off",
"no-invalid-this": "off",
"no-magic-numbers": "off",
"no-negated-condition": "off",
"no-plusplus": "off",
"no-tabs": "off",
"no-ternary": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"object-property-newline": "off",
"object-shorthand": "off",
"one-var": "off",
"padded-blocks": "off",
"prefer-destructuring": "off",
"prefer-named-capture-group": "off",
"require-jsdoc": "off",
"sort-keys": "off",
"strict": "off",
"wrap-iife": "off",
"no-unused-vars": "warn",
"space-before-function-paren": ["warn", "never"],
"yoda": ["warn", "always"]
}
}