linted 22.0.0 → 22.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (287) hide show
  1. package/dist/{imports/index.d.ts → imports.d.ts} +1 -1
  2. package/dist/imports.d.ts.map +1 -0
  3. package/dist/imports.js +7 -0
  4. package/dist/imports.js.map +1 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +5 -13
  7. package/dist/index.js.map +1 -1
  8. package/dist/{imports/parsers.d.ts → parsers/index.d.ts} +1 -1
  9. package/dist/parsers/index.d.ts.map +1 -0
  10. package/dist/{imports/parsers.js → parsers/index.js} +1 -1
  11. package/dist/parsers/index.js.map +1 -0
  12. package/dist/{imports/plugins.d.ts → plugins/index.d.ts} +1 -1
  13. package/dist/plugins/index.d.ts.map +1 -0
  14. package/dist/{imports/plugins.js → plugins/index.js} +1 -1
  15. package/dist/plugins/index.js.map +1 -0
  16. package/package.json +2 -1
  17. package/src/index.ts +10 -18
  18. package/dist/_strings/id.d.ts +0 -2
  19. package/dist/_strings/id.d.ts.map +0 -1
  20. package/dist/_strings/id.js +0 -2
  21. package/dist/_strings/id.js.map +0 -1
  22. package/dist/_strings/index.d.ts +0 -7
  23. package/dist/_strings/index.d.ts.map +0 -1
  24. package/dist/_strings/index.js +0 -7
  25. package/dist/_strings/index.js.map +0 -1
  26. package/dist/_strings/level.d.ts +0 -2
  27. package/dist/_strings/level.d.ts.map +0 -1
  28. package/dist/_strings/level.js +0 -2
  29. package/dist/_strings/level.js.map +0 -1
  30. package/dist/_strings/level.spec.d.ts +0 -2
  31. package/dist/_strings/level.spec.d.ts.map +0 -1
  32. package/dist/_strings/level.spec.js +0 -31
  33. package/dist/_strings/level.spec.js.map +0 -1
  34. package/dist/_strings/state.d.ts +0 -2
  35. package/dist/_strings/state.d.ts.map +0 -1
  36. package/dist/_strings/state.js +0 -2
  37. package/dist/_strings/state.js.map +0 -1
  38. package/dist/files/index.d.ts +0 -13
  39. package/dist/files/index.d.ts.map +0 -1
  40. package/dist/files/index.js +0 -20
  41. package/dist/files/index.js.map +0 -1
  42. package/dist/files/scopes/html.d.ts +0 -3
  43. package/dist/files/scopes/html.d.ts.map +0 -1
  44. package/dist/files/scopes/html.js +0 -2
  45. package/dist/files/scopes/html.js.map +0 -1
  46. package/dist/files/scopes/js.d.ts +0 -3
  47. package/dist/files/scopes/js.d.ts.map +0 -1
  48. package/dist/files/scopes/js.js +0 -5
  49. package/dist/files/scopes/js.js.map +0 -1
  50. package/dist/files/scopes/json.d.ts +0 -3
  51. package/dist/files/scopes/json.d.ts.map +0 -1
  52. package/dist/files/scopes/json.js +0 -2
  53. package/dist/files/scopes/json.js.map +0 -1
  54. package/dist/files/scopes/jsonc.d.ts +0 -3
  55. package/dist/files/scopes/jsonc.d.ts.map +0 -1
  56. package/dist/files/scopes/jsonc.js +0 -6
  57. package/dist/files/scopes/jsonc.js.map +0 -1
  58. package/dist/files/scopes/mocha.d.ts +0 -3
  59. package/dist/files/scopes/mocha.d.ts.map +0 -1
  60. package/dist/files/scopes/mocha.js +0 -5
  61. package/dist/files/scopes/mocha.js.map +0 -1
  62. package/dist/files/scopes/svelte.d.ts +0 -3
  63. package/dist/files/scopes/svelte.d.ts.map +0 -1
  64. package/dist/files/scopes/svelte.js +0 -2
  65. package/dist/files/scopes/svelte.js.map +0 -1
  66. package/dist/files/scopes/ts.d.ts +0 -3
  67. package/dist/files/scopes/ts.d.ts.map +0 -1
  68. package/dist/files/scopes/ts.js +0 -2
  69. package/dist/files/scopes/ts.js.map +0 -1
  70. package/dist/files/scopes/yml.d.ts +0 -3
  71. package/dist/files/scopes/yml.d.ts.map +0 -1
  72. package/dist/files/scopes/yml.js +0 -2
  73. package/dist/files/scopes/yml.js.map +0 -1
  74. package/dist/ignores/index.d.ts +0 -13
  75. package/dist/ignores/index.d.ts.map +0 -1
  76. package/dist/ignores/index.js +0 -29
  77. package/dist/ignores/index.js.map +0 -1
  78. package/dist/ignores/scopes/html.d.ts +0 -3
  79. package/dist/ignores/scopes/html.d.ts.map +0 -1
  80. package/dist/ignores/scopes/html.js +0 -2
  81. package/dist/ignores/scopes/html.js.map +0 -1
  82. package/dist/ignores/scopes/js.d.ts +0 -3
  83. package/dist/ignores/scopes/js.d.ts.map +0 -1
  84. package/dist/ignores/scopes/js.js +0 -2
  85. package/dist/ignores/scopes/js.js.map +0 -1
  86. package/dist/ignores/scopes/json.d.ts +0 -3
  87. package/dist/ignores/scopes/json.d.ts.map +0 -1
  88. package/dist/ignores/scopes/json.js +0 -2
  89. package/dist/ignores/scopes/json.js.map +0 -1
  90. package/dist/ignores/scopes/jsonc.d.ts +0 -3
  91. package/dist/ignores/scopes/jsonc.d.ts.map +0 -1
  92. package/dist/ignores/scopes/jsonc.js +0 -2
  93. package/dist/ignores/scopes/jsonc.js.map +0 -1
  94. package/dist/ignores/scopes/mocha.d.ts +0 -3
  95. package/dist/ignores/scopes/mocha.d.ts.map +0 -1
  96. package/dist/ignores/scopes/mocha.js +0 -2
  97. package/dist/ignores/scopes/mocha.js.map +0 -1
  98. package/dist/ignores/scopes/svelte.d.ts +0 -3
  99. package/dist/ignores/scopes/svelte.d.ts.map +0 -1
  100. package/dist/ignores/scopes/svelte.js +0 -2
  101. package/dist/ignores/scopes/svelte.js.map +0 -1
  102. package/dist/ignores/scopes/ts.d.ts +0 -3
  103. package/dist/ignores/scopes/ts.d.ts.map +0 -1
  104. package/dist/ignores/scopes/ts.js +0 -2
  105. package/dist/ignores/scopes/ts.js.map +0 -1
  106. package/dist/ignores/scopes/yml.d.ts +0 -3
  107. package/dist/ignores/scopes/yml.d.ts.map +0 -1
  108. package/dist/ignores/scopes/yml.js +0 -2
  109. package/dist/ignores/scopes/yml.js.map +0 -1
  110. package/dist/imports/index.d.ts.map +0 -1
  111. package/dist/imports/index.js +0 -7
  112. package/dist/imports/index.js.map +0 -1
  113. package/dist/imports/parsers.d.ts.map +0 -1
  114. package/dist/imports/parsers.js.map +0 -1
  115. package/dist/imports/plugins.d.ts.map +0 -1
  116. package/dist/imports/plugins.js.map +0 -1
  117. package/dist/rules/html/enable.d.ts +0 -3
  118. package/dist/rules/html/enable.d.ts.map +0 -1
  119. package/dist/rules/html/enable.js +0 -94
  120. package/dist/rules/html/enable.js.map +0 -1
  121. package/dist/rules/html/index.d.ts +0 -3
  122. package/dist/rules/html/index.d.ts.map +0 -1
  123. package/dist/rules/html/index.js +0 -3
  124. package/dist/rules/html/index.js.map +0 -1
  125. package/dist/rules/index.d.ts +0 -4563
  126. package/dist/rules/index.d.ts.map +0 -1
  127. package/dist/rules/index.js +0 -19
  128. package/dist/rules/index.js.map +0 -1
  129. package/dist/rules/js/enable.d.ts +0 -348
  130. package/dist/rules/js/enable.d.ts.map +0 -1
  131. package/dist/rules/js/enable.js +0 -519
  132. package/dist/rules/js/enable.js.map +0 -1
  133. package/dist/rules/js/index.d.ts +0 -766
  134. package/dist/rules/js/index.d.ts.map +0 -1
  135. package/dist/rules/js/index.js +0 -7
  136. package/dist/rules/js/index.js.map +0 -1
  137. package/dist/rules/js/stylistic.d.ts +0 -421
  138. package/dist/rules/js/stylistic.d.ts.map +0 -1
  139. package/dist/rules/js/stylistic.js +0 -641
  140. package/dist/rules/js/stylistic.js.map +0 -1
  141. package/dist/rules/json/enable.d.ts +0 -27
  142. package/dist/rules/json/enable.d.ts.map +0 -1
  143. package/dist/rules/json/enable.js +0 -30
  144. package/dist/rules/json/enable.js.map +0 -1
  145. package/dist/rules/json/enable_x.d.ts +0 -50
  146. package/dist/rules/json/enable_x.d.ts.map +0 -1
  147. package/dist/rules/json/enable_x.js +0 -80
  148. package/dist/rules/json/enable_x.js.map +0 -1
  149. package/dist/rules/json/index.d.ts +0 -74
  150. package/dist/rules/json/index.d.ts.map +0 -1
  151. package/dist/rules/json/index.js +0 -7
  152. package/dist/rules/json/index.js.map +0 -1
  153. package/dist/rules/jsonc/index.d.ts +0 -77
  154. package/dist/rules/jsonc/index.d.ts.map +0 -1
  155. package/dist/rules/jsonc/index.js +0 -7
  156. package/dist/rules/jsonc/index.js.map +0 -1
  157. package/dist/rules/jsonc/override.d.ts +0 -6
  158. package/dist/rules/jsonc/override.d.ts.map +0 -1
  159. package/dist/rules/jsonc/override.js +0 -12
  160. package/dist/rules/jsonc/override.js.map +0 -1
  161. package/dist/rules/mocha/disable.d.ts +0 -5
  162. package/dist/rules/mocha/disable.d.ts.map +0 -1
  163. package/dist/rules/mocha/disable.js +0 -8
  164. package/dist/rules/mocha/disable.js.map +0 -1
  165. package/dist/rules/mocha/enable.d.ts +0 -35
  166. package/dist/rules/mocha/enable.d.ts.map +0 -1
  167. package/dist/rules/mocha/enable.js +0 -47
  168. package/dist/rules/mocha/enable.js.map +0 -1
  169. package/dist/rules/mocha/index.d.ts +0 -1171
  170. package/dist/rules/mocha/index.d.ts.map +0 -1
  171. package/dist/rules/mocha/index.js +0 -9
  172. package/dist/rules/mocha/index.js.map +0 -1
  173. package/dist/rules/svelte/disable.d.ts +0 -5
  174. package/dist/rules/svelte/disable.d.ts.map +0 -1
  175. package/dist/rules/svelte/disable.js +0 -8
  176. package/dist/rules/svelte/disable.js.map +0 -1
  177. package/dist/rules/svelte/disable_js.d.ts +0 -6
  178. package/dist/rules/svelte/disable_js.d.ts.map +0 -1
  179. package/dist/rules/svelte/disable_js.js +0 -9
  180. package/dist/rules/svelte/disable_js.js.map +0 -1
  181. package/dist/rules/svelte/disable_ts.d.ts +0 -6
  182. package/dist/rules/svelte/disable_ts.d.ts.map +0 -1
  183. package/dist/rules/svelte/disable_ts.js +0 -9
  184. package/dist/rules/svelte/disable_ts.js.map +0 -1
  185. package/dist/rules/svelte/enable.d.ts +0 -127
  186. package/dist/rules/svelte/enable.d.ts.map +0 -1
  187. package/dist/rules/svelte/enable.js +0 -193
  188. package/dist/rules/svelte/enable.js.map +0 -1
  189. package/dist/rules/svelte/enable_x.d.ts +0 -8
  190. package/dist/rules/svelte/enable_x.d.ts.map +0 -1
  191. package/dist/rules/svelte/enable_x.js +0 -15
  192. package/dist/rules/svelte/enable_x.js.map +0 -1
  193. package/dist/rules/svelte/index.d.ts +0 -1274
  194. package/dist/rules/svelte/index.d.ts.map +0 -1
  195. package/dist/rules/svelte/index.js +0 -15
  196. package/dist/rules/svelte/index.js.map +0 -1
  197. package/dist/rules/ts/disable.d.ts +0 -18
  198. package/dist/rules/ts/disable.d.ts.map +0 -1
  199. package/dist/rules/ts/disable.js +0 -21
  200. package/dist/rules/ts/disable.js.map +0 -1
  201. package/dist/rules/ts/disable_x.d.ts +0 -28
  202. package/dist/rules/ts/disable_x.d.ts.map +0 -1
  203. package/dist/rules/ts/disable_x.js +0 -31
  204. package/dist/rules/ts/disable_x.js.map +0 -1
  205. package/dist/rules/ts/enable.d.ts +0 -265
  206. package/dist/rules/ts/enable.d.ts.map +0 -1
  207. package/dist/rules/ts/enable.js +0 -520
  208. package/dist/rules/ts/enable.js.map +0 -1
  209. package/dist/rules/ts/enable_x.d.ts +0 -72
  210. package/dist/rules/ts/enable_x.d.ts.map +0 -1
  211. package/dist/rules/ts/enable_x.js +0 -108
  212. package/dist/rules/ts/enable_x.js.map +0 -1
  213. package/dist/rules/ts/index.d.ts +0 -1137
  214. package/dist/rules/ts/index.d.ts.map +0 -1
  215. package/dist/rules/ts/index.js +0 -13
  216. package/dist/rules/ts/index.js.map +0 -1
  217. package/dist/rules/yml/enable.d.ts +0 -39
  218. package/dist/rules/yml/enable.d.ts.map +0 -1
  219. package/dist/rules/yml/enable.js +0 -68
  220. package/dist/rules/yml/enable.js.map +0 -1
  221. package/dist/rules/yml/enable_x.d.ts +0 -37
  222. package/dist/rules/yml/enable_x.d.ts.map +0 -1
  223. package/dist/rules/yml/enable_x.js +0 -66
  224. package/dist/rules/yml/enable_x.js.map +0 -1
  225. package/dist/rules/yml/index.d.ts +0 -73
  226. package/dist/rules/yml/index.d.ts.map +0 -1
  227. package/dist/rules/yml/index.js +0 -7
  228. package/dist/rules/yml/index.js.map +0 -1
  229. package/dist/settings.d.ts +0 -7
  230. package/dist/settings.d.ts.map +0 -1
  231. package/dist/settings.js +0 -7
  232. package/dist/settings.js.map +0 -1
  233. package/src/_strings/id.ts +0 -8
  234. package/src/_strings/index.ts +0 -6
  235. package/src/_strings/level.spec.ts +0 -31
  236. package/src/_strings/level.ts +0 -4
  237. package/src/_strings/state.ts +0 -28
  238. package/src/files/index.ts +0 -20
  239. package/src/files/scopes/html.ts +0 -1
  240. package/src/files/scopes/js.ts +0 -4
  241. package/src/files/scopes/json.ts +0 -1
  242. package/src/files/scopes/jsonc.ts +0 -5
  243. package/src/files/scopes/mocha.ts +0 -4
  244. package/src/files/scopes/svelte.ts +0 -1
  245. package/src/files/scopes/ts.ts +0 -1
  246. package/src/files/scopes/yml.ts +0 -1
  247. package/src/ignores/index.ts +0 -31
  248. package/src/ignores/scopes/html.ts +0 -1
  249. package/src/ignores/scopes/js.ts +0 -1
  250. package/src/ignores/scopes/json.ts +0 -1
  251. package/src/ignores/scopes/jsonc.ts +0 -1
  252. package/src/ignores/scopes/mocha.ts +0 -1
  253. package/src/ignores/scopes/svelte.ts +0 -1
  254. package/src/ignores/scopes/ts.ts +0 -1
  255. package/src/ignores/scopes/yml.ts +0 -1
  256. package/src/rules/html/enable.ts +0 -121
  257. package/src/rules/html/index.ts +0 -3
  258. package/src/rules/index.ts +0 -19
  259. package/src/rules/js/enable.ts +0 -547
  260. package/src/rules/js/index.ts +0 -7
  261. package/src/rules/js/stylistic.ts +0 -664
  262. package/src/rules/json/enable.ts +0 -35
  263. package/src/rules/json/enable_x.ts +0 -91
  264. package/src/rules/json/index.ts +0 -7
  265. package/src/rules/jsonc/index.ts +0 -7
  266. package/src/rules/jsonc/override.ts +0 -18
  267. package/src/rules/mocha/disable.ts +0 -11
  268. package/src/rules/mocha/enable.ts +0 -53
  269. package/src/rules/mocha/index.ts +0 -9
  270. package/src/rules/svelte/disable.ts +0 -12
  271. package/src/rules/svelte/disable_js.ts +0 -11
  272. package/src/rules/svelte/disable_ts.ts +0 -9
  273. package/src/rules/svelte/enable.ts +0 -232
  274. package/src/rules/svelte/enable_x.ts +0 -22
  275. package/src/rules/svelte/index.ts +0 -15
  276. package/src/rules/ts/disable.ts +0 -25
  277. package/src/rules/ts/disable_x.ts +0 -35
  278. package/src/rules/ts/enable.ts +0 -569
  279. package/src/rules/ts/enable_x.ts +0 -117
  280. package/src/rules/ts/index.ts +0 -13
  281. package/src/rules/yml/enable.ts +0 -76
  282. package/src/rules/yml/enable_x.ts +0 -73
  283. package/src/rules/yml/index.ts +0 -7
  284. package/src/settings.ts +0 -6
  285. /package/src/{imports/index.ts → imports.ts} +0 -0
  286. /package/src/{imports/parsers.ts → parsers/index.ts} +0 -0
  287. /package/src/{imports/plugins.ts → plugins/index.ts} +0 -0
@@ -1,30 +0,0 @@
1
- import { enable, ERROR, OFF, } from "../../_strings/index.js";
2
- export default [
3
- enable,
4
- {
5
- "jsonc/auto": OFF,
6
- "jsonc/key-name-casing": OFF,
7
- "jsonc/no-bigint-literals": ERROR,
8
- "jsonc/no-binary-expression": ERROR,
9
- "jsonc/no-binary-numeric-literals": ERROR,
10
- "jsonc/no-comments": ERROR,
11
- "jsonc/no-escape-sequence-in-identifier": ERROR,
12
- "jsonc/no-hexadecimal-numeric-literals": ERROR,
13
- "jsonc/no-infinity": ERROR,
14
- "jsonc/no-nan": ERROR,
15
- "jsonc/no-number-props": ERROR,
16
- "jsonc/no-numeric-separators": ERROR,
17
- "jsonc/no-octal-numeric-literals": ERROR,
18
- "jsonc/no-parenthesized": ERROR,
19
- "jsonc/no-plus-sign": ERROR,
20
- "jsonc/no-regexp-literals": ERROR,
21
- "jsonc/no-template-literals": ERROR,
22
- "jsonc/no-undefined-value": ERROR,
23
- "jsonc/no-unicode-codepoint-escapes": ERROR,
24
- "jsonc/sort-array-values": OFF,
25
- "jsonc/sort-keys": OFF,
26
- "jsonc/valid-json-number": ERROR,
27
- "jsonc/vue-custom-block/no-parsing-error": ERROR,
28
- },
29
- ];
30
- //# sourceMappingURL=enable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,YAAY,EAAE,GAAG;QACjB,uBAAuB,EAAE,GAAG;QAC5B,0BAA0B,EAAE,KAAK;QACjC,4BAA4B,EAAE,KAAK;QACnC,kCAAkC,EAAE,KAAK;QACzC,mBAAmB,EAAE,KAAK;QAC1B,wCAAwC,EAAE,KAAK;QAC/C,uCAAuC,EAAE,KAAK;QAC9C,mBAAmB,EAAE,KAAK;QAC1B,cAAc,EAAE,KAAK;QACrB,uBAAuB,EAAE,KAAK;QAC9B,6BAA6B,EAAE,KAAK;QACpC,iCAAiC,EAAE,KAAK;QACxC,wBAAwB,EAAE,KAAK;QAC/B,oBAAoB,EAAE,KAAK;QAC3B,0BAA0B,EAAE,KAAK;QACjC,4BAA4B,EAAE,KAAK;QACnC,0BAA0B,EAAE,KAAK;QACjC,oCAAoC,EAAE,KAAK;QAC3C,yBAAyB,EAAE,GAAG;QAC9B,iBAAiB,EAAE,GAAG;QACtB,yBAAyB,EAAE,KAAK;QAChC,yCAAyC,EAAE,KAAK;KACjD;CACO,CAAC"}
@@ -1,50 +0,0 @@
1
- declare const _default: readonly ["enable-extend", {
2
- readonly "jsonc/array-bracket-newline": "off";
3
- readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
4
- readonly singleValue: false;
5
- readonly objectsInArrays: false;
6
- readonly arraysInArrays: false;
7
- }];
8
- readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
9
- readonly "jsonc/comma-dangle": readonly ["error", "never"];
10
- readonly "jsonc/comma-style": readonly ["error", "last"];
11
- readonly "jsonc/indent": readonly ["error", 2];
12
- readonly "jsonc/key-spacing": readonly ["error", {
13
- readonly beforeColon: false;
14
- readonly afterColon: true;
15
- readonly mode: "strict";
16
- }];
17
- readonly "jsonc/no-dupe-keys": "error";
18
- readonly "jsonc/no-floating-decimal": "error";
19
- readonly "jsonc/no-irregular-whitespace": readonly ["error", {
20
- readonly skipStrings: true;
21
- readonly skipComments: true;
22
- readonly skipRegExps: true;
23
- readonly skipTemplates: true;
24
- readonly skipJSXText: true;
25
- }];
26
- readonly "jsonc/no-multi-str": "error";
27
- readonly "jsonc/no-octal-escape": "error";
28
- readonly "jsonc/no-octal": "error";
29
- readonly "jsonc/no-sparse-arrays": "error";
30
- readonly "jsonc/no-useless-escape": "error";
31
- readonly "jsonc/object-curly-newline": readonly ["error", {
32
- readonly consistent: true;
33
- readonly multiline: true;
34
- readonly minProperties: 4;
35
- }];
36
- readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
37
- readonly arraysInObjects: true;
38
- readonly objectsInObjects: true;
39
- }];
40
- readonly "jsonc/object-property-newline": readonly ["error", {
41
- readonly allowAllPropertiesOnSameLine: true;
42
- }];
43
- readonly "jsonc/quote-props": readonly ["error", "always"];
44
- readonly "jsonc/quotes": readonly ["error", "double", {
45
- readonly avoidEscape: false;
46
- }];
47
- readonly "jsonc/space-unary-ops": "error";
48
- }];
49
- export default _default;
50
- //# sourceMappingURL=enable_x.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBA8EW"}
@@ -1,80 +0,0 @@
1
- import { enable_x, ERROR, OFF, Always, Consistent, Double, Last, Never, Strict, } from "../../_strings/index.js";
2
- export default [
3
- enable_x,
4
- {
5
- "jsonc/array-bracket-newline": OFF,
6
- "jsonc/array-bracket-spacing": [
7
- ERROR,
8
- Never,
9
- {
10
- singleValue: false,
11
- objectsInArrays: false,
12
- arraysInArrays: false,
13
- },
14
- ],
15
- "jsonc/array-element-newline": [
16
- ERROR,
17
- Consistent,
18
- ],
19
- "jsonc/comma-dangle": [ERROR, Never],
20
- "jsonc/comma-style": [ERROR, Last],
21
- "jsonc/indent": [ERROR, 2],
22
- "jsonc/key-spacing": [
23
- ERROR,
24
- {
25
- beforeColon: false,
26
- afterColon: true,
27
- mode: Strict,
28
- },
29
- ],
30
- "jsonc/no-dupe-keys": ERROR,
31
- "jsonc/no-floating-decimal": ERROR,
32
- "jsonc/no-irregular-whitespace": [
33
- ERROR,
34
- {
35
- skipStrings: true,
36
- skipComments: true,
37
- skipRegExps: true,
38
- skipTemplates: true,
39
- skipJSXText: true,
40
- },
41
- ],
42
- "jsonc/no-multi-str": ERROR,
43
- "jsonc/no-octal-escape": ERROR,
44
- "jsonc/no-octal": ERROR,
45
- "jsonc/no-sparse-arrays": ERROR,
46
- "jsonc/no-useless-escape": ERROR,
47
- "jsonc/object-curly-newline": [
48
- ERROR,
49
- {
50
- consistent: true,
51
- multiline: true,
52
- minProperties: 4,
53
- },
54
- ],
55
- "jsonc/object-curly-spacing": [
56
- ERROR,
57
- Always,
58
- {
59
- arraysInObjects: true,
60
- objectsInObjects: true,
61
- },
62
- ],
63
- "jsonc/object-property-newline": [
64
- ERROR,
65
- {
66
- allowAllPropertiesOnSameLine: true,
67
- },
68
- ],
69
- "jsonc/quote-props": [ERROR, Always],
70
- "jsonc/quotes": [
71
- ERROR,
72
- Double,
73
- {
74
- avoidEscape: false,
75
- },
76
- ],
77
- "jsonc/space-unary-ops": ERROR,
78
- },
79
- ];
80
- //# sourceMappingURL=enable_x.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,GAAG,EACH,MAAM,EACN,UAAU,EACV,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,6BAA6B,EAAE,GAAG;QAClC,6BAA6B,EAAE;YAC7B,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL,UAAU;SACX;QACD,oBAAoB,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QACpC,mBAAmB,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;QAClC,cAAc,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;QAC1B,mBAAmB,EAAE;YACnB,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,2BAA2B,EAAE,KAAK;QAClC,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,WAAW,EAAE,IAAI;gBACjB,aAAa,EAAE,IAAI;gBACnB,WAAW,EAAE,IAAI;aAClB;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,uBAAuB,EAAE,KAAK;QAC9B,gBAAgB,EAAE,KAAK;QACvB,wBAAwB,EAAE,KAAK;QAC/B,yBAAyB,EAAE,KAAK;QAChC,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,4BAA4B,EAAE,IAAI;aACnC;SACF;QACD,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;QACpC,cAAc,EAAE;YACd,KAAK;YACL,MAAM;YACN;gBACE,WAAW,EAAE,KAAK;aACnB;SACF;QACD,uBAAuB,EAAE,KAAK;KAC/B;CACO,CAAC"}
@@ -1,74 +0,0 @@
1
- declare const _default: (readonly ["enable-extend", {
2
- readonly "jsonc/array-bracket-newline": "off";
3
- readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
4
- readonly singleValue: false;
5
- readonly objectsInArrays: false;
6
- readonly arraysInArrays: false;
7
- }];
8
- readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
9
- readonly "jsonc/comma-dangle": readonly ["error", "never"];
10
- readonly "jsonc/comma-style": readonly ["error", "last"];
11
- readonly "jsonc/indent": readonly ["error", 2];
12
- readonly "jsonc/key-spacing": readonly ["error", {
13
- readonly beforeColon: false;
14
- readonly afterColon: true;
15
- readonly mode: "strict";
16
- }];
17
- readonly "jsonc/no-dupe-keys": "error";
18
- readonly "jsonc/no-floating-decimal": "error";
19
- readonly "jsonc/no-irregular-whitespace": readonly ["error", {
20
- readonly skipStrings: true;
21
- readonly skipComments: true;
22
- readonly skipRegExps: true;
23
- readonly skipTemplates: true;
24
- readonly skipJSXText: true;
25
- }];
26
- readonly "jsonc/no-multi-str": "error";
27
- readonly "jsonc/no-octal-escape": "error";
28
- readonly "jsonc/no-octal": "error";
29
- readonly "jsonc/no-sparse-arrays": "error";
30
- readonly "jsonc/no-useless-escape": "error";
31
- readonly "jsonc/object-curly-newline": readonly ["error", {
32
- readonly consistent: true;
33
- readonly multiline: true;
34
- readonly minProperties: 4;
35
- }];
36
- readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
37
- readonly arraysInObjects: true;
38
- readonly objectsInObjects: true;
39
- }];
40
- readonly "jsonc/object-property-newline": readonly ["error", {
41
- readonly allowAllPropertiesOnSameLine: true;
42
- }];
43
- readonly "jsonc/quote-props": readonly ["error", "always"];
44
- readonly "jsonc/quotes": readonly ["error", "double", {
45
- readonly avoidEscape: false;
46
- }];
47
- readonly "jsonc/space-unary-ops": "error";
48
- }] | readonly ["enable", {
49
- readonly "jsonc/auto": "off";
50
- readonly "jsonc/key-name-casing": "off";
51
- readonly "jsonc/no-bigint-literals": "error";
52
- readonly "jsonc/no-binary-expression": "error";
53
- readonly "jsonc/no-binary-numeric-literals": "error";
54
- readonly "jsonc/no-comments": "error";
55
- readonly "jsonc/no-escape-sequence-in-identifier": "error";
56
- readonly "jsonc/no-hexadecimal-numeric-literals": "error";
57
- readonly "jsonc/no-infinity": "error";
58
- readonly "jsonc/no-nan": "error";
59
- readonly "jsonc/no-number-props": "error";
60
- readonly "jsonc/no-numeric-separators": "error";
61
- readonly "jsonc/no-octal-numeric-literals": "error";
62
- readonly "jsonc/no-parenthesized": "error";
63
- readonly "jsonc/no-plus-sign": "error";
64
- readonly "jsonc/no-regexp-literals": "error";
65
- readonly "jsonc/no-template-literals": "error";
66
- readonly "jsonc/no-undefined-value": "error";
67
- readonly "jsonc/no-unicode-codepoint-escapes": "error";
68
- readonly "jsonc/sort-array-values": "off";
69
- readonly "jsonc/sort-keys": "off";
70
- readonly "jsonc/valid-json-number": "error";
71
- readonly "jsonc/vue-custom-block/no-parsing-error": "error";
72
- }])[];
73
- export default _default;
74
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
@@ -1,7 +0,0 @@
1
- import enable_x from "./enable_x.js";
2
- import enable from "./enable.js";
3
- export default [
4
- enable_x,
5
- enable,
6
- ];
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,QAAQ;IACR,MAAM;CACP,CAAC"}
@@ -1,77 +0,0 @@
1
- declare const _default: (readonly ["enable-extend", {
2
- readonly "jsonc/array-bracket-newline": "off";
3
- readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
4
- readonly singleValue: false;
5
- readonly objectsInArrays: false;
6
- readonly arraysInArrays: false;
7
- }];
8
- readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
9
- readonly "jsonc/comma-dangle": readonly ["error", "never"];
10
- readonly "jsonc/comma-style": readonly ["error", "last"];
11
- readonly "jsonc/indent": readonly ["error", 2];
12
- readonly "jsonc/key-spacing": readonly ["error", {
13
- readonly beforeColon: false;
14
- readonly afterColon: true;
15
- readonly mode: "strict";
16
- }];
17
- readonly "jsonc/no-dupe-keys": "error";
18
- readonly "jsonc/no-floating-decimal": "error";
19
- readonly "jsonc/no-irregular-whitespace": readonly ["error", {
20
- readonly skipStrings: true;
21
- readonly skipComments: true;
22
- readonly skipRegExps: true;
23
- readonly skipTemplates: true;
24
- readonly skipJSXText: true;
25
- }];
26
- readonly "jsonc/no-multi-str": "error";
27
- readonly "jsonc/no-octal-escape": "error";
28
- readonly "jsonc/no-octal": "error";
29
- readonly "jsonc/no-sparse-arrays": "error";
30
- readonly "jsonc/no-useless-escape": "error";
31
- readonly "jsonc/object-curly-newline": readonly ["error", {
32
- readonly consistent: true;
33
- readonly multiline: true;
34
- readonly minProperties: 4;
35
- }];
36
- readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
37
- readonly arraysInObjects: true;
38
- readonly objectsInObjects: true;
39
- }];
40
- readonly "jsonc/object-property-newline": readonly ["error", {
41
- readonly allowAllPropertiesOnSameLine: true;
42
- }];
43
- readonly "jsonc/quote-props": readonly ["error", "always"];
44
- readonly "jsonc/quotes": readonly ["error", "double", {
45
- readonly avoidEscape: false;
46
- }];
47
- readonly "jsonc/space-unary-ops": "error";
48
- }] | readonly ["enable", {
49
- readonly "jsonc/auto": "off";
50
- readonly "jsonc/key-name-casing": "off";
51
- readonly "jsonc/no-bigint-literals": "error";
52
- readonly "jsonc/no-binary-expression": "error";
53
- readonly "jsonc/no-binary-numeric-literals": "error";
54
- readonly "jsonc/no-comments": "error";
55
- readonly "jsonc/no-escape-sequence-in-identifier": "error";
56
- readonly "jsonc/no-hexadecimal-numeric-literals": "error";
57
- readonly "jsonc/no-infinity": "error";
58
- readonly "jsonc/no-nan": "error";
59
- readonly "jsonc/no-number-props": "error";
60
- readonly "jsonc/no-numeric-separators": "error";
61
- readonly "jsonc/no-octal-numeric-literals": "error";
62
- readonly "jsonc/no-parenthesized": "error";
63
- readonly "jsonc/no-plus-sign": "error";
64
- readonly "jsonc/no-regexp-literals": "error";
65
- readonly "jsonc/no-template-literals": "error";
66
- readonly "jsonc/no-undefined-value": "error";
67
- readonly "jsonc/no-unicode-codepoint-escapes": "error";
68
- readonly "jsonc/sort-array-values": "off";
69
- readonly "jsonc/sort-keys": "off";
70
- readonly "jsonc/valid-json-number": "error";
71
- readonly "jsonc/vue-custom-block/no-parsing-error": "error";
72
- }] | readonly ["override", {
73
- readonly "jsonc/no-comments": "off";
74
- readonly "jsonc/comma-dangle": readonly ["error", "always-multiline"];
75
- }])[];
76
- export default _default;
77
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
@@ -1,7 +0,0 @@
1
- import json from "../json/index.js";
2
- import override from "./override.js";
3
- export default [
4
- ...json,
5
- override,
6
- ];
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/jsonc/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,eAAe;IACb,GAAG,IAAI;IACP,QAAQ;CACT,CAAC"}
@@ -1,6 +0,0 @@
1
- declare const _default: readonly ["override", {
2
- readonly "jsonc/no-comments": "off";
3
- readonly "jsonc/comma-dangle": readonly ["error", "always-multiline"];
4
- }];
5
- export default _default;
6
- //# sourceMappingURL=override.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"override.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":";;;;AAOA,wBAUW"}
@@ -1,12 +0,0 @@
1
- import { override, ERROR, OFF, AlwaysMultiline, } from "../../_strings/index.js";
2
- export default [
3
- override,
4
- {
5
- "jsonc/no-comments": OFF,
6
- "jsonc/comma-dangle": [
7
- ERROR,
8
- AlwaysMultiline,
9
- ],
10
- },
11
- ];
12
- //# sourceMappingURL=override.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"override.js","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,GAAG,EACH,eAAe,GAChB,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,mBAAmB,EAAE,GAAG;QACxB,oBAAoB,EAAE;YACpB,KAAK;YACL,eAAe;SAChB;KACF;CACO,CAAC"}
@@ -1,5 +0,0 @@
1
- declare const _default: readonly ["disable", {
2
- readonly "prefer-arrow-callback": "off";
3
- }];
4
- export default _default;
5
- //# sourceMappingURL=disable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/disable.ts"],"names":[],"mappings":";;;AAKA,wBAKW"}
@@ -1,8 +0,0 @@
1
- import { disable, OFF, } from "../../_strings/index.js";
2
- export default [
3
- disable,
4
- {
5
- "prefer-arrow-callback": OFF,
6
- },
7
- ];
8
- //# sourceMappingURL=disable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/mocha/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,OAAO;IACP;QACE,uBAAuB,EAAE,GAAG;KAC7B;CACO,CAAC"}
@@ -1,35 +0,0 @@
1
- declare const _default: readonly ["enable", {
2
- readonly "mocha/consistent-spacing-between-blocks": "off";
3
- readonly "mocha/handle-done-callback": readonly ["error", {
4
- readonly ignoreSkipped: false;
5
- }];
6
- readonly "mocha/max-top-level-suites": readonly ["error", {
7
- readonly limit: 1;
8
- }];
9
- readonly "mocha/no-async-describe": "error";
10
- readonly "mocha/no-empty-description": "error";
11
- readonly "mocha/no-exclusive-tests": "error";
12
- readonly "mocha/no-exports": "error";
13
- readonly "mocha/no-global-tests": "error";
14
- readonly "mocha/no-hooks-for-single-case": "off";
15
- readonly "mocha/no-hooks": "off";
16
- readonly "mocha/no-identical-title": "error";
17
- readonly "mocha/no-mocha-arrows": "error";
18
- readonly "mocha/no-nested-tests": "error";
19
- readonly "mocha/no-pending-tests": "warn";
20
- readonly "mocha/no-return-and-callback": "error";
21
- readonly "mocha/no-return-from-async": "error";
22
- readonly "mocha/no-setup-in-describe": "error";
23
- readonly "mocha/no-sibling-hooks": "error";
24
- readonly "mocha/no-skipped-tests": "error";
25
- readonly "mocha/no-synchronous-tests": "off";
26
- readonly "mocha/no-top-level-hooks": "error";
27
- readonly "mocha/prefer-arrow-callback": readonly ["error", {
28
- readonly allowNamedFunctions: false;
29
- readonly allowUnboundThis: true;
30
- }];
31
- readonly "mocha/valid-suite-description": "off";
32
- readonly "mocha/valid-test-description": "off";
33
- }];
34
- export default _default;
35
- //# sourceMappingURL=enable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBA6CW"}
@@ -1,47 +0,0 @@
1
- import { enable, ERROR, WARN, OFF, } from "../../_strings/index.js";
2
- export default [
3
- enable,
4
- {
5
- "mocha/consistent-spacing-between-blocks": OFF,
6
- "mocha/handle-done-callback": [
7
- ERROR,
8
- {
9
- ignoreSkipped: false,
10
- },
11
- ],
12
- "mocha/max-top-level-suites": [
13
- ERROR,
14
- {
15
- limit: 1,
16
- },
17
- ],
18
- "mocha/no-async-describe": ERROR,
19
- "mocha/no-empty-description": ERROR,
20
- "mocha/no-exclusive-tests": ERROR,
21
- "mocha/no-exports": ERROR,
22
- "mocha/no-global-tests": ERROR,
23
- "mocha/no-hooks-for-single-case": OFF,
24
- "mocha/no-hooks": OFF,
25
- "mocha/no-identical-title": ERROR,
26
- "mocha/no-mocha-arrows": ERROR,
27
- "mocha/no-nested-tests": ERROR,
28
- "mocha/no-pending-tests": WARN,
29
- "mocha/no-return-and-callback": ERROR,
30
- "mocha/no-return-from-async": ERROR,
31
- "mocha/no-setup-in-describe": ERROR,
32
- "mocha/no-sibling-hooks": ERROR,
33
- "mocha/no-skipped-tests": ERROR,
34
- "mocha/no-synchronous-tests": OFF,
35
- "mocha/no-top-level-hooks": ERROR,
36
- "mocha/prefer-arrow-callback": [
37
- ERROR,
38
- {
39
- allowNamedFunctions: false,
40
- allowUnboundThis: true,
41
- },
42
- ],
43
- "mocha/valid-suite-description": OFF,
44
- "mocha/valid-test-description": OFF,
45
- },
46
- ];
47
- //# sourceMappingURL=enable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/mocha/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,IAAI,EACJ,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,yCAAyC,EAAE,GAAG;QAC9C,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,aAAa,EAAE,KAAK;aACrB;SACF;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,KAAK,EAAE,CAAC;aACT;SACF;QACD,yBAAyB,EAAE,KAAK;QAChC,4BAA4B,EAAE,KAAK;QACnC,0BAA0B,EAAE,KAAK;QACjC,kBAAkB,EAAE,KAAK;QACzB,uBAAuB,EAAE,KAAK;QAC9B,gCAAgC,EAAE,GAAG;QACrC,gBAAgB,EAAE,GAAG;QACrB,0BAA0B,EAAE,KAAK;QACjC,uBAAuB,EAAE,KAAK;QAC9B,uBAAuB,EAAE,KAAK;QAC9B,wBAAwB,EAAE,IAAI;QAC9B,8BAA8B,EAAE,KAAK;QACrC,4BAA4B,EAAE,KAAK;QACnC,4BAA4B,EAAE,KAAK;QACnC,wBAAwB,EAAE,KAAK;QAC/B,wBAAwB,EAAE,KAAK;QAC/B,4BAA4B,EAAE,GAAG;QACjC,0BAA0B,EAAE,KAAK;QACjC,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,mBAAmB,EAAE,KAAK;gBAC1B,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,+BAA+B,EAAE,GAAG;QACpC,8BAA8B,EAAE,GAAG;KACpC;CACO,CAAC"}