UNPKG

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