复制代码
1 "no-alert": 0,
2 "no-array-constructor": 2,
3 "no-bitwise": 0,
4 "no-caller": 1,
5 "no-catch-shadow": 2,
6 "no-class-assign": 2,
7 "no-cond-assign": 2,
8 "no-console": 2,
9 "no-const-assign": 2,
10 "no-constant-condition": 2,
11 "no-continue": 0,
12 "no-control-regex": 2,
13 "no-debugger": 2,
14 "no-delete-var": 2,
15 "no-div-regex": 1,
16 "no-dupe-keys": 2,
17 "no-dupe-args": 2,
18 "no-duplicate-case": 2,
19 "no-else-return": 2,
20 "no-empty": 2,
21 "no-empty-character-class": 2,
22 "no-empty-label": 2,
23 "no-eq-null": 2,
24 "no-eval": 1,
25 "no-ex-assign": 2,
26 "no-extend-native": 2,
27 "no-extra-bind": 2,
28 "no-extra-boolean-cast": 2,
29 "no-extra-parens": 2,
30 "no-extra-semi": 2,
31 "no-fallthrough": 1,
32 "no-floating-decimal": 2,
33 "no-func-assign": 2,
34 "no-implicit-coercion": 1,
35 "no-implied-eval": 2,
36 "no-inline-comments": 0,
37 "no-inner-declarations": [2, "functions"],
38 "no-invalid-regexp": 2,
39 "no-invalid-this": 2,
40 "no-irregular-whitespace": 2,
41 "no-iterator": 2,
42 "no-label-var": 2,
43 "no-labels": 2,
44 "no-lone-blocks": 2,
45 "no-lonely-if": 2,
46 "no-loop-func": 1,
47 "no-mixed-requires": [0, false],
48 "no-mixed-spaces-and-tabs": [2, false],
49 "linebreak-style": [0, "windows"],
50 "no-multi-spaces": 1,
51 "no-multi-str": 2,
52 "no-multiple-empty-lines": [1, {"max": 2}],
53 "no-native-reassign": 2,
54 "no-negated-in-lhs": 2,
55 "no-nested-ternary": 0,
56 "no-new": 1,
57 "no-new-func": 1,
58 "no-new-object": 2,
59 "no-new-require": 2,
60 "no-new-wrappers": 2,
61 "no-obj-calls": 2,
62 "no-octal": 2,
63 "no-octal-escape": 2,
64 "no-param-reassign": 2,
65 "no-path-concat": 0,
66 "no-plusplus": 0,
67 "no-process-env": 0,
68 "no-process-exit": 0,
69 "no-proto": 2,
70 "no-redeclare": 2,
71 "no-regex-spaces": 2,
72 "no-restricted-modules": 0,
73 "no-return-assign": 1,
74 "no-script-url": 0,
75 "no-self-compare": 2,
76 "no-sequences": 0,
77 "no-shadow": 2,
78 "no-shadow-restricted-names": 2,
79 "no-spaced-func": 2,
80 "no-sparse-arrays": 2,
81 "no-sync": 0,
82 "no-ternary": 0,
83 "no-trailing-spaces": 1,
84 "no-this-before-super": 0,
85 "no-throw-literal": 2,
86 "no-undef": 1,
87 "no-undef-init": 2,
88 "no-undefined": 2,
89 "no-unexpected-multiline": 2,
90 "no-underscore-dangle": 1,
91 "no-unneeded-ternary": 2,
92 "no-unreachable": 2,
93 "no-unused-expressions": 2,
94 "no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
95 "no-use-before-define": 2,
96 "no-useless-call": 2,
97 "no-void": 2,
98 "no-var": 0,
99 "no-warning-comments": [1, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
100 "no-with": 2,
101
102 "array-bracket-spacing": [2, "never"],
103 "arrow-parens": 0,
104 "arrow-spacing": 0,
105 "accessor-pairs": 0,
106 "block-scoped-var": 0,
107 "brace-style": [1, "1tbs"],
108 "callback-return": 1,
109 "camelcase": 2,
110 "comma-dangle": [2, "never"],
111 "comma-spacing": 0,
112 "comma-style": [2, "last"],
113 "complexity": [0, 11],
114 "computed-property-spacing": [0, "never"],
115 "consistent-return": 0,
116 "consistent-this": [2, "that"],
117 "constructor-super": 0,
118 "curly": [2, "all"],
119 "default-case": 2,
120 "dot-location": 0,
121 "dot-notation": [0, { "allowKeywords": true }],
122 "eol-last": 0,
123 "eqeqeq": 2,
124 "func-names": 0,
125 "func-style": [0, "declaration"],
126 "generator-star-spacing": 0,
127 "guard-for-in": 0,
128 "handle-callback-err": 0,
129 "id-length": 0,
130 "indent": [2, 4],
131 "init-declarations": 0,
132 "key-spacing": [0, { "beforeColon": false, "afterColon": true }],
133 "lines-around-comment": 0,
134 "max-depth": [0, 4],
135 "max-len": [0, 80, 4],
136 "max-nested-callbacks": [0, 2],
137 "max-params": [0, 3],
138 "max-statements": [0, 10],
139 "new-cap": 2,
140 "new-parens": 2,
141 "newline-after-var": 2,
142 "object-curly-spacing": [0, "never"],
143 "object-shorthand": 0,
144 "one-var": 1,
145 "operator-assignment": [0, "always"],
146 "operator-linebreak": [2, "after"],
147 "padded-blocks": 0,
148 "prefer-const": 0,
149 "prefer-spread": 0,
150 "prefer-reflect": 0,
151 "quotes": [1, "single"],
152 "quote-props":[2, "always"],
153 "radix": 2,
154 "id-match": 0,
155 "require-yield": 0,
156 "semi": [2, "always"],
157 "semi-spacing": [0, {"before": false, "after": true}],
158 "sort-vars": 0,
159 "space-after-keywords": [0, "always"],
160 "space-before-blocks": [0, "always"],
161 "space-before-function-paren": [0, "always"],
162 "space-in-parens": [0, "never"],
163 "space-infix-ops": 0,
164 "space-return-throw-case": 2,
165 "space-unary-ops": [0, { "words": true, "nonwords": false }],
166 "spaced-comment": 0,
167 "strict": 2,
168 "use-isnan": 2,
169 "valid-jsdoc": 0,
170 "valid-typeof": 2,
171 "vars-on-top": 2,
172 "wrap-iife": [2, "inside"],
173 "wrap-regex": 0,
174 "yoda": [2, "never"]