linted 16.12.2-rc.0 → 16.12.2-rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) hide show
  1. package/dist/rules/html/{_enable.d.ts → enable.d.ts} +1 -1
  2. package/dist/rules/html/enable.d.ts.map +1 -0
  3. package/dist/rules/html/enable.js +15 -0
  4. package/dist/rules/html/enable.js.map +1 -0
  5. package/dist/rules/{mocha/_recommended.d.ts → html/enable_recommended.d.ts} +1 -1
  6. package/dist/rules/html/enable_recommended.d.ts.map +1 -0
  7. package/dist/rules/html/enable_recommended.js +8 -0
  8. package/dist/rules/html/enable_recommended.js.map +1 -0
  9. package/dist/rules/{_html.d.ts → html.d.ts} +1 -1
  10. package/dist/rules/html.d.ts.map +1 -0
  11. package/dist/rules/html.js +4 -0
  12. package/dist/rules/html.js.map +1 -0
  13. package/dist/rules/js/{_enable.d.ts → enable.d.ts} +1 -1
  14. package/dist/rules/js/{_enable.d.ts.map → enable.d.ts.map} +1 -1
  15. package/dist/rules/js/{_enable.js → enable.js} +281 -45
  16. package/dist/rules/js/enable.js.map +1 -0
  17. package/dist/rules/js/{stylistic.d.ts → enable_stylistic.d.ts} +25 -25
  18. package/dist/rules/js/{stylistic.d.ts.map → enable_stylistic.d.ts.map} +1 -1
  19. package/dist/rules/js/enable_stylistic.js +585 -0
  20. package/dist/rules/js/enable_stylistic.js.map +1 -0
  21. package/dist/rules/{_js.d.ts → js.d.ts} +25 -25
  22. package/dist/rules/{_js.d.ts.map → js.d.ts.map} +1 -1
  23. package/dist/rules/js.js +4 -0
  24. package/dist/rules/js.js.map +1 -0
  25. package/dist/rules/json/{_enable.d.ts → enable.d.ts} +1 -1
  26. package/dist/rules/json/enable.d.ts.map +1 -0
  27. package/dist/rules/json/{_enable.js → enable.js} +3 -3
  28. package/dist/rules/json/enable.js.map +1 -0
  29. package/dist/rules/json/enable_x.d.ts.map +1 -1
  30. package/dist/rules/json/enable_x.js +48 -8
  31. package/dist/rules/json/enable_x.js.map +1 -1
  32. package/dist/rules/{_json.d.ts → json.d.ts} +1 -1
  33. package/dist/rules/json.d.ts.map +1 -0
  34. package/dist/rules/{_json.js → json.js} +2 -2
  35. package/dist/rules/json.js.map +1 -0
  36. package/dist/rules/jsonc/override.d.ts.map +1 -1
  37. package/dist/rules/jsonc/override.js +12 -3
  38. package/dist/rules/jsonc/override.js.map +1 -1
  39. package/dist/rules/{_jsonc.d.ts → jsonc.d.ts} +1 -1
  40. package/dist/rules/jsonc.d.ts.map +1 -0
  41. package/dist/rules/{_jsonc.js → jsonc.js} +2 -2
  42. package/dist/rules/jsonc.js.map +1 -0
  43. package/dist/rules/md/{_enable.d.ts → enable.d.ts} +1 -1
  44. package/dist/rules/md/enable.d.ts.map +1 -0
  45. package/dist/rules/md/enable.js +14 -0
  46. package/dist/rules/md/enable.js.map +1 -0
  47. package/dist/rules/{_md.d.ts → md.d.ts} +1 -1
  48. package/dist/rules/md.d.ts.map +1 -0
  49. package/dist/rules/md.js +3 -0
  50. package/dist/rules/md.js.map +1 -0
  51. package/dist/rules/mocha/{_enable.d.ts → enable.d.ts} +1 -1
  52. package/dist/rules/mocha/enable.d.ts.map +1 -0
  53. package/dist/rules/mocha/enable.js +3 -0
  54. package/dist/rules/mocha/enable.js.map +1 -0
  55. package/dist/rules/{html/_recommended.d.ts → mocha/enable_recommended.d.ts} +1 -1
  56. package/dist/rules/mocha/enable_recommended.d.ts.map +1 -0
  57. package/dist/rules/mocha/enable_recommended.js +8 -0
  58. package/dist/rules/mocha/enable_recommended.js.map +1 -0
  59. package/dist/rules/{_mocha.d.ts → mocha.d.ts} +1 -1
  60. package/dist/rules/mocha.d.ts.map +1 -0
  61. package/dist/rules/mocha.js +4 -0
  62. package/dist/rules/mocha.js.map +1 -0
  63. package/dist/rules/svelte/disable.d.ts +5 -0
  64. package/dist/rules/svelte/disable.d.ts.map +1 -0
  65. package/dist/rules/svelte/disable.js +8 -0
  66. package/dist/rules/svelte/disable.js.map +1 -0
  67. package/dist/rules/svelte/disable_js.d.ts.map +1 -1
  68. package/dist/rules/svelte/disable_js.js +8 -3
  69. package/dist/rules/svelte/disable_js.js.map +1 -1
  70. package/dist/rules/svelte/disable_ts.d.ts.map +1 -1
  71. package/dist/rules/svelte/disable_ts.js +8 -3
  72. package/dist/rules/svelte/disable_ts.js.map +1 -1
  73. package/dist/rules/svelte/{_enable.d.ts → enable.d.ts} +1 -1
  74. package/dist/rules/svelte/enable.d.ts.map +1 -0
  75. package/dist/rules/svelte/enable.js +190 -0
  76. package/dist/rules/svelte/enable.js.map +1 -0
  77. package/dist/rules/svelte/enable_x.d.ts.map +1 -1
  78. package/dist/rules/svelte/enable_x.js +15 -3
  79. package/dist/rules/svelte/enable_x.js.map +1 -1
  80. package/dist/rules/{_svelte.d.ts → svelte.d.ts} +27 -27
  81. package/dist/rules/{_svelte.d.ts.map → svelte.d.ts.map} +1 -1
  82. package/dist/rules/{_svelte.js → svelte.js} +4 -4
  83. package/dist/rules/svelte.js.map +1 -0
  84. package/dist/rules/ts/{disable_compiler.d.ts → disable.d.ts} +2 -2
  85. package/dist/rules/ts/disable.d.ts.map +1 -0
  86. package/dist/rules/ts/{disable_compiler.js → disable.js} +3 -4
  87. package/dist/rules/ts/disable.js.map +1 -0
  88. package/dist/rules/ts/disable_x.d.ts.map +1 -1
  89. package/dist/rules/ts/disable_x.js +1 -2
  90. package/dist/rules/ts/disable_x.js.map +1 -1
  91. package/dist/rules/ts/{_enable.d.ts → enable.d.ts} +1 -1
  92. package/dist/rules/ts/enable.d.ts.map +1 -0
  93. package/dist/rules/ts/{_enable.js → enable.js} +173 -29
  94. package/dist/rules/ts/enable.js.map +1 -0
  95. package/dist/rules/ts/enable_x.d.ts.map +1 -1
  96. package/dist/rules/ts/enable_x.js +32 -5
  97. package/dist/rules/ts/enable_x.js.map +1 -1
  98. package/dist/rules/{_ts.d.ts → ts.d.ts} +26 -26
  99. package/dist/rules/{_ts.d.ts.map → ts.d.ts.map} +1 -1
  100. package/dist/rules/{_ts.js → ts.js} +4 -4
  101. package/dist/rules/ts.js.map +1 -0
  102. package/dist/rules/yml/{_enable.d.ts → enable.d.ts} +1 -1
  103. package/dist/rules/yml/enable.d.ts.map +1 -0
  104. package/dist/rules/yml/enable.js +60 -0
  105. package/dist/rules/yml/enable.js.map +1 -0
  106. package/dist/rules/yml/enable_x.d.ts.map +1 -1
  107. package/dist/rules/yml/enable_x.js +57 -9
  108. package/dist/rules/yml/enable_x.js.map +1 -1
  109. package/dist/rules/{_yml.d.ts → yml.d.ts} +1 -1
  110. package/dist/rules/yml.d.ts.map +1 -0
  111. package/dist/rules/{_yml.js → yml.js} +2 -2
  112. package/dist/rules/yml.js.map +1 -0
  113. package/dist/rules.d.ts +75 -75
  114. package/dist/rules.js +9 -9
  115. package/dist/rules.js.map +1 -1
  116. package/package.json +2 -2
  117. package/src/rules/html/enable.ts +16 -0
  118. package/src/rules/html/enable_recommended.ts +9 -0
  119. package/src/rules/html.ts +4 -0
  120. package/src/rules/js/enable.ts +524 -0
  121. package/src/rules/js/enable_stylistic.ts +608 -0
  122. package/src/rules/js.ts +4 -0
  123. package/src/rules/json/{_enable.ts → enable.ts} +3 -5
  124. package/src/rules/json/enable_x.ts +48 -9
  125. package/src/rules/{_json.ts → json.ts} +1 -1
  126. package/src/rules/jsonc/override.ts +13 -6
  127. package/src/rules/{_jsonc.ts → jsonc.ts} +1 -1
  128. package/src/rules/md/enable.ts +15 -0
  129. package/src/rules/md.ts +3 -0
  130. package/src/rules/mocha/enable.ts +3 -0
  131. package/src/rules/mocha/enable_recommended.ts +9 -0
  132. package/src/rules/mocha.ts +4 -0
  133. package/src/rules/svelte/disable.ts +9 -0
  134. package/src/rules/svelte/disable_js.ts +10 -6
  135. package/src/rules/svelte/disable_ts.ts +8 -4
  136. package/src/rules/svelte/{_enable.ts → enable.ts} +120 -21
  137. package/src/rules/svelte/enable_x.ts +15 -4
  138. package/src/rules/{_svelte.ts → svelte.ts} +3 -3
  139. package/src/rules/ts/{disable_compiler.ts → disable.ts} +3 -4
  140. package/src/rules/ts/disable_x.ts +2 -6
  141. package/src/rules/ts/{_enable.ts → enable.ts} +176 -33
  142. package/src/rules/ts/enable_x.ts +37 -12
  143. package/src/rules/{_ts.ts → ts.ts} +3 -3
  144. package/src/rules/yml/{_enable.ts → enable.ts} +38 -7
  145. package/src/rules/yml/enable_x.ts +56 -9
  146. package/src/rules/{_yml.ts → yml.ts} +1 -1
  147. package/src/rules.ts +9 -9
  148. package/dist/rules/_html.d.ts.map +0 -1
  149. package/dist/rules/_html.js +0 -4
  150. package/dist/rules/_html.js.map +0 -1
  151. package/dist/rules/_js.js +0 -4
  152. package/dist/rules/_js.js.map +0 -1
  153. package/dist/rules/_json.d.ts.map +0 -1
  154. package/dist/rules/_json.js.map +0 -1
  155. package/dist/rules/_jsonc.d.ts.map +0 -1
  156. package/dist/rules/_jsonc.js.map +0 -1
  157. package/dist/rules/_md.d.ts.map +0 -1
  158. package/dist/rules/_md.js +0 -3
  159. package/dist/rules/_md.js.map +0 -1
  160. package/dist/rules/_mocha.d.ts.map +0 -1
  161. package/dist/rules/_mocha.js +0 -4
  162. package/dist/rules/_mocha.js.map +0 -1
  163. package/dist/rules/_svelte.js.map +0 -1
  164. package/dist/rules/_ts.js.map +0 -1
  165. package/dist/rules/_yml.d.ts.map +0 -1
  166. package/dist/rules/_yml.js.map +0 -1
  167. package/dist/rules/html/_enable.d.ts.map +0 -1
  168. package/dist/rules/html/_enable.js +0 -10
  169. package/dist/rules/html/_enable.js.map +0 -1
  170. package/dist/rules/html/_recommended.d.ts.map +0 -1
  171. package/dist/rules/html/_recommended.js +0 -5
  172. package/dist/rules/html/_recommended.js.map +0 -1
  173. package/dist/rules/js/_enable.js.map +0 -1
  174. package/dist/rules/js/stylistic.js +0 -270
  175. package/dist/rules/js/stylistic.js.map +0 -1
  176. package/dist/rules/json/_enable.d.ts.map +0 -1
  177. package/dist/rules/json/_enable.js.map +0 -1
  178. package/dist/rules/md/_enable.d.ts.map +0 -1
  179. package/dist/rules/md/_enable.js +0 -9
  180. package/dist/rules/md/_enable.js.map +0 -1
  181. package/dist/rules/mocha/_enable.d.ts.map +0 -1
  182. package/dist/rules/mocha/_enable.js +0 -4
  183. package/dist/rules/mocha/_enable.js.map +0 -1
  184. package/dist/rules/mocha/_recommended.d.ts.map +0 -1
  185. package/dist/rules/mocha/_recommended.js +0 -5
  186. package/dist/rules/mocha/_recommended.js.map +0 -1
  187. package/dist/rules/svelte/_enable.d.ts.map +0 -1
  188. package/dist/rules/svelte/_enable.js +0 -90
  189. package/dist/rules/svelte/_enable.js.map +0 -1
  190. package/dist/rules/svelte/disable_x.d.ts +0 -5
  191. package/dist/rules/svelte/disable_x.d.ts.map +0 -1
  192. package/dist/rules/svelte/disable_x.js +0 -4
  193. package/dist/rules/svelte/disable_x.js.map +0 -1
  194. package/dist/rules/ts/_enable.d.ts.map +0 -1
  195. package/dist/rules/ts/_enable.js.map +0 -1
  196. package/dist/rules/ts/disable_compiler.d.ts.map +0 -1
  197. package/dist/rules/ts/disable_compiler.js.map +0 -1
  198. package/dist/rules/yml/_enable.d.ts.map +0 -1
  199. package/dist/rules/yml/_enable.js +0 -28
  200. package/dist/rules/yml/_enable.js.map +0 -1
  201. package/src/rules/_html.ts +0 -4
  202. package/src/rules/_js.ts +0 -4
  203. package/src/rules/_md.ts +0 -3
  204. package/src/rules/_mocha.ts +0 -4
  205. package/src/rules/html/_enable.ts +0 -13
  206. package/src/rules/html/_recommended.ts +0 -7
  207. package/src/rules/js/_enable.ts +0 -287
  208. package/src/rules/js/stylistic.ts +0 -294
  209. package/src/rules/md/_enable.ts +0 -14
  210. package/src/rules/mocha/_enable.ts +0 -5
  211. package/src/rules/mocha/_recommended.ts +0 -7
  212. package/src/rules/svelte/disable_x.ts +0 -8
@@ -133,17 +133,17 @@ declare const _default: readonly ["stylistic", {
133
133
  }];
134
134
  readonly "@stylistic/lines-between-class-members": readonly ["error", {
135
135
  readonly enforce: readonly [{
136
- readonly blankLine: "never";
137
136
  readonly prev: "field";
138
137
  readonly next: "field";
138
+ readonly blankLine: "never";
139
139
  }, {
140
- readonly blankLine: "always";
141
140
  readonly prev: "field";
142
141
  readonly next: "method";
143
- }, {
144
142
  readonly blankLine: "always";
143
+ }, {
145
144
  readonly prev: "method";
146
145
  readonly next: "*";
146
+ readonly blankLine: "always";
147
147
  }];
148
148
  }, {
149
149
  readonly exceptAfterSingleLine: false;
@@ -266,89 +266,89 @@ declare const _default: readonly ["stylistic", {
266
266
  readonly allowSingleLineBlocks: true;
267
267
  }];
268
268
  readonly "@stylistic/padding-line-between-statements": readonly ["error", {
269
- readonly blankLine: "always";
270
269
  readonly prev: "directive";
271
270
  readonly next: "*";
271
+ readonly blankLine: "always";
272
272
  }, {
273
- readonly blankLine: "never";
274
273
  readonly prev: "directive";
275
274
  readonly next: "directive";
275
+ readonly blankLine: "never";
276
276
  }, {
277
- readonly blankLine: "always";
278
277
  readonly prev: readonly ["import", "cjs-import"];
279
278
  readonly next: "*";
279
+ readonly blankLine: "always";
280
280
  }, {
281
- readonly blankLine: "never";
282
281
  readonly prev: readonly ["import", "cjs-import"];
283
282
  readonly next: readonly ["import", "cjs-import"];
283
+ readonly blankLine: "never";
284
284
  }, {
285
- readonly blankLine: "always";
286
285
  readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
287
286
  readonly next: "*";
288
- }, {
289
287
  readonly blankLine: "always";
288
+ }, {
290
289
  readonly prev: "case";
291
290
  readonly next: "*";
292
- }, {
293
291
  readonly blankLine: "always";
292
+ }, {
294
293
  readonly prev: "case";
295
294
  readonly next: readonly ["case", "default"];
296
- }, {
297
295
  readonly blankLine: "always";
296
+ }, {
298
297
  readonly prev: "default";
299
298
  readonly next: "*";
300
- }, {
301
299
  readonly blankLine: "always";
300
+ }, {
302
301
  readonly prev: "type";
303
302
  readonly next: "*";
303
+ readonly blankLine: "always";
304
304
  }, {
305
- readonly blankLine: "never";
306
305
  readonly prev: "type";
307
306
  readonly next: "type";
307
+ readonly blankLine: "never";
308
308
  }, {
309
- readonly blankLine: "always";
310
309
  readonly prev: "function";
311
310
  readonly next: "*";
312
- }, {
313
311
  readonly blankLine: "always";
312
+ }, {
314
313
  readonly prev: "function-overload";
315
314
  readonly next: "*";
315
+ readonly blankLine: "always";
316
316
  }, {
317
- readonly blankLine: "never";
318
317
  readonly prev: "function-overload";
319
318
  readonly next: "function-overload";
320
- }, {
321
319
  readonly blankLine: "never";
320
+ }, {
322
321
  readonly prev: "function-overload";
323
322
  readonly next: "function";
323
+ readonly blankLine: "never";
324
324
  }, {
325
- readonly blankLine: "always";
326
325
  readonly prev: readonly ["const", "let", "var"];
327
326
  readonly next: "*";
327
+ readonly blankLine: "always";
328
328
  }, {
329
- readonly blankLine: "never";
330
329
  readonly prev: readonly ["const", "let", "var"];
331
330
  readonly next: readonly ["const", "let", "var"];
331
+ readonly blankLine: "never";
332
332
  }, {
333
- readonly blankLine: "always";
334
333
  readonly prev: "expression";
335
334
  readonly next: "*";
335
+ readonly blankLine: "always";
336
336
  }, {
337
- readonly blankLine: "never";
338
337
  readonly prev: "expression";
339
338
  readonly next: "expression";
339
+ readonly blankLine: "never";
340
340
  }, {
341
- readonly blankLine: "always";
342
341
  readonly prev: "*";
343
342
  readonly next: readonly ["throw", "return", "break", "continue"];
344
- }, {
345
343
  readonly blankLine: "always";
344
+ }, {
346
345
  readonly prev: "*";
347
346
  readonly next: readonly ["export", "cjs-export"];
347
+ readonly blankLine: "always";
348
348
  }, {
349
- readonly blankLine: "never";
350
349
  readonly prev: readonly ["export", "cjs-export"];
351
350
  readonly next: readonly ["export", "cjs-export"];
351
+ readonly blankLine: "never";
352
352
  }];
353
353
  readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
354
354
  readonly keywords: true;
@@ -417,4 +417,4 @@ declare const _default: readonly ["stylistic", {
417
417
  }];
418
418
  }];
419
419
  export default _default;
420
- //# sourceMappingURL=stylistic.d.ts.map
420
+ //# sourceMappingURL=enable_stylistic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stylistic.d.ts","sourceRoot":"","sources":["../../../src/rules/js/stylistic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,wBA8QW"}
1
+ {"version":3,"file":"enable_stylistic.d.ts","sourceRoot":"","sources":["../../../src/rules/js/enable_stylistic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,wBAykBW"}