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 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAME"}
@@ -1,13 +0,0 @@
1
- import js from "../js/index.js";
2
- import disable from "./disable.js";
3
- import disable_x from "./disable_x.js";
4
- import enable_x from "./enable_x.js";
5
- import enable from "./enable.js";
6
- export default [
7
- ...js,
8
- disable,
9
- disable_x,
10
- enable_x,
11
- enable,
12
- ];
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,OAAO,CAAC;AACvB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,GAAG,EAAE;IACL,OAAO;IACP,SAAS;IACT,QAAQ;IACR,MAAM;CACP,CAAC"}
@@ -1,39 +0,0 @@
1
- declare const _default: readonly ["enable", {
2
- readonly "yml/block-mapping-colon-indicator-newline": readonly ["error", "never"];
3
- readonly "yml/block-mapping-question-indicator-newline": readonly ["error", "never"];
4
- readonly "yml/block-mapping": readonly ["error", {
5
- readonly singleline: "never";
6
- readonly multiline: "always";
7
- }];
8
- readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
9
- readonly nestedHyphen: "always";
10
- readonly blockMapping: "never";
11
- }];
12
- readonly "yml/block-sequence": readonly ["error", {
13
- readonly singleline: "always";
14
- readonly multiline: "always";
15
- }];
16
- readonly "yml/file-extension": "off";
17
- readonly "yml/indent": readonly ["error", 2, {
18
- readonly indentBlockSequences: true;
19
- readonly indicatorValueIndent: 2;
20
- }];
21
- readonly "yml/key-name-casing": "off";
22
- readonly "yml/no-empty-document": "error";
23
- readonly "yml/no-empty-key": "error";
24
- readonly "yml/no-empty-mapping-value": "error";
25
- readonly "yml/no-empty-sequence-entry": "error";
26
- readonly "yml/no-tab-indent": "error";
27
- readonly "yml/no-trailing-zeros": "error";
28
- readonly "yml/plain-scalar": readonly ["error", "always"];
29
- readonly "yml/quotes": readonly ["error", {
30
- readonly prefer: "double";
31
- readonly avoidEscape: true;
32
- }];
33
- readonly "yml/require-string-key": "error";
34
- readonly "yml/sort-keys": "off";
35
- readonly "yml/sort-sequence-values": "off";
36
- readonly "yml/vue-custom-block/no-parsing-error": "error";
37
- }];
38
- export default _default;
39
- //# sourceMappingURL=enable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAkEW"}
@@ -1,68 +0,0 @@
1
- import { enable, ERROR, OFF, Never, Always, Double, } from "../../_strings/index.js";
2
- export default [
3
- enable,
4
- {
5
- "yml/block-mapping-colon-indicator-newline": [
6
- ERROR,
7
- Never,
8
- ],
9
- "yml/block-mapping-question-indicator-newline": [
10
- ERROR,
11
- Never,
12
- ],
13
- "yml/block-mapping": [
14
- ERROR,
15
- {
16
- singleline: Never,
17
- multiline: Always,
18
- },
19
- ],
20
- "yml/block-sequence-hyphen-indicator-newline": [
21
- ERROR,
22
- Never,
23
- {
24
- nestedHyphen: Always,
25
- blockMapping: Never,
26
- },
27
- ],
28
- "yml/block-sequence": [
29
- ERROR,
30
- {
31
- singleline: Always,
32
- multiline: Always,
33
- },
34
- ],
35
- "yml/file-extension": OFF,
36
- "yml/indent": [
37
- ERROR,
38
- 2,
39
- {
40
- indentBlockSequences: true,
41
- indicatorValueIndent: 2,
42
- },
43
- ],
44
- "yml/key-name-casing": OFF,
45
- "yml/no-empty-document": ERROR,
46
- "yml/no-empty-key": ERROR,
47
- "yml/no-empty-mapping-value": ERROR,
48
- "yml/no-empty-sequence-entry": ERROR,
49
- "yml/no-tab-indent": ERROR,
50
- "yml/no-trailing-zeros": ERROR,
51
- "yml/plain-scalar": [
52
- ERROR,
53
- Always,
54
- ],
55
- "yml/quotes": [
56
- ERROR,
57
- {
58
- prefer: Double,
59
- avoidEscape: true,
60
- },
61
- ],
62
- "yml/require-string-key": ERROR,
63
- "yml/sort-keys": OFF,
64
- "yml/sort-sequence-values": OFF,
65
- "yml/vue-custom-block/no-parsing-error": ERROR,
66
- },
67
- ];
68
- //# sourceMappingURL=enable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,2CAA2C,EAAE;YAC3C,KAAK;YACL,KAAK;SACN;QACD,8CAA8C,EAAE;YAC9C,KAAK;YACL,KAAK;SACN;QACD,mBAAmB,EAAE;YACnB,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,6CAA6C,EAAE;YAC7C,KAAK;YACL,KAAK;YACL;gBACE,YAAY,EAAE,MAAM;gBACpB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL;gBACE,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,oBAAoB,EAAE,GAAG;QACzB,YAAY,EAAE;YACZ,KAAK;YACL,CAAC;YACD;gBACE,oBAAoB,EAAE,IAAI;gBAC1B,oBAAoB,EAAE,CAAC;aACxB;SACF;QACD,qBAAqB,EAAE,GAAG;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,KAAK;QACzB,4BAA4B,EAAE,KAAK;QACnC,6BAA6B,EAAE,KAAK;QACpC,mBAAmB,EAAE,KAAK;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE;YAClB,KAAK;YACL,MAAM;SACP;QACD,YAAY,EAAE;YACZ,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wBAAwB,EAAE,KAAK;QAC/B,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,GAAG;QAC/B,uCAAuC,EAAE,KAAK;KAC/C;CACO,CAAC"}
@@ -1,37 +0,0 @@
1
- declare const _default: readonly ["enable-extend", {
2
- readonly "yml/flow-mapping-curly-newline": readonly ["error", {
3
- readonly consistent: false;
4
- readonly multiline: true;
5
- readonly minProperties: 2;
6
- }];
7
- readonly "yml/flow-mapping-curly-spacing": readonly ["error", "always", {
8
- readonly arraysInObjects: true;
9
- readonly objectsInObjects: true;
10
- }];
11
- readonly "yml/flow-sequence-bracket-newline": readonly ["error", {
12
- readonly multiline: true;
13
- readonly minItems: null;
14
- }];
15
- readonly "yml/flow-sequence-bracket-spacing": readonly ["error", "never", {
16
- readonly singleValue: false;
17
- readonly objectsInArrays: false;
18
- readonly arraysInArrays: false;
19
- }];
20
- readonly "yml/key-spacing": readonly ["error", {
21
- readonly beforeColon: false;
22
- readonly afterColon: true;
23
- readonly mode: "strict";
24
- }];
25
- readonly "yml/no-irregular-whitespace": readonly ["error", {
26
- readonly skipQuotedScalars: true;
27
- readonly skipComments: false;
28
- }];
29
- readonly "yml/no-multiple-empty-lines": readonly ["error", {
30
- readonly max: 1;
31
- readonly maxEOF: 1;
32
- readonly maxBOF: 0;
33
- }];
34
- readonly "yml/spaced-comment": readonly ["error", "always"];
35
- }];
36
- export default _default;
37
- //# sourceMappingURL=enable_x.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAgEW"}
@@ -1,66 +0,0 @@
1
- import { enable_x, ERROR, Never, Always, Strict, } from "../../_strings/index.js";
2
- export default [
3
- enable_x,
4
- {
5
- "yml/flow-mapping-curly-newline": [
6
- ERROR,
7
- {
8
- consistent: false,
9
- multiline: true,
10
- minProperties: 2,
11
- },
12
- ],
13
- "yml/flow-mapping-curly-spacing": [
14
- ERROR,
15
- Always,
16
- {
17
- arraysInObjects: true,
18
- objectsInObjects: true,
19
- },
20
- ],
21
- "yml/flow-sequence-bracket-newline": [
22
- ERROR,
23
- {
24
- multiline: true,
25
- minItems: null,
26
- },
27
- ],
28
- "yml/flow-sequence-bracket-spacing": [
29
- ERROR,
30
- Never,
31
- {
32
- singleValue: false,
33
- objectsInArrays: false,
34
- arraysInArrays: false,
35
- },
36
- ],
37
- "yml/key-spacing": [
38
- ERROR,
39
- {
40
- beforeColon: false,
41
- afterColon: true,
42
- mode: Strict,
43
- },
44
- ],
45
- "yml/no-irregular-whitespace": [
46
- ERROR,
47
- {
48
- skipQuotedScalars: true,
49
- skipComments: false,
50
- },
51
- ],
52
- "yml/no-multiple-empty-lines": [
53
- ERROR,
54
- {
55
- max: 1,
56
- maxEOF: 1,
57
- maxBOF: 0,
58
- },
59
- ],
60
- "yml/spaced-comment": [
61
- ERROR,
62
- Always,
63
- ],
64
- },
65
- ];
66
- //# sourceMappingURL=enable_x.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,gCAAgC,EAAE;YAChC,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,gCAAgC,EAAE;YAChC,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,iBAAiB,EAAE;YACjB,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,MAAM;SACP;KACF;CACO,CAAC"}
@@ -1,73 +0,0 @@
1
- declare const _default: (readonly ["enable-extend", {
2
- readonly "yml/flow-mapping-curly-newline": readonly ["error", {
3
- readonly consistent: false;
4
- readonly multiline: true;
5
- readonly minProperties: 2;
6
- }];
7
- readonly "yml/flow-mapping-curly-spacing": readonly ["error", "always", {
8
- readonly arraysInObjects: true;
9
- readonly objectsInObjects: true;
10
- }];
11
- readonly "yml/flow-sequence-bracket-newline": readonly ["error", {
12
- readonly multiline: true;
13
- readonly minItems: null;
14
- }];
15
- readonly "yml/flow-sequence-bracket-spacing": readonly ["error", "never", {
16
- readonly singleValue: false;
17
- readonly objectsInArrays: false;
18
- readonly arraysInArrays: false;
19
- }];
20
- readonly "yml/key-spacing": readonly ["error", {
21
- readonly beforeColon: false;
22
- readonly afterColon: true;
23
- readonly mode: "strict";
24
- }];
25
- readonly "yml/no-irregular-whitespace": readonly ["error", {
26
- readonly skipQuotedScalars: true;
27
- readonly skipComments: false;
28
- }];
29
- readonly "yml/no-multiple-empty-lines": readonly ["error", {
30
- readonly max: 1;
31
- readonly maxEOF: 1;
32
- readonly maxBOF: 0;
33
- }];
34
- readonly "yml/spaced-comment": readonly ["error", "always"];
35
- }] | readonly ["enable", {
36
- readonly "yml/block-mapping-colon-indicator-newline": readonly ["error", "never"];
37
- readonly "yml/block-mapping-question-indicator-newline": readonly ["error", "never"];
38
- readonly "yml/block-mapping": readonly ["error", {
39
- readonly singleline: "never";
40
- readonly multiline: "always";
41
- }];
42
- readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
43
- readonly nestedHyphen: "always";
44
- readonly blockMapping: "never";
45
- }];
46
- readonly "yml/block-sequence": readonly ["error", {
47
- readonly singleline: "always";
48
- readonly multiline: "always";
49
- }];
50
- readonly "yml/file-extension": "off";
51
- readonly "yml/indent": readonly ["error", 2, {
52
- readonly indentBlockSequences: true;
53
- readonly indicatorValueIndent: 2;
54
- }];
55
- readonly "yml/key-name-casing": "off";
56
- readonly "yml/no-empty-document": "error";
57
- readonly "yml/no-empty-key": "error";
58
- readonly "yml/no-empty-mapping-value": "error";
59
- readonly "yml/no-empty-sequence-entry": "error";
60
- readonly "yml/no-tab-indent": "error";
61
- readonly "yml/no-trailing-zeros": "error";
62
- readonly "yml/plain-scalar": readonly ["error", "always"];
63
- readonly "yml/quotes": readonly ["error", {
64
- readonly prefer: "double";
65
- readonly avoidEscape: true;
66
- }];
67
- readonly "yml/require-string-key": "error";
68
- readonly "yml/sort-keys": "off";
69
- readonly "yml/sort-sequence-values": "off";
70
- readonly "yml/vue-custom-block/no-parsing-error": "error";
71
- }])[];
72
- export default _default;
73
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/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/yml/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,7 +0,0 @@
1
- export declare const settings: {
2
- readonly ecmaVersion: 2023;
3
- readonly sourceType: "module";
4
- readonly noInlineConfig: true;
5
- readonly reportUnusedDisableDirectives: "error";
6
- };
7
- //# sourceMappingURL=settings.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;CAKX,CAAC"}
package/dist/settings.js DELETED
@@ -1,7 +0,0 @@
1
- export const settings = {
2
- ecmaVersion: 2023,
3
- sourceType: "module",
4
- noInlineConfig: true,
5
- reportUnusedDisableDirectives: "error",
6
- };
7
- //# sourceMappingURL=settings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,WAAW,EAAE,IAAI;IACjB,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,IAAI;IACpB,6BAA6B,EAAE,OAAO;CAC9B,CAAC"}
@@ -1,8 +0,0 @@
1
- export const
2
- disable = "disable",
3
- disable_x = "disable-extend",
4
- enable_x = "enable-extend",
5
- enable = "enable",
6
- override = "override",
7
- stylistic = "stylistic",
8
- recommended = "recommended";
@@ -1,6 +0,0 @@
1
- export * from "./id";
2
- export * from "./level";
3
- export * from "./state";
4
- export * as id from "./id";
5
- export * as state from "./state";
6
- export * as level from "./level";
@@ -1,31 +0,0 @@
1
- import { expect } from "chai";
2
- import * as level from "./level";
3
-
4
- describe("Strings:Level", function () {
5
- describe("shape", function () {
6
- it("is module", function () {
7
- expect(level)
8
- .a("module");
9
- });
10
- });
11
- describe("count", function () {
12
- it("is 3", function () {
13
- expect(Object.keys(level))
14
- .lengthOf(3);
15
- });
16
- });
17
- describe("unique count", function () {
18
- it("is 3", function () {
19
- expect(new Map(Object.entries(level)))
20
- .lengthOf(3);
21
- });
22
- });
23
- describe("values", function () {
24
- it("are: error, warn, off", function () {
25
- expect(new Map(Object.entries(level)))
26
- .includes("error")
27
- .and.includes("warn")
28
- .and.includes("off");
29
- });
30
- });
31
- });
@@ -1,4 +0,0 @@
1
- export const
2
- ERROR = "error",
3
- WARN = "warn",
4
- OFF = "off";
@@ -1,28 +0,0 @@
1
- export const
2
- Ignore = "ignore",
3
- Never = "never",
4
- Always = "always",
5
- AlwaysMultiline = "always-multiline",
6
- Multiline = "multiline",
7
- Consistent = "consistent",
8
- Consecutive = "consecutive",
9
- AsNeeded = "as-needed",
10
- Explicit = "explicit",
11
- Allow = "allow",
12
- Strict = "strict",
13
- Any = "any",
14
- All = "all",
15
- Star = "*",
16
- First = "first",
17
- Last = "last",
18
- Before = "before",
19
- After = "after",
20
- Above = "above",
21
- Below = "below",
22
- Beside = "beside",
23
- Inside = "inside",
24
- Outside = "outside",
25
- Single = "single",
26
- Double = "double",
27
- Multi = "multi",
28
- Both = "both";
@@ -1,20 +0,0 @@
1
- import js from "./scopes/js";
2
- import ts from "./scopes/ts";
3
- import svelte from "./scopes/svelte";
4
- import mocha from "./scopes/mocha";
5
- import html from "./scopes/html";
6
- import json from "./scopes/json";
7
- import jsonc from "./scopes/jsonc";
8
- import yml from "./scopes/yml";
9
-
10
- export default {
11
- "*": [],
12
- js,
13
- ts,
14
- svelte,
15
- mocha,
16
- html,
17
- json,
18
- jsonc,
19
- yml,
20
- };
@@ -1 +0,0 @@
1
- export default ["{src,tests,static,public}/**/*.html"];
@@ -1,4 +0,0 @@
1
- export default [
2
- "*.{c,m,}js{,x}",
3
- "{src,tests,static,typings}/**/*.{c,m,}js{,x}",
4
- ];
@@ -1 +0,0 @@
1
- export default ["**/*.json"];
@@ -1,5 +0,0 @@
1
- export default [
2
- "**/*.jsonc",
3
- "**/tsconfig.json",
4
- "{,**/.vscode/**/*}",
5
- ];
@@ -1,4 +0,0 @@
1
- export default [
2
- "**/*.{spec,test}.{c,m,}ts",
3
- "**/test{s,}/**/*.{c,m,}ts",
4
- ];
@@ -1 +0,0 @@
1
- export default ["{src,tests,static}/**/*.svelte"];
@@ -1 +0,0 @@
1
- export default ["**/*.{c,m,}ts{,x}"];
@@ -1 +0,0 @@
1
- export default ["**/*.y{a,}ml"];
@@ -1,31 +0,0 @@
1
- import js from "./scopes/js";
2
- import ts from "./scopes/ts";
3
- import svelte from "./scopes/svelte";
4
- import mocha from "./scopes/mocha";
5
- import html from "./scopes/html";
6
- import json from "./scopes/json";
7
- import jsonc from "./scopes/jsonc";
8
- import yml from "./scopes/yml";
9
-
10
- export default {
11
- "*": [
12
- // "**/node_modules/", /* ESLint @default */,
13
- // ".git/", /* ESLint @default */,
14
- "{,**/.git/}",
15
- "**/*package-lock.json",
16
- "**/dist/",
17
- "**/buil{d,t}/",
18
- "**/bundle{,d}/",
19
- "**/pack{,ed}/",
20
- "{,**/.svelte-kit/}",
21
- "{,**/.Trash/}",
22
- ],
23
- js,
24
- ts,
25
- svelte,
26
- mocha,
27
- html,
28
- json,
29
- jsonc,
30
- yml,
31
- };
@@ -1 +0,0 @@
1
- export default [];
@@ -1 +0,0 @@
1
- export default [];
@@ -1 +0,0 @@
1
- export default [];
@@ -1 +0,0 @@
1
- export default [];
@@ -1 +0,0 @@
1
- export default [];
@@ -1 +0,0 @@
1
- export default [];
@@ -1 +0,0 @@
1
- export default [];
@@ -1 +0,0 @@
1
- export default [];