@eslinted/core 4.0.3 → 4.0.5-rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. package/.github/workflows/RELEASE.yml +1 -0
  2. package/.github/workflows/rc.yml +1 -0
  3. package/package.json +19 -5
  4. package/src/factory/{files/index.ts → files.ts} +4 -4
  5. package/src/factory/index.ts +3 -6
  6. package/src/factory/options/{option/html/index.ts → html.ts} +1 -1
  7. package/src/factory/options/index.ts +9 -9
  8. package/src/factory/options/{option/js/index.ts → js.ts} +1 -1
  9. package/src/factory/options/{option/json/index.ts → json.ts} +1 -1
  10. package/src/factory/options/{option/jsonc/index.ts → jsonc.ts} +1 -1
  11. package/src/factory/options/{option/md/index.ts → md.ts} +1 -1
  12. package/src/factory/options/{option/mocha/index.ts → mocha.ts} +2 -2
  13. package/src/factory/options/option/index.ts +19 -13
  14. package/src/factory/options/option/params/globals.ts +3 -0
  15. package/src/{boundary/output/config/option/language/index.ts → factory/options/option/params/language.ts} +3 -5
  16. package/src/factory/options/option/params/languageOptions/ecma.ts +1 -0
  17. package/src/factory/options/option/params/languageOptions/source.ts +1 -0
  18. package/src/{boundary/output/config/option/linter/index.ts → factory/options/option/params/linter.ts} +1 -1
  19. package/src/factory/options/option/params/plugins.ts +1 -0
  20. package/src/factory/options/option/template.ts +24 -0
  21. package/src/factory/options/{option/svelte/index.ts → svelte.ts} +2 -2
  22. package/src/factory/options/{option/ts/index.ts → ts.ts} +2 -2
  23. package/src/factory/options/{option/yml/index.ts → yml.ts} +1 -1
  24. package/src/factory/{rulesets/ruleset → ruleset}/index.ts +5 -4
  25. package/src/factory/ruleset/rule.ts +8 -0
  26. package/src/factory/{rulesets/index.ts → rulesets.ts} +5 -5
  27. package/src/index.ts +20 -19
  28. package/src/input.ts +11 -0
  29. package/src/inputs/files/base.ts +3 -0
  30. package/src/inputs/files/includes.ts +3 -0
  31. package/src/inputs/files.ts +7 -0
  32. package/src/inputs/imports/parsers.ts +11 -0
  33. package/src/{dependency/plugins/index.ts → inputs/imports/plugins.ts} +2 -5
  34. package/src/inputs/imports.ts +2 -0
  35. package/src/inputs/parsers.ts +3 -0
  36. package/src/inputs/plugins.ts +3 -0
  37. package/src/inputs/rules/entry/index.ts +3 -0
  38. package/src/inputs/rules/entry/object/index.ts +7 -0
  39. package/src/inputs/rules/entry/object/state/index.ts +4 -0
  40. package/src/inputs/rules/overrides.ts +4 -0
  41. package/src/inputs/rules/preset.ts +4 -0
  42. package/src/inputs/rules.ts +7 -0
  43. package/src/{boundary/output/config/index.ts → output.ts} +3 -4
  44. package/src/{scopes/index.ts → scopes.ts} +1 -3
  45. package/dist/boundary/index.d.ts +0 -9
  46. package/dist/boundary/index.d.ts.map +0 -1
  47. package/dist/boundary/index.js +0 -2
  48. package/dist/boundary/index.js.map +0 -1
  49. package/dist/boundary/input/files/default/index.d.ts +0 -4
  50. package/dist/boundary/input/files/default/index.d.ts.map +0 -1
  51. package/dist/boundary/input/files/default/index.js +0 -2
  52. package/dist/boundary/input/files/default/index.js.map +0 -1
  53. package/dist/boundary/input/files/includes/index.d.ts +0 -4
  54. package/dist/boundary/input/files/includes/index.d.ts.map +0 -1
  55. package/dist/boundary/input/files/includes/index.js +0 -2
  56. package/dist/boundary/input/files/includes/index.js.map +0 -1
  57. package/dist/boundary/input/files/index.d.ts +0 -8
  58. package/dist/boundary/input/files/index.d.ts.map +0 -1
  59. package/dist/boundary/input/files/index.js +0 -2
  60. package/dist/boundary/input/files/index.js.map +0 -1
  61. package/dist/boundary/input/index.d.ts +0 -14
  62. package/dist/boundary/input/index.d.ts.map +0 -1
  63. package/dist/boundary/input/index.js +0 -2
  64. package/dist/boundary/input/index.js.map +0 -1
  65. package/dist/boundary/input/parsers/index.d.ts +0 -4
  66. package/dist/boundary/input/parsers/index.d.ts.map +0 -1
  67. package/dist/boundary/input/parsers/index.js +0 -2
  68. package/dist/boundary/input/parsers/index.js.map +0 -1
  69. package/dist/boundary/input/plugins/index.d.ts +0 -6
  70. package/dist/boundary/input/plugins/index.d.ts.map +0 -1
  71. package/dist/boundary/input/plugins/index.js +0 -2
  72. package/dist/boundary/input/plugins/index.js.map +0 -1
  73. package/dist/boundary/input/rules/index.d.ts +0 -8
  74. package/dist/boundary/input/rules/index.d.ts.map +0 -1
  75. package/dist/boundary/input/rules/index.js +0 -2
  76. package/dist/boundary/input/rules/index.js.map +0 -1
  77. package/dist/boundary/input/rules/overrides/index.d.ts +0 -5
  78. package/dist/boundary/input/rules/overrides/index.d.ts.map +0 -1
  79. package/dist/boundary/input/rules/overrides/index.js +0 -2
  80. package/dist/boundary/input/rules/overrides/index.js.map +0 -1
  81. package/dist/boundary/input/rules/preset/entry/index.d.ts +0 -4
  82. package/dist/boundary/input/rules/preset/entry/index.d.ts.map +0 -1
  83. package/dist/boundary/input/rules/preset/entry/index.js +0 -2
  84. package/dist/boundary/input/rules/preset/entry/index.js.map +0 -1
  85. package/dist/boundary/input/rules/preset/entry/object/index.d.ts +0 -4
  86. package/dist/boundary/input/rules/preset/entry/object/index.d.ts.map +0 -1
  87. package/dist/boundary/input/rules/preset/entry/object/index.js +0 -2
  88. package/dist/boundary/input/rules/preset/entry/object/index.js.map +0 -1
  89. package/dist/boundary/input/rules/preset/entry/object/state/index.d.ts +0 -3
  90. package/dist/boundary/input/rules/preset/entry/object/state/index.d.ts.map +0 -1
  91. package/dist/boundary/input/rules/preset/entry/object/state/index.js +0 -2
  92. package/dist/boundary/input/rules/preset/entry/object/state/index.js.map +0 -1
  93. package/dist/boundary/input/rules/preset/index.d.ts +0 -5
  94. package/dist/boundary/input/rules/preset/index.d.ts.map +0 -1
  95. package/dist/boundary/input/rules/preset/index.js +0 -2
  96. package/dist/boundary/input/rules/preset/index.js.map +0 -1
  97. package/dist/boundary/output/config/index.d.ts +0 -22
  98. package/dist/boundary/output/config/index.d.ts.map +0 -1
  99. package/dist/boundary/output/config/index.js +0 -2
  100. package/dist/boundary/output/config/index.js.map +0 -1
  101. package/dist/boundary/output/config/option/index.d.ts +0 -14
  102. package/dist/boundary/output/config/option/index.d.ts.map +0 -1
  103. package/dist/boundary/output/config/option/index.js +0 -2
  104. package/dist/boundary/output/config/option/index.js.map +0 -1
  105. package/dist/boundary/output/config/option/language/ecma/index.d.ts +0 -3
  106. package/dist/boundary/output/config/option/language/ecma/index.d.ts.map +0 -1
  107. package/dist/boundary/output/config/option/language/ecma/index.js +0 -2
  108. package/dist/boundary/output/config/option/language/ecma/index.js.map +0 -1
  109. package/dist/boundary/output/config/option/language/index.d.ts +0 -15
  110. package/dist/boundary/output/config/option/language/index.d.ts.map +0 -1
  111. package/dist/boundary/output/config/option/language/index.js +0 -2
  112. package/dist/boundary/output/config/option/language/index.js.map +0 -1
  113. package/dist/boundary/output/config/option/language/source/index.d.ts +0 -3
  114. package/dist/boundary/output/config/option/language/source/index.d.ts.map +0 -1
  115. package/dist/boundary/output/config/option/language/source/index.js +0 -2
  116. package/dist/boundary/output/config/option/language/source/index.js.map +0 -1
  117. package/dist/boundary/output/config/option/linter/index.d.ts +0 -5
  118. package/dist/boundary/output/config/option/linter/index.d.ts.map +0 -1
  119. package/dist/boundary/output/config/option/linter/index.js +0 -2
  120. package/dist/boundary/output/config/option/linter/index.js.map +0 -1
  121. package/dist/boundary/output/config/option/plugins/index.d.ts +0 -5
  122. package/dist/boundary/output/config/option/plugins/index.d.ts.map +0 -1
  123. package/dist/boundary/output/config/option/plugins/index.js +0 -2
  124. package/dist/boundary/output/config/option/plugins/index.js.map +0 -1
  125. package/dist/boundary/output/index.d.ts +0 -3
  126. package/dist/boundary/output/index.d.ts.map +0 -1
  127. package/dist/boundary/output/index.js +0 -2
  128. package/dist/boundary/output/index.js.map +0 -1
  129. package/dist/dependency/globals/index.d.ts +0 -4
  130. package/dist/dependency/globals/index.d.ts.map +0 -1
  131. package/dist/dependency/globals/index.js +0 -2
  132. package/dist/dependency/globals/index.js.map +0 -1
  133. package/dist/dependency/index.d.ts +0 -5
  134. package/dist/dependency/index.d.ts.map +0 -1
  135. package/dist/dependency/index.js +0 -2
  136. package/dist/dependency/index.js.map +0 -1
  137. package/dist/dependency/parsers/index.d.ts +0 -4
  138. package/dist/dependency/parsers/index.d.ts.map +0 -1
  139. package/dist/dependency/parsers/index.js +0 -2
  140. package/dist/dependency/parsers/index.js.map +0 -1
  141. package/dist/dependency/plugins/index.d.ts +0 -3
  142. package/dist/dependency/plugins/index.d.ts.map +0 -1
  143. package/dist/dependency/plugins/index.js +0 -2
  144. package/dist/dependency/plugins/index.js.map +0 -1
  145. package/dist/factory/files/index.d.ts +0 -8
  146. package/dist/factory/files/index.d.ts.map +0 -1
  147. package/dist/factory/files/index.js +0 -16
  148. package/dist/factory/files/index.js.map +0 -1
  149. package/dist/factory/index.d.ts +0 -7
  150. package/dist/factory/index.d.ts.map +0 -1
  151. package/dist/factory/index.js +0 -7
  152. package/dist/factory/index.js.map +0 -1
  153. package/dist/factory/options/index.d.ts +0 -22
  154. package/dist/factory/options/index.d.ts.map +0 -1
  155. package/dist/factory/options/index.js +0 -21
  156. package/dist/factory/options/index.js.map +0 -1
  157. package/dist/factory/options/option/html/index.d.ts +0 -9
  158. package/dist/factory/options/option/html/index.d.ts.map +0 -1
  159. package/dist/factory/options/option/html/index.js +0 -10
  160. package/dist/factory/options/option/html/index.js.map +0 -1
  161. package/dist/factory/options/option/index.d.ts +0 -2989
  162. package/dist/factory/options/option/index.d.ts.map +0 -1
  163. package/dist/factory/options/option/index.js +0 -56
  164. package/dist/factory/options/option/index.js.map +0 -1
  165. package/dist/factory/options/option/js/index.d.ts +0 -10
  166. package/dist/factory/options/option/js/index.d.ts.map +0 -1
  167. package/dist/factory/options/option/js/index.js +0 -12
  168. package/dist/factory/options/option/js/index.js.map +0 -1
  169. package/dist/factory/options/option/json/index.d.ts +0 -9
  170. package/dist/factory/options/option/json/index.d.ts.map +0 -1
  171. package/dist/factory/options/option/json/index.js +0 -10
  172. package/dist/factory/options/option/json/index.js.map +0 -1
  173. package/dist/factory/options/option/jsonc/index.d.ts +0 -9
  174. package/dist/factory/options/option/jsonc/index.d.ts.map +0 -1
  175. package/dist/factory/options/option/jsonc/index.js +0 -10
  176. package/dist/factory/options/option/jsonc/index.js.map +0 -1
  177. package/dist/factory/options/option/md/index.d.ts +0 -9
  178. package/dist/factory/options/option/md/index.d.ts.map +0 -1
  179. package/dist/factory/options/option/md/index.js +0 -10
  180. package/dist/factory/options/option/md/index.js.map +0 -1
  181. package/dist/factory/options/option/mocha/index.d.ts +0 -40
  182. package/dist/factory/options/option/mocha/index.d.ts.map +0 -1
  183. package/dist/factory/options/option/mocha/index.js +0 -17
  184. package/dist/factory/options/option/mocha/index.js.map +0 -1
  185. package/dist/factory/options/option/svelte/index.d.ts +0 -27
  186. package/dist/factory/options/option/svelte/index.d.ts.map +0 -1
  187. package/dist/factory/options/option/svelte/index.js +0 -21
  188. package/dist/factory/options/option/svelte/index.js.map +0 -1
  189. package/dist/factory/options/option/ts/index.d.ts +0 -19
  190. package/dist/factory/options/option/ts/index.d.ts.map +0 -1
  191. package/dist/factory/options/option/ts/index.js +0 -15
  192. package/dist/factory/options/option/ts/index.js.map +0 -1
  193. package/dist/factory/options/option/yml/index.d.ts +0 -9
  194. package/dist/factory/options/option/yml/index.d.ts.map +0 -1
  195. package/dist/factory/options/option/yml/index.js +0 -10
  196. package/dist/factory/options/option/yml/index.js.map +0 -1
  197. package/dist/factory/rulesets/index.d.ts +0 -9
  198. package/dist/factory/rulesets/index.d.ts.map +0 -1
  199. package/dist/factory/rulesets/index.js +0 -17
  200. package/dist/factory/rulesets/index.js.map +0 -1
  201. package/dist/factory/rulesets/ruleset/index.d.ts +0 -13
  202. package/dist/factory/rulesets/ruleset/index.d.ts.map +0 -1
  203. package/dist/factory/rulesets/ruleset/index.js +0 -38
  204. package/dist/factory/rulesets/ruleset/index.js.map +0 -1
  205. package/dist/factory/rulesets/ruleset/rule/index.d.ts +0 -7
  206. package/dist/factory/rulesets/ruleset/rule/index.d.ts.map +0 -1
  207. package/dist/factory/rulesets/ruleset/rule/index.js +0 -9
  208. package/dist/factory/rulesets/ruleset/rule/index.js.map +0 -1
  209. package/dist/index.d.ts +0 -23
  210. package/dist/index.d.ts.map +0 -1
  211. package/dist/index.js +0 -31
  212. package/dist/index.js.map +0 -1
  213. package/dist/scopes/index.d.ts +0 -4
  214. package/dist/scopes/index.d.ts.map +0 -1
  215. package/dist/scopes/index.js +0 -13
  216. package/dist/scopes/index.js.map +0 -1
  217. package/src/boundary/index.ts +0 -15
  218. package/src/boundary/input/files/default/index.ts +0 -8
  219. package/src/boundary/input/files/includes/index.ts +0 -5
  220. package/src/boundary/input/files/index.ts +0 -11
  221. package/src/boundary/input/index.ts +0 -23
  222. package/src/boundary/input/parsers/index.ts +0 -5
  223. package/src/boundary/input/plugins/index.ts +0 -5
  224. package/src/boundary/input/rules/index.ts +0 -14
  225. package/src/boundary/input/rules/overrides/index.ts +0 -6
  226. package/src/boundary/input/rules/preset/entry/index.ts +0 -9
  227. package/src/boundary/input/rules/preset/entry/object/index.ts +0 -13
  228. package/src/boundary/input/rules/preset/entry/object/state/index.ts +0 -10
  229. package/src/boundary/input/rules/preset/index.ts +0 -10
  230. package/src/boundary/output/config/option/index.ts +0 -24
  231. package/src/boundary/output/config/option/language/ecma/index.ts +0 -3
  232. package/src/boundary/output/config/option/language/source/index.ts +0 -3
  233. package/src/boundary/output/config/option/plugins/index.ts +0 -3
  234. package/src/boundary/output/index.ts +0 -3
  235. package/src/dependency/globals/index.ts +0 -8
  236. package/src/dependency/index.ts +0 -5
  237. package/src/dependency/parsers/index.ts +0 -13
  238. package/src/factory/rulesets/ruleset/rule/index.ts +0 -8
@@ -1,10 +0,0 @@
1
- import Option from "../index.js";
2
- export default class Html extends Option {
3
- scope = "html";
4
- processor = {};
5
- get languageOptions() {
6
- const [parser] = this.parser;
7
- return { parser };
8
- }
9
- }
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/factory/options/option/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAMjC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,SAAS,GAAG,EAAW,CAAC;IAExC,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;IAC7B,CAAC;CACF"}