@@ -13,60 +13,59 @@ rules:
13
13
no-dupe-keys: 2
14
14
no-duplicate-case: 2
15
15
no-empty-character-class: 2
16
- no-ex-assign: 1
17
- no-extra-boolean-cast: 1
18
- no-extra-parens: 1
19
- no-extra-semi: 1
20
- no-func-assign: 1
21
- no-inner-declarations: 1
22
- no-invalid-regexp: 1
23
- no-irregular-whitespace: 1
24
- no-negated-in-lhs: 1
25
- no-obj-calls: 1
26
- no-regex-spaces: 1
27
- no-sparse-arrays: 1
28
- no-unreachable: 1
29
- use-isnan: 1
16
+ no-ex-assign: 2
17
+ no-extra-boolean-cast: 2
18
+ no-extra-parens: 2
19
+ no-extra-semi: 2
20
+ no-func-assign: 2
21
+ no-inner-declarations: 2
22
+ no-invalid-regexp: 2
23
+ no-irregular-whitespace: 2
24
+ no-negated-in-lhs: 2
25
+ no-obj-calls: 2
26
+ no-regex-spaces: 2
27
+ no-sparse-arrays: 2
28
+ no-unreachable: 2
29
+ use-isnan: 2
30
30
valid-typeof: 2
31
- no-unexpected-multiline: 1
32
- no-cond-assign: 1
33
- no-constant-condition: 1
34
- no-control-regex: 1
35
- no-debugger: 1
31
+ no-unexpected-multiline: 2
32
+ no-cond-assign: 2
33
+ no-constant-condition: 2
34
+ no-control-regex: 2
35
+ no-debugger: 2
36
36
# code style
37
- consistent-return: 1
38
- curly: 1
39
- default-case: 1
40
- dot-notation: 1
41
- dot-location: [1 , "property"]
42
- eqeqeq: 1
43
- no-else-return: 1
44
- no-lone-blocks: 1
45
- no-loop-func: 1
46
- no-multi-spaces: 1
47
- no-multi-str: 1
48
- no-proto: 1
49
- no-redeclare: 1
50
- no-return-assign: 1
51
- no-sequences: 1
52
- no-throw-literal: 1
53
- no-unused-expressions: 1
54
- no-void: 1
55
- no-warning-comments: [1 , { "terms": ["todo", "fixme", "xxx"], "location": "start" }]
56
- no-with: 1
57
- radix: 1
58
- no-delete-var: 1
59
- no-shadow-restricted-names: 1
60
- no-shadow: 1
37
+ consistent-return: 0
38
+ curly: 2
39
+ default-case: 2
40
+ dot-notation: 2
41
+ dot-location: [2 , "property"]
42
+ eqeqeq: [2, "allow-null"]
43
+ no-else-return: 2
44
+ no-lone-blocks: 2
45
+ no-loop-func: 2
46
+ no-multi-spaces: 2
47
+ no-multi-str: 2
48
+ no-proto: 2
49
+ no-redeclare: 2
50
+ no-return-assign: 2
51
+ no-sequences: 2
52
+ no-throw-literal: 2
53
+ no-unused-expressions: 2
54
+ no-void: 2
55
+ no-warning-comments: [2 , { "terms": ["todo", "fixme", "xxx"], "location": "start" }]
56
+ no-with: 2
57
+ radix: 2
58
+ no-delete-var: 2
59
+ no-shadow-restricted-names: 2
60
+ no-shadow: 2
61
61
no-undef: 2
62
- no-unused-vars: 1
63
- brace-style: [1, "1tbs", { "allowSingleLine": true }]
64
- comma-spacing: 1
65
- comma-style: 1
66
- consistent-this: [2, "self"]
62
+ no-unused-vars: 2
63
+ brace-style: [2, "1tbs", { "allowSingleLine": true }]
64
+ comma-spacing: 2
65
+ comma-style: 2
67
66
indent: [2, 2]
68
- key-spacing: 1
69
- max-nested-callbacks: [2, 7 ]
67
+ key-spacing: 2
68
+ max-nested-callbacks: [2, 5 ]
70
69
no-lonely-if: 2
71
70
no-mixed-spaces-and-tabs: 2
72
71
no-nested-ternary: 2
76
75
operator-linebreak: 2
77
76
quote-props: [2, "as-needed"]
78
77
quotes: [2, "single", "avoid-escape"]
79
- semi: [2, "always "]
78
+ semi: [2, "never "]
80
79
space-after-keywords: 2
81
80
space-before-blocks: 2
82
81
space-infix-ops: 2
0 commit comments