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