@eslinted/core 12.0.1 → 13.0.0-rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (407) hide show
  1. package/dist/config/index.d.ts +23 -0
  2. package/dist/config/index.d.ts.map +1 -0
  3. package/dist/{objects → config}/index.js.map +1 -1
  4. package/dist/config/rule.d.ts +7 -0
  5. package/dist/config/rule.d.ts.map +1 -0
  6. package/dist/config/rule.js +2 -0
  7. package/dist/config/rule.js.map +1 -0
  8. package/dist/factory/global.d.ts +13 -10
  9. package/dist/factory/global.d.ts.map +1 -1
  10. package/dist/factory/global.js +20 -18
  11. package/dist/factory/global.js.map +1 -1
  12. package/dist/factory/index.d.ts +2 -16
  13. package/dist/factory/index.d.ts.map +1 -1
  14. package/dist/factory/index.js +2 -21
  15. package/dist/factory/index.js.map +1 -1
  16. package/dist/factory/options/index.d.ts +10 -9
  17. package/dist/factory/options/index.d.ts.map +1 -1
  18. package/dist/factory/options/index.js +8 -8
  19. package/dist/factory/options/index.js.map +1 -1
  20. package/dist/factory/options/{option/index.d.ts → option.d.ts} +27 -14
  21. package/dist/factory/options/{option/index.d.ts.map → option.d.ts.map} +1 -1
  22. package/dist/factory/options/{option/index.js → option.js} +5 -3
  23. package/dist/factory/options/option.js.map +1 -0
  24. package/dist/factory/options/proto.d.ts +19 -0
  25. package/dist/factory/options/proto.d.ts.map +1 -0
  26. package/dist/factory/options/proto.js +2 -0
  27. package/dist/factory/options/proto.js.map +1 -0
  28. package/dist/factory/options/{html.d.ts → scopes/html.d.ts} +2 -2
  29. package/dist/factory/options/scopes/html.d.ts.map +1 -0
  30. package/dist/factory/options/{html.js → scopes/html.js} +1 -1
  31. package/dist/factory/options/scopes/html.js.map +1 -0
  32. package/dist/factory/options/{js.d.ts → scopes/js.d.ts} +1 -1
  33. package/dist/factory/options/scopes/js.d.ts.map +1 -0
  34. package/dist/factory/options/{js.js → scopes/js.js} +1 -1
  35. package/dist/factory/options/scopes/js.js.map +1 -0
  36. package/dist/factory/options/{json.d.ts → scopes/json.d.ts} +2 -2
  37. package/dist/factory/options/scopes/json.d.ts.map +1 -0
  38. package/dist/factory/options/{json.js → scopes/json.js} +1 -1
  39. package/dist/factory/options/scopes/json.js.map +1 -0
  40. package/dist/factory/options/{jsonc.d.ts → scopes/jsonc.d.ts} +2 -2
  41. package/dist/factory/options/scopes/jsonc.d.ts.map +1 -0
  42. package/dist/factory/options/{jsonc.js → scopes/jsonc.js} +1 -1
  43. package/dist/factory/options/scopes/jsonc.js.map +1 -0
  44. package/dist/factory/options/{mocha.d.ts → scopes/mocha.d.ts} +1 -1
  45. package/dist/factory/options/scopes/mocha.d.ts.map +1 -0
  46. package/dist/factory/options/{mocha.js → scopes/mocha.js} +1 -1
  47. package/dist/factory/options/scopes/mocha.js.map +1 -0
  48. package/dist/factory/options/{svelte.d.ts → scopes/svelte.d.ts} +2 -2
  49. package/dist/factory/options/scopes/svelte.d.ts.map +1 -0
  50. package/dist/factory/options/{svelte.js → scopes/svelte.js} +1 -1
  51. package/dist/factory/options/scopes/svelte.js.map +1 -0
  52. package/dist/factory/options/{ts.d.ts → scopes/ts.d.ts} +1 -1
  53. package/dist/factory/options/scopes/ts.d.ts.map +1 -0
  54. package/dist/factory/options/{ts.js → scopes/ts.js} +1 -1
  55. package/dist/factory/options/scopes/ts.js.map +1 -0
  56. package/dist/factory/options/{yml.d.ts → scopes/yml.d.ts} +1 -1
  57. package/dist/factory/options/scopes/yml.d.ts.map +1 -0
  58. package/dist/factory/options/{yml.js → scopes/yml.js} +1 -1
  59. package/dist/factory/options/scopes/yml.js.map +1 -0
  60. package/dist/factory/ruleset.d.ts +10 -0
  61. package/dist/factory/ruleset.d.ts.map +1 -0
  62. package/dist/factory/ruleset.js +18 -0
  63. package/dist/factory/ruleset.js.map +1 -0
  64. package/dist/factory/scoped.d.ts +13 -0
  65. package/dist/factory/scoped.d.ts.map +1 -0
  66. package/dist/factory/scoped.js +17 -0
  67. package/dist/factory/scoped.js.map +1 -0
  68. package/dist/index.d.ts +4 -4
  69. package/dist/index.d.ts.map +1 -1
  70. package/dist/index.js +4 -4
  71. package/dist/index.js.map +1 -1
  72. package/dist/interface/imports/index.d.ts +3 -0
  73. package/dist/interface/imports/index.d.ts.map +1 -0
  74. package/dist/{objects/config → interface/imports}/index.js.map +1 -1
  75. package/dist/interface/index.d.ts +3 -3
  76. package/dist/interface/index.d.ts.map +1 -1
  77. package/dist/interface/input.d.ts +18 -0
  78. package/dist/interface/input.d.ts.map +1 -0
  79. package/dist/interface/input.js +2 -0
  80. package/dist/interface/input.js.map +1 -0
  81. package/dist/interface/output.d.ts +17 -0
  82. package/dist/interface/output.d.ts.map +1 -0
  83. package/dist/interface/output.js +2 -0
  84. package/dist/interface/output.js.map +1 -0
  85. package/dist/{scopes/index.d.ts → scopes.d.ts} +2 -2
  86. package/dist/scopes.d.ts.map +1 -0
  87. package/dist/{scopes/index.js → scopes.js} +1 -1
  88. package/dist/scopes.js.map +1 -0
  89. package/dist/scopes.spec.d.ts +2 -0
  90. package/dist/scopes.spec.d.ts.map +1 -0
  91. package/dist/{scopes/index.spec.js → scopes.spec.js} +2 -2
  92. package/dist/scopes.spec.js.map +1 -0
  93. package/package.json +1 -1
  94. package/src/config/index.ts +42 -0
  95. package/src/config/rule.ts +14 -0
  96. package/src/factory/global.ts +20 -18
  97. package/src/factory/index.ts +2 -35
  98. package/src/factory/options/index.ts +10 -13
  99. package/src/factory/options/{option/index.ts → option.ts} +35 -31
  100. package/src/factory/options/proto.ts +46 -0
  101. package/src/factory/options/{html.ts → scopes/html.ts} +2 -3
  102. package/src/factory/options/{js.ts → scopes/js.ts} +1 -1
  103. package/src/factory/options/{json.ts → scopes/json.ts} +2 -3
  104. package/src/factory/options/{jsonc.ts → scopes/jsonc.ts} +2 -3
  105. package/src/factory/options/{mocha.ts → scopes/mocha.ts} +1 -1
  106. package/src/factory/options/{svelte.ts → scopes/svelte.ts} +2 -2
  107. package/src/factory/options/{ts.ts → scopes/ts.ts} +1 -1
  108. package/src/factory/options/{yml.ts → scopes/yml.ts} +1 -1
  109. package/src/factory/ruleset.ts +27 -0
  110. package/src/factory/scoped.ts +17 -0
  111. package/src/index.ts +19 -35
  112. package/src/interface/imports/index.ts +16 -0
  113. package/src/interface/index.ts +3 -11
  114. package/src/interface/input.ts +26 -0
  115. package/src/interface/output.ts +24 -0
  116. package/src/{scopes/index.spec.ts → scopes.spec.ts} +1 -1
  117. package/src/{scopes/index.ts → scopes.ts} +1 -1
  118. package/dist/factory/files.d.ts +0 -7
  119. package/dist/factory/files.d.ts.map +0 -1
  120. package/dist/factory/files.js +0 -17
  121. package/dist/factory/files.js.map +0 -1
  122. package/dist/factory/ignores.d.ts +0 -7
  123. package/dist/factory/ignores.d.ts.map +0 -1
  124. package/dist/factory/ignores.js +0 -17
  125. package/dist/factory/ignores.js.map +0 -1
  126. package/dist/factory/options/html.d.ts.map +0 -1
  127. package/dist/factory/options/html.js.map +0 -1
  128. package/dist/factory/options/js.d.ts.map +0 -1
  129. package/dist/factory/options/js.js.map +0 -1
  130. package/dist/factory/options/json.d.ts.map +0 -1
  131. package/dist/factory/options/json.js.map +0 -1
  132. package/dist/factory/options/jsonc.d.ts.map +0 -1
  133. package/dist/factory/options/jsonc.js.map +0 -1
  134. package/dist/factory/options/mocha.d.ts.map +0 -1
  135. package/dist/factory/options/mocha.js.map +0 -1
  136. package/dist/factory/options/option/index.js.map +0 -1
  137. package/dist/factory/options/option/template/globals.d.ts +0 -3
  138. package/dist/factory/options/option/template/globals.d.ts.map +0 -1
  139. package/dist/factory/options/option/template/globals.js +0 -2
  140. package/dist/factory/options/option/template/globals.js.map +0 -1
  141. package/dist/factory/options/option/template/index.d.ts +0 -11
  142. package/dist/factory/options/option/template/index.d.ts.map +0 -1
  143. package/dist/factory/options/option/template/index.js.map +0 -1
  144. package/dist/factory/options/option/template/languageOptions.d.ts +0 -9
  145. package/dist/factory/options/option/template/languageOptions.d.ts.map +0 -1
  146. package/dist/factory/options/option/template/languageOptions.js +0 -2
  147. package/dist/factory/options/option/template/languageOptions.js.map +0 -1
  148. package/dist/factory/options/svelte.d.ts.map +0 -1
  149. package/dist/factory/options/svelte.js.map +0 -1
  150. package/dist/factory/options/ts.d.ts.map +0 -1
  151. package/dist/factory/options/ts.js.map +0 -1
  152. package/dist/factory/options/yml.d.ts.map +0 -1
  153. package/dist/factory/options/yml.js.map +0 -1
  154. package/dist/factory/rules/index.d.ts +0 -9
  155. package/dist/factory/rules/index.d.ts.map +0 -1
  156. package/dist/factory/rules/index.js +0 -15
  157. package/dist/factory/rules/index.js.map +0 -1
  158. package/dist/factory/rules/ruleset.d.ts +0 -10
  159. package/dist/factory/rules/ruleset.d.ts.map +0 -1
  160. package/dist/factory/rules/ruleset.js +0 -20
  161. package/dist/factory/rules/ruleset.js.map +0 -1
  162. package/dist/interface/input/global/ignores/defaults.d.ts +0 -3
  163. package/dist/interface/input/global/ignores/defaults.d.ts.map +0 -1
  164. package/dist/interface/input/global/ignores/defaults.js +0 -2
  165. package/dist/interface/input/global/ignores/defaults.js.map +0 -1
  166. package/dist/interface/input/global/ignores/extend.d.ts +0 -5
  167. package/dist/interface/input/global/ignores/extend.d.ts.map +0 -1
  168. package/dist/interface/input/global/ignores/extend.js +0 -2
  169. package/dist/interface/input/global/ignores/extend.js.map +0 -1
  170. package/dist/interface/input/global/ignores/index.d.ts +0 -8
  171. package/dist/interface/input/global/ignores/index.d.ts.map +0 -1
  172. package/dist/interface/input/global/ignores/index.js.map +0 -1
  173. package/dist/interface/input/global/index.d.ts +0 -6
  174. package/dist/interface/input/global/index.d.ts.map +0 -1
  175. package/dist/interface/input/global/index.js +0 -2
  176. package/dist/interface/input/global/index.js.map +0 -1
  177. package/dist/interface/input/imports/index.d.ts +0 -8
  178. package/dist/interface/input/imports/index.d.ts.map +0 -1
  179. package/dist/interface/input/imports/index.js +0 -2
  180. package/dist/interface/input/imports/index.js.map +0 -1
  181. package/dist/interface/input/imports/parsers/index.d.ts +0 -4
  182. package/dist/interface/input/imports/parsers/index.d.ts.map +0 -1
  183. package/dist/interface/input/imports/parsers/index.js +0 -2
  184. package/dist/interface/input/imports/parsers/index.js.map +0 -1
  185. package/dist/interface/input/imports/parsers/parser.d.ts +0 -3
  186. package/dist/interface/input/imports/parsers/parser.d.ts.map +0 -1
  187. package/dist/interface/input/imports/parsers/parser.js +0 -2
  188. package/dist/interface/input/imports/parsers/parser.js.map +0 -1
  189. package/dist/interface/input/imports/plugins.d.ts +0 -3
  190. package/dist/interface/input/imports/plugins.d.ts.map +0 -1
  191. package/dist/interface/input/imports/plugins.js +0 -2
  192. package/dist/interface/input/imports/plugins.js.map +0 -1
  193. package/dist/interface/input/index.d.ts +0 -7
  194. package/dist/interface/input/index.d.ts.map +0 -1
  195. package/dist/interface/input/index.js +0 -2
  196. package/dist/interface/input/index.js.map +0 -1
  197. package/dist/interface/input/scoped/files/defaults.d.ts +0 -3
  198. package/dist/interface/input/scoped/files/defaults.d.ts.map +0 -1
  199. package/dist/interface/input/scoped/files/defaults.js +0 -2
  200. package/dist/interface/input/scoped/files/defaults.js.map +0 -1
  201. package/dist/interface/input/scoped/files/includes.d.ts +0 -3
  202. package/dist/interface/input/scoped/files/includes.d.ts.map +0 -1
  203. package/dist/interface/input/scoped/files/includes.js +0 -2
  204. package/dist/interface/input/scoped/files/includes.js.map +0 -1
  205. package/dist/interface/input/scoped/files/index.d.ts +0 -8
  206. package/dist/interface/input/scoped/files/index.d.ts.map +0 -1
  207. package/dist/interface/input/scoped/files/index.js +0 -2
  208. package/dist/interface/input/scoped/files/index.js.map +0 -1
  209. package/dist/interface/input/scoped/ignores/defaults.d.ts +0 -3
  210. package/dist/interface/input/scoped/ignores/defaults.d.ts.map +0 -1
  211. package/dist/interface/input/scoped/ignores/defaults.js +0 -2
  212. package/dist/interface/input/scoped/ignores/defaults.js.map +0 -1
  213. package/dist/interface/input/scoped/ignores/extend.d.ts +0 -3
  214. package/dist/interface/input/scoped/ignores/extend.d.ts.map +0 -1
  215. package/dist/interface/input/scoped/ignores/extend.js +0 -2
  216. package/dist/interface/input/scoped/ignores/extend.js.map +0 -1
  217. package/dist/interface/input/scoped/ignores/index.d.ts +0 -8
  218. package/dist/interface/input/scoped/ignores/index.d.ts.map +0 -1
  219. package/dist/interface/input/scoped/ignores/index.js +0 -2
  220. package/dist/interface/input/scoped/ignores/index.js.map +0 -1
  221. package/dist/interface/input/scoped/index.d.ts +0 -10
  222. package/dist/interface/input/scoped/index.d.ts.map +0 -1
  223. package/dist/interface/input/scoped/index.js +0 -2
  224. package/dist/interface/input/scoped/index.js.map +0 -1
  225. package/dist/interface/input/scoped/rules/defaults.d.ts +0 -3
  226. package/dist/interface/input/scoped/rules/defaults.d.ts.map +0 -1
  227. package/dist/interface/input/scoped/rules/defaults.js +0 -2
  228. package/dist/interface/input/scoped/rules/defaults.js.map +0 -1
  229. package/dist/interface/input/scoped/rules/index.d.ts +0 -8
  230. package/dist/interface/input/scoped/rules/index.d.ts.map +0 -1
  231. package/dist/interface/input/scoped/rules/index.js +0 -2
  232. package/dist/interface/input/scoped/rules/index.js.map +0 -1
  233. package/dist/interface/input/scoped/rules/overrides.d.ts +0 -3
  234. package/dist/interface/input/scoped/rules/overrides.d.ts.map +0 -1
  235. package/dist/interface/input/scoped/rules/overrides.js +0 -2
  236. package/dist/interface/input/scoped/rules/overrides.js.map +0 -1
  237. package/dist/interface/input/settings/env.d.ts +0 -3
  238. package/dist/interface/input/settings/env.d.ts.map +0 -1
  239. package/dist/interface/input/settings/env.js +0 -2
  240. package/dist/interface/input/settings/env.js.map +0 -1
  241. package/dist/interface/input/settings/index.d.ts +0 -6
  242. package/dist/interface/input/settings/index.d.ts.map +0 -1
  243. package/dist/interface/input/settings/index.js +0 -2
  244. package/dist/interface/input/settings/index.js.map +0 -1
  245. package/dist/interface/output/global.d.ts +0 -6
  246. package/dist/interface/output/global.d.ts.map +0 -1
  247. package/dist/interface/output/global.js +0 -2
  248. package/dist/interface/output/global.js.map +0 -1
  249. package/dist/interface/output/index.d.ts +0 -8
  250. package/dist/interface/output/index.d.ts.map +0 -1
  251. package/dist/interface/output/index.js +0 -2
  252. package/dist/interface/output/index.js.map +0 -1
  253. package/dist/objects/config/global/ignores.d.ts +0 -6
  254. package/dist/objects/config/global/ignores.d.ts.map +0 -1
  255. package/dist/objects/config/global/ignores.js +0 -2
  256. package/dist/objects/config/global/ignores.js.map +0 -1
  257. package/dist/objects/config/global/system.d.ts +0 -14
  258. package/dist/objects/config/global/system.d.ts.map +0 -1
  259. package/dist/objects/config/global/system.js +0 -2
  260. package/dist/objects/config/global/system.js.map +0 -1
  261. package/dist/objects/config/index.d.ts +0 -6
  262. package/dist/objects/config/index.d.ts.map +0 -1
  263. package/dist/objects/config/index.js +0 -2
  264. package/dist/objects/config/property.d.ts +0 -2
  265. package/dist/objects/config/property.d.ts.map +0 -1
  266. package/dist/objects/config/property.js +0 -2
  267. package/dist/objects/config/property.js.map +0 -1
  268. package/dist/objects/config/scoped.d.ts +0 -15
  269. package/dist/objects/config/scoped.d.ts.map +0 -1
  270. package/dist/objects/config/scoped.js +0 -2
  271. package/dist/objects/config/scoped.js.map +0 -1
  272. package/dist/objects/index.d.ts +0 -4
  273. package/dist/objects/index.d.ts.map +0 -1
  274. package/dist/objects/index.js +0 -2
  275. package/dist/objects/plugins/index.d.ts +0 -5
  276. package/dist/objects/plugins/index.d.ts.map +0 -1
  277. package/dist/objects/plugins/index.js +0 -2
  278. package/dist/objects/plugins/index.js.map +0 -1
  279. package/dist/objects/plugins/plugin.d.ts +0 -2
  280. package/dist/objects/plugins/plugin.d.ts.map +0 -1
  281. package/dist/objects/plugins/plugin.js +0 -2
  282. package/dist/objects/plugins/plugin.js.map +0 -1
  283. package/dist/objects/rule/index.d.ts +0 -8
  284. package/dist/objects/rule/index.d.ts.map +0 -1
  285. package/dist/objects/rule/index.js +0 -2
  286. package/dist/objects/rule/index.js.map +0 -1
  287. package/dist/objects/rule/record/index.d.ts +0 -7
  288. package/dist/objects/rule/record/index.d.ts.map +0 -1
  289. package/dist/objects/rule/record/index.js +0 -2
  290. package/dist/objects/rule/record/index.js.map +0 -1
  291. package/dist/objects/rule/record/state.d.ts +0 -2
  292. package/dist/objects/rule/record/state.d.ts.map +0 -1
  293. package/dist/objects/rule/record/state.js +0 -2
  294. package/dist/objects/rule/record/state.js.map +0 -1
  295. package/dist/scopes/index.d.ts.map +0 -1
  296. package/dist/scopes/index.js.map +0 -1
  297. package/dist/scopes/index.spec.d.ts +0 -2
  298. package/dist/scopes/index.spec.d.ts.map +0 -1
  299. package/dist/scopes/index.spec.js.map +0 -1
  300. package/src/factory/files.ts +0 -26
  301. package/src/factory/ignores.ts +0 -26
  302. package/src/factory/options/option/template/globals.ts +0 -5
  303. package/src/factory/options/option/template/index.ts +0 -20
  304. package/src/factory/options/option/template/languageOptions.ts +0 -16
  305. package/src/factory/rules/index.ts +0 -26
  306. package/src/factory/rules/ruleset.ts +0 -28
  307. package/src/interface/input/global/ignores/defaults.ts +0 -6
  308. package/src/interface/input/global/ignores/extend.ts +0 -5
  309. package/src/interface/input/global/ignores/index.ts +0 -9
  310. package/src/interface/input/global/index.ts +0 -7
  311. package/src/interface/input/imports/index.ts +0 -12
  312. package/src/interface/input/imports/parsers/index.ts +0 -8
  313. package/src/interface/input/imports/parsers/parser.ts +0 -10
  314. package/src/interface/input/imports/plugins.ts +0 -3
  315. package/src/interface/input/index.ts +0 -20
  316. package/src/interface/input/scoped/files/defaults.ts +0 -6
  317. package/src/interface/input/scoped/files/includes.ts +0 -5
  318. package/src/interface/input/scoped/files/index.ts +0 -9
  319. package/src/interface/input/scoped/ignores/defaults.ts +0 -6
  320. package/src/interface/input/scoped/ignores/extend.ts +0 -5
  321. package/src/interface/input/scoped/ignores/index.ts +0 -9
  322. package/src/interface/input/scoped/index.ts +0 -15
  323. package/src/interface/input/scoped/rules/defaults.ts +0 -9
  324. package/src/interface/input/scoped/rules/index.ts +0 -13
  325. package/src/interface/input/scoped/rules/overrides.ts +0 -9
  326. package/src/interface/input/settings/env.ts +0 -6
  327. package/src/interface/input/settings/index.ts +0 -7
  328. package/src/interface/output/global.ts +0 -9
  329. package/src/interface/output/index.ts +0 -12
  330. package/src/objects/config/global/ignores.ts +0 -13
  331. package/src/objects/config/global/system.ts +0 -48
  332. package/src/objects/config/index.ts +0 -8
  333. package/src/objects/config/property.ts +0 -12
  334. package/src/objects/config/scoped.ts +0 -15
  335. package/src/objects/index.ts +0 -11
  336. package/src/objects/plugins/index.ts +0 -6
  337. package/src/objects/plugins/plugin.ts +0 -9
  338. package/src/objects/rule/index.ts +0 -8
  339. package/src/objects/rule/record/index.ts +0 -7
  340. package/src/objects/rule/record/state.ts +0 -5
  341. package/typings/common/literals/chars/alpha.d.ts +0 -4
  342. package/typings/common/literals/chars/digit.d.ts +0 -12
  343. package/typings/common/literals/chars/digits/base64.d.ts +0 -13
  344. package/typings/common/literals/chars/digits/hexchar.d.ts +0 -9
  345. package/typings/common/literals/chars/lower.d.ts +0 -1
  346. package/typings/common/literals/chars/upper.d.ts +0 -28
  347. package/typings/common/literals/numbers/base32.d.ts +0 -19
  348. package/typings/common/literals/numbers/base64.d.ts +0 -35
  349. package/typings/common/literals/numbers/binary.d.ts +0 -4
  350. package/typings/common/literals/numbers/decimal.d.ts +0 -5
  351. package/typings/common/literals/numbers/hexadecimal.d.ts +0 -10
  352. package/typings/common/literals/numbers/octal.d.ts +0 -7
  353. package/typings/common/literals/numbers/quatral.d.ts +0 -4
  354. package/typings/common/literals/numbers/ternary.d.ts +0 -4
  355. package/typings/common/primitive.d.ts +0 -5
  356. package/typings/common/tester.d.ts +0 -8
  357. package/typings/common/utility/constructor.d.ts +0 -3
  358. package/typings/common/utility/interface/identity.d.ts +0 -11
  359. package/typings/common/utility/interface/identity.spec.d.ts +0 -63
  360. package/typings/common/utility/interface/index.d.ts +0 -5
  361. package/typings/common/utility/interface/keys.d.ts +0 -3
  362. package/typings/common/utility/interface/keys.spec.d.ts +0 -67
  363. package/typings/common/utility/interface/optional.d.ts +0 -7
  364. package/typings/common/utility/interface/optional.spec.d.ts +0 -34
  365. package/typings/common/utility/interface/partially.d.ts +0 -1
  366. package/typings/common/utility/interface/property/index.d.ts +0 -8
  367. package/typings/common/utility/interface/property/properties.d.ts +0 -6
  368. package/typings/common/utility/interface/table/index.d.ts +0 -3
  369. package/typings/common/utility/interface/table/tables.d.ts +0 -5
  370. package/typings/common/utility/iterable/arrayful.d.ts +0 -1
  371. package/typings/common/utility/iterable/flat/index.d.ts +0 -3
  372. package/typings/common/utility/iterable/flat/unflat.d.ts +0 -3
  373. package/typings/common/utility/iterable/identity.d.ts +0 -1
  374. package/typings/common/utility/iterable/identity.spec.d.ts +0 -59
  375. package/typings/common/utility/iterable/index.d.ts +0 -15
  376. package/typings/common/utility/iterable/index.spec.d.ts +0 -18
  377. package/typings/common/utility/iterable/tuple.d.ts +0 -11
  378. package/typings/common/utility/iterable/tuple.spec.d.ts +0 -14
  379. package/typings/common/utility/iterable/tuples.d.ts +0 -10
  380. package/typings/common/utility/null/index.d.ts +0 -1
  381. package/typings/common/utility/null/index.spec.d.ts +0 -13
  382. package/typings/common/utility/null/nullable.d.ts +0 -1
  383. package/typings/common/utility/null/nullable.spec.d.ts +0 -13
  384. package/typings/common/utility/primitive/cast/number.d.ts +0 -13
  385. package/typings/common/utility/primitive/cast/number.spec.d.ts +0 -57
  386. package/typings/common/utility/primitive/index.d.ts +0 -11
  387. package/typings/common/utility/primitive/index.spec.d.ts +0 -27
  388. package/typings/common/utility/primitive/length.d.ts +0 -5
  389. package/typings/common/utility/primitive/length.spec.d.ts +0 -26
  390. package/typings/common/utility/primitive/literal.d.ts +0 -1
  391. package/typings/common/utility/primitive/literal.spec.d.ts +0 -17
  392. package/typings/common/utility/primitive/literalful.d.ts +0 -3
  393. package/typings/common/utility/primitive/literalful.spec.d.ts +0 -20
  394. package/typings/common/utility/primitive/numeric.d.ts +0 -1
  395. package/typings/common/utility/primitive/numeric.spec.d.ts +0 -30
  396. package/typings/common/utility/primitive/truth.d.ts +0 -3
  397. package/typings/common/utility/primitive/truth.spec.d.ts +0 -22
  398. package/typings/common/validated/char.d.ts +0 -1
  399. package/typings/common/validated/index.d.ts +0 -2
  400. package/typings/common/validated/numberful.d.ts +0 -1
  401. package/typings/common/validated/properties/finite.d.ts +0 -2
  402. package/typings/common/validated/properties/int.d.ts +0 -2
  403. package/typings/common/validated/properties/length.d.ts +0 -3
  404. package/typings/common/validated/properties/polarity.d.ts +0 -5
  405. package/typings/common/validated/stringful.d.ts +0 -1
  406. /package/dist/{factory/options/option/template → config}/index.js +0 -0
  407. /package/dist/interface/{input/global/ignores → imports}/index.js +0 -0
@@ -0,0 +1,23 @@
1
+ import type { RuleRecord } from "./rule.js";
2
+ export type * from "./rule.js";
3
+ export interface Config<Plugins extends string = string> {
4
+ name: `linted/${string}`;
5
+ plugins: Record<Plugins, {
6
+ configs: unknown;
7
+ }>;
8
+ files: string[];
9
+ ignores: string[];
10
+ rules: RuleRecord;
11
+ linterOptions: {
12
+ noInlineConfig: boolean;
13
+ reportUnusedDisableDirectives: "error" | "warn" | "off";
14
+ };
15
+ languageOptions: {
16
+ sourceType: "module" | "script";
17
+ ecmaVersion: "latest" | 3 | 5 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024;
18
+ };
19
+ processor?: string;
20
+ language?: string;
21
+ settings?: Record<string, unknown>;
22
+ }
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEzC,mBAAmB,QAAQ,CAAC;AAC5B,MAAM,WAAW,MAAM,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM;IACrD,IAAI,EAAE,UAAU,MAAM,EAAE,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAC/C,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;IAClB,aAAa,EAAE;QACb,cAAc,EAAE,OAAO,CAAC;QACxB,6BAA6B,EACzB,OAAO,GACP,MAAM,GACN,KAAK,CACR;KACF,CAAC;IACF,eAAe,EAAE;QACf,UAAU,EACN,QAAQ,GACR,QAAQ,CACX;QACD,WAAW,EACP,QAAQ,GACR,CAAC,GACD,CAAC,GACD,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CACP;KACF,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/objects/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export type RuleEntry = readonly [
2
+ string,
3
+ RuleRecord
4
+ ];
5
+ export type RuleRecord = Record<string, RuleState | readonly [RuleState, ...unknown[]]>;
6
+ export type RuleState = ("error" | "warn" | "off");
7
+ //# sourceMappingURL=rule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../src/config/rule.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,SAAS;IAC/B,MAAM;IACN,UAAU;CACX,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,MAAM,CAC7B,MAAM,EACJ,SAAS,GACT,SAAS,CAAC,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC,CACrC,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,CACpB,OAAO,GACP,MAAM,GACN,KAAK,CACR,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule.js","sourceRoot":"","sources":["../../src/config/rule.ts"],"names":[],"mappings":""}
@@ -1,24 +1,27 @@
1
- import type { Input } from "./index.js";
2
- export declare class Global {
3
- readonly plugins: Input["plugins"];
4
- readonly settings: Input["settings"];
5
- readonly globals: Input["globals"];
6
- constructor(plugins: Input["plugins"], settings: Input["settings"], globals: Input["globals"]);
1
+ import type { Input } from "../index.js";
2
+ export declare class GlobalFactory {
3
+ readonly plugins: Input["imports"]["plugins"];
4
+ readonly defaultSettings: Input["defaults"]["settings"];
5
+ readonly defaultGlobalIgnores: Input["defaults"]["ignores"]["*"];
6
+ readonly globalExtensions: Input["extensions"]["*"];
7
+ constructor(plugins: Input["imports"]["plugins"], defaultSettings: Input["defaults"]["settings"], defaultGlobalIgnores: Input["defaults"]["ignores"]["*"], globalExtensions?: Input["extensions"]["*"]);
7
8
  get configs(): readonly [
8
9
  {
9
- readonly name: "linted/global/settings";
10
- readonly plugins: import("../index.js").Plugins;
10
+ readonly name: "linted/*/settings";
11
+ readonly plugins: Record<import("../index.js").ImportPlugins, {
12
+ configs: unknown;
13
+ }>;
11
14
  readonly linterOptions: {
12
15
  readonly noInlineConfig: boolean;
13
16
  readonly reportUnusedDisableDirectives: "error" | "warn" | "off";
14
17
  };
15
18
  readonly languageOptions: {
16
19
  readonly sourceType: "module" | "script";
17
- readonly ecmaVersion: 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | "latest" | 3 | 5;
20
+ readonly ecmaVersion: "latest" | 3 | 5 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024;
18
21
  };
19
22
  },
20
23
  {
21
- readonly name: "linted/global/ignores";
24
+ readonly name: "linted/*/ignores";
22
25
  readonly ignores: string[];
23
26
  }
24
27
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/factory/global.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAE/B,qBAAa,MAAM;aAEC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;aACzB,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;aAC3B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;gBAFzB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,EACzB,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,EAC3B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IAG3C,IAAW,OAAO;;;;;;;;;;;;;;OAgCjB;CACF"}
1
+ {"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/factory/global.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAEhC,qBAAa,aAAa;aAEN,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC;aACpC,eAAe,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC;aAC9C,oBAAoB,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC;aACvD,gBAAgB,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC;gBAH1C,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,EACpC,eAAe,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC,EAC9C,oBAAoB,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,EACvD,gBAAgB,GAAE,KAAK,CAAC,YAAY,CAAC,CAAC,GAAG,CAAM;IAGjE,IAAW,OAAO;;;;;;;;;;;;;;;;OAiCjB;CACF"}
@@ -1,36 +1,38 @@
1
- export class Global {
1
+ export class GlobalFactory {
2
2
  plugins;
3
- settings;
4
- globals;
5
- constructor(plugins, settings, globals) {
3
+ defaultSettings;
4
+ defaultGlobalIgnores;
5
+ globalExtensions;
6
+ constructor(plugins, defaultSettings, defaultGlobalIgnores, globalExtensions = {}) {
6
7
  this.plugins = plugins;
7
- this.settings = settings;
8
- this.globals = globals;
8
+ this.defaultSettings = defaultSettings;
9
+ this.defaultGlobalIgnores = defaultGlobalIgnores;
10
+ this.globalExtensions = globalExtensions;
9
11
  }
10
12
  get configs() {
11
- const { plugins, settings, globals, } = this;
13
+ const { plugins, defaultSettings, defaultGlobalIgnores, globalExtensions, } = this;
12
14
  return [
13
15
  {
14
- name: "linted/global/settings",
16
+ name: "linted/*/settings",
15
17
  plugins,
16
18
  linterOptions: {
17
- noInlineConfig: settings.noInlineConfig,
18
- reportUnusedDisableDirectives: settings.reportUnusedDisableDirectives,
19
+ noInlineConfig: globalExtensions?.noInlineConfig ?? defaultSettings.noInlineConfig,
20
+ reportUnusedDisableDirectives: globalExtensions?.reportUnusedDisableDirectives ?? defaultSettings.reportUnusedDisableDirectives,
19
21
  },
20
22
  languageOptions: {
21
- sourceType: settings.sourceType,
22
- ecmaVersion: settings.ecmaVersion,
23
+ sourceType: globalExtensions?.sourceType ?? defaultSettings.sourceType,
24
+ ecmaVersion: globalExtensions?.ecmaVersion ?? defaultSettings.ecmaVersion,
23
25
  },
24
26
  },
25
27
  {
26
- name: "linted/global/ignores",
27
- ignores: typeof globals.extend.ignores === "undefined" || globals.extend.ignores.length < 1
28
- ? globals.ignores.ignores
28
+ name: "linted/*/ignores",
29
+ ignores: typeof globalExtensions?.ignores === "undefined" || globalExtensions.ignores.length < 1
30
+ ? defaultGlobalIgnores
29
31
  : [
30
- ...globals.extend.inherit === false
32
+ ...globalExtensions.override === true
31
33
  ? []
32
- : globals.ignores.ignores,
33
- ...globals.extend.ignores,
34
+ : defaultGlobalIgnores,
35
+ ...globalExtensions.ignores,
34
36
  ],
35
37
  },
36
38
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/factory/global.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,MAAM;IAEC;IACA;IACA;IAHlB,YACkB,OAAyB,EACzB,QAA2B,EAC3B,OAAyB;QAFzB,YAAO,GAAP,OAAO,CAAkB;QACzB,aAAQ,GAAR,QAAQ,CAAmB;QAC3B,YAAO,GAAP,OAAO,CAAkB;IACxC,CAAC;IAEJ,IAAW,OAAO;QAChB,MAAM,EACJ,OAAO,EACP,QAAQ,EACR,OAAO,GACR,GAAG,IAAI,CAAC;QAET,OAAO;YACL;gBACE,IAAI,EAAE,wBAAwB;gBAC9B,OAAO;gBACP,aAAa,EAAE;oBACb,cAAc,EAAE,QAAQ,CAAC,cAAc;oBACvC,6BAA6B,EAAE,QAAQ,CAAC,6BAA6B;iBACtE;gBACD,eAAe,EAAE;oBACf,UAAU,EAAE,QAAQ,CAAC,UAAU;oBAC/B,WAAW,EAAE,QAAQ,CAAC,WAAW;iBAClC;aACF;YACD;gBACE,IAAI,EAAE,uBAAuB;gBAC7B,OAAO,EAAE,OAAO,OAAO,CAAC,MAAM,CAAC,OAAO,KAAK,WAAW,IAAI,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC;oBACzF,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO;oBACzB,CAAC,CAAC;wBACE,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,KAAK,KAAK;4BACjC,CAAC,CAAC,EAAE;4BACJ,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO;wBAC3B,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO;qBAC1B;aACN;SACO,CAAC;IACb,CAAC;CACF"}
1
+ {"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/factory/global.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,aAAa;IAEN;IACA;IACA;IACA;IAJlB,YACkB,OAAoC,EACpC,eAA8C,EAC9C,oBAAuD,EACvD,mBAA6C,EAAE;QAH/C,YAAO,GAAP,OAAO,CAA6B;QACpC,oBAAe,GAAf,eAAe,CAA+B;QAC9C,yBAAoB,GAApB,oBAAoB,CAAmC;QACvD,qBAAgB,GAAhB,gBAAgB,CAA+B;IAC9D,CAAC;IAEJ,IAAW,OAAO;QAChB,MAAM,EACJ,OAAO,EACP,eAAe,EACf,oBAAoB,EACpB,gBAAgB,GACjB,GAAG,IAAI,CAAC;QAET,OAAO;YACL;gBACE,IAAI,EAAE,mBAAmB;gBACzB,OAAO;gBACP,aAAa,EAAE;oBACb,cAAc,EAAE,gBAAgB,EAAE,cAAc,IAAI,eAAe,CAAC,cAAc;oBAClF,6BAA6B,EAAE,gBAAgB,EAAE,6BAA6B,IAAI,eAAe,CAAC,6BAA6B;iBAChI;gBACD,eAAe,EAAE;oBACf,UAAU,EAAE,gBAAgB,EAAE,UAAU,IAAI,eAAe,CAAC,UAAU;oBACtE,WAAW,EAAE,gBAAgB,EAAE,WAAW,IAAI,eAAe,CAAC,WAAW;iBAC1E;aACF;YACD;gBACE,IAAI,EAAE,kBAAkB;gBACxB,OAAO,EAAE,OAAO,gBAAgB,EAAE,OAAO,KAAK,WAAW,IAAI,gBAAgB,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC;oBAC9F,CAAC,CAAC,oBAAoB;oBACtB,CAAC,CAAC;wBACE,GAAG,gBAAgB,CAAC,QAAQ,KAAK,IAAI;4BACnC,CAAC,CAAC,EAAE;4BACJ,CAAC,CAAC,oBAAoB;wBACxB,GAAG,gBAAgB,CAAC,OAAO;qBAC5B;aACN;SACO,CAAC;IACb,CAAC;CACF"}
@@ -1,19 +1,5 @@
1
- export type { Scope, Input, ScopedConfig, RuleEntry, RuleRecord, } from "../index.js";
2
- import { Files } from "./files.js";
3
- import { Ignores } from "./ignores.js";
4
- import { Rules } from "./rules/index.js";
1
+ export * from "./global.js";
2
+ export * from "./scoped.js";
5
3
  import Options from "./options/index.js";
6
4
  export { Options };
7
- export { Global } from "./global.js";
8
- export declare class Factory {
9
- readonly files: Files;
10
- readonly ignores: Ignores;
11
- readonly rules: Rules;
12
- constructor(files: ConstructorParameters<typeof Files>[0], ignores: ConstructorParameters<typeof Ignores>[0], rules: ConstructorParameters<typeof Rules>[0]);
13
- produce(scope: string): readonly [
14
- string[],
15
- string[],
16
- import("./rules/ruleset.js").Ruleset
17
- ];
18
- }
19
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,KAAK,EACL,YAAY,EACZ,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAC;AAEZ,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,qBAAa,OAAO;IAClB,SAAgB,KAAK,EAAE,KAAK,CAAC;IAC7B,SAAgB,OAAO,EAAE,OAAO,CAAC;IACjC,SAAgB,KAAK,EAAE,KAAK,CAAC;gBAG3B,KAAK,EAAE,qBAAqB,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7C,OAAO,EAAE,qBAAqB,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,EACjD,KAAK,EAAE,qBAAqB,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;IAOxC,OAAO,CAAC,KAAK,EAAE,MAAM;CAO7B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -1,24 +1,5 @@
1
- import { Files } from "./files.js";
2
- import { Ignores } from "./ignores.js";
3
- import { Rules } from "./rules/index.js";
1
+ export * from "./global.js";
2
+ export * from "./scoped.js";
4
3
  import Options from "./options/index.js";
5
4
  export { Options };
6
- export { Global } from "./global.js";
7
- export class Factory {
8
- files;
9
- ignores;
10
- rules;
11
- constructor(files, ignores, rules) {
12
- this.files = new Files(files);
13
- this.ignores = new Ignores(ignores);
14
- this.rules = new Rules(rules);
15
- }
16
- produce(scope) {
17
- return [
18
- this.files.files(scope),
19
- this.ignores.ignores(scope),
20
- this.rules.rules(scope),
21
- ];
22
- }
23
- }
24
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,MAAM,OAAO,OAAO;IACF,KAAK,CAAQ;IACb,OAAO,CAAU;IACjB,KAAK,CAAQ;IAE7B,YACE,KAA6C,EAC7C,OAAiD,EACjD,KAA6C;QAE7C,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;QACpC,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAEM,OAAO,CAAC,KAAa;QAC1B,OAAO;YACL,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC;YACvB,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC;YAC3B,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC;SACf,CAAC;IACb,CAAC;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -1,12 +1,13 @@
1
- export type { Scope, ScopedConfig, } from "../index.js";
2
- import js from "./js.js";
3
- import ts from "./ts.js";
4
- import svelte from "./svelte.js";
5
- import mocha from "./mocha.js";
6
- import html from "./html.js";
7
- import json from "./json.js";
8
- import jsonc from "./jsonc.js";
9
- import yml from "./yml.js";
1
+ import js from "./scopes/js.js";
2
+ import ts from "./scopes/ts.js";
3
+ import svelte from "./scopes/svelte.js";
4
+ import mocha from "./scopes/mocha.js";
5
+ import html from "./scopes/html.js";
6
+ import json from "./scopes/json.js";
7
+ import jsonc from "./scopes/jsonc.js";
8
+ import yml from "./scopes/yml.js";
9
+ export type * from "./option.js";
10
+ export type * from "./proto.js";
10
11
  declare const _default: {
11
12
  readonly js: typeof js;
12
13
  readonly ts: typeof ts;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,YAAY,GACb,MAAM,IAAI,CAAC;AAEZ,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;;;;;;;;;;;AAExB,wBASW"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,GAAG,MAAM,cAAc,CAAC;AAE/B,mBAAmB,UAAU,CAAC;AAC9B,mBAAmB,SAAS,CAAC;;;;;;;;;;;AAC7B,wBASW"}
@@ -1,11 +1,11 @@
1
- import js from "./js.js";
2
- import ts from "./ts.js";
3
- import svelte from "./svelte.js";
4
- import mocha from "./mocha.js";
5
- import html from "./html.js";
6
- import json from "./json.js";
7
- import jsonc from "./jsonc.js";
8
- import yml from "./yml.js";
1
+ import js from "./scopes/js.js";
2
+ import ts from "./scopes/ts.js";
3
+ import svelte from "./scopes/svelte.js";
4
+ import mocha from "./scopes/mocha.js";
5
+ import html from "./scopes/html.js";
6
+ import json from "./scopes/json.js";
7
+ import jsonc from "./scopes/jsonc.js";
8
+ import yml from "./scopes/yml.js";
9
9
  export default {
10
10
  js,
11
11
  ts,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,GAAG,MAAM,cAAc,CAAC;AAI/B,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACK,CAAC"}
@@ -1,19 +1,32 @@
1
- import type { Scope, ScopedConfig } from "../index.js";
2
- import type { LanguageOptions, Globals } from "./template/index.js";
3
- import type { Ruleset } from "../../rules/ruleset.js";
4
- export default abstract class Option<S extends Scope, ParserOptions extends object | boolean = false, ParserCount extends 0 | 1 | 2 = 0, Global extends Globals = never, Processor extends object = never, Language extends object = never> {
5
- readonly parser: Tuple<ParserCount, unknown>;
1
+ import globals from "globals";
2
+ import type { Scopes, Output } from "../../index.js";
3
+ import type { Ruleset } from "../ruleset.js";
4
+ import type { OptionProto } from "./index.js";
5
+ export default abstract class Option<S extends Scopes, ParserOptions extends object | boolean = false, ParserCount extends 0 | 1 | 2 = ParserOptions extends false ? 0 : 1, G extends keyof typeof globals & ("mocha") | false = false, Processor extends object = object, Language extends object = object> {
6
+ readonly parser: unknown[] & {
7
+ length: ParserCount;
8
+ };
6
9
  readonly files: string[];
7
10
  readonly ignores: string[];
8
11
  readonly ruleset: Ruleset;
9
- abstract readonly scope: literalful<S>;
10
- abstract readonly processor: Interface<Processor> extends never ? object : Interface<Processor> extends Readonly<Record<"processor", string>> ? Interface<Processor> : object;
11
- abstract readonly language: Interface<Language> extends never ? object : Interface<Language> extends Readonly<Record<"language", string>> ? Interface<Language> : object;
12
- constructor(parser: Tuple<ParserCount, unknown>, files: string[], ignores: string[], ruleset: Ruleset);
13
- get configs(): ScopedConfig[];
12
+ abstract readonly scope: S;
13
+ abstract readonly processor: (Processor extends never ? object : Processor extends {
14
+ processor: infer P;
15
+ } ? string extends P ? object : {
16
+ processor: P;
17
+ } : object);
18
+ abstract readonly language: (Language extends never ? object : Language extends {
19
+ language: infer L;
20
+ } ? string extends L ? object : {
21
+ language: L;
22
+ } : object);
23
+ constructor(parser: unknown[] & {
24
+ length: ParserCount;
25
+ }, files: string[], ignores: string[], ruleset: Ruleset);
26
+ get configs(): Output[2][];
14
27
  private get option();
15
- protected abstract get languageOptions(): LanguageOptions<ParserOptions, Global>;
16
- protected globals(type: Global): {
28
+ protected abstract get languageOptions(): OptionProto<ParserOptions, G, Processor, Language>["languageOptions"];
29
+ protected globals(group: G): {
17
30
  readonly amd: {
18
31
  readonly define: false;
19
32
  readonly require: false;
@@ -2984,6 +2997,6 @@ export default abstract class Option<S extends Scope, ParserOptions extends obje
2984
2997
  readonly YUI: false;
2985
2998
  readonly YUI_config: false;
2986
2999
  };
2987
- }[Global];
3000
+ }[G & string];
2988
3001
  }
2989
- //# sourceMappingURL=index.d.ts.map
3002
+ //# sourceMappingURL=option.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/option/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,KAAK,EACL,YAAY,EACb,MAAM,IAAI,CAAC;AACZ,OAAO,KAAK,EAEV,eAAe,EACf,OAAO,EACR,MAAM,YA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM3B"}
@@ -39,8 +39,10 @@ export default class Option {
39
39
  throw new Error(`linted.factory.Option/scope:${this.scope}: option`, { cause: e });
40
40
  }
41
41
  }
42
- globals(type) {
43
- return globals[type];
42
+ globals(group) {
43
+ if (typeof group !== "string")
44
+ throw new TypeError(`Expected string`);
45
+ return globals[group];
44
46
  }
45
47
  }
46
- //# sourceMappingURL=index.js.map
48
+ //# sourceMappingURL=option.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"option.js","sourceRoot":"","sources":["../../../src/factory/options/option.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAQ9B,MAAM,CAAC,OAAO,OAAgB,MAAM;IA4BhB;IACA;IACA;IACA;IAJlB,YACkB,MAA2C,EAC3C,KAAe,EACf,OAAiB,EACjB,OAAgB;QAHhB,WAAM,GAAN,MAAM,CAAqC;QAC3C,UAAK,GAAL,KAAK,CAAU;QACf,YAAO,GAAP,OAAO,CAAU;QACjB,YAAO,GAAP,OAAO,CAAS;IAC/B,CAAC;IAEJ,IAAW,OAAO;QAChB,MAAM,EACJ,KAAK,EACL,KAAK,EACL,OAAO,EACP,OAAO,EACP,MAAM,GACP,GAAG,IAAI,CAAC;QAET,IAAI,OAAO,CAAC,KAAK,KAAK,KAAK;YACzB,MAAM,IAAI,SAAS,CAAC,2CAA2C,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAEzH,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC;YACrB,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;gBACtC,OAAO;oBACL,IAAI,EAAE,UAAU,EAAE,EAAE;oBACpB,KAAK;oBACL,OAAO;oBACP,KAAK;oBACL,GAAG,MAAM;iBACV,CAAC;YACJ,CAAC,CAAC,CAAC;IACP,CAAC;IAED,IAAY,MAAM;QAChB,IAAI,CAAC;YACH,MAAM,EACJ,eAAe,EACf,SAAS,EACT,QAAQ,GACT,GAAG,IAAI,CAAC;YAET,OAAO;gBACL,eAAe;gBACf,GAAG,SAAS;gBACZ,GAAG,QAAQ;aAMZ,CAAC;QACJ,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YAAC,MAAM,IAAI,KAAK,CAAC,+BAA+B,IAAI,CAAC,KAAK,UAAU,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;QAAC,CAAC;IACnG,CAAC;IAIS,OAAO,CAAC,KAAQ;QACxB,IAAI,OAAO,KAAK,KAAK,QAAQ;YAC3B,MAAM,IAAI,SAAS,CAAC,iBAAiB,CAAC,CAAC;QAEzC,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC;CACF"}
@@ -0,0 +1,19 @@
1
+ export type OptionProto<ParserOptions extends object | boolean, G extends string | boolean, Processor extends object, Language extends object> = ({
2
+ languageOptions: (G extends never ? object : G extends boolean ? object : G extends string ? string extends G ? object : {
3
+ globals: Record<string, unknown>;
4
+ } : object) & (ParserOptions extends never ? object : ParserOptions extends boolean ? ParserOptions extends true ? {
5
+ parser: unknown;
6
+ } : object : {
7
+ parser: unknown;
8
+ parserOptions: ParserOptions;
9
+ });
10
+ } & (Processor extends never ? object : Processor extends {
11
+ processor: infer P;
12
+ } ? string extends P ? object : {
13
+ processor: P;
14
+ } : object) & (Language extends never ? object : Language extends {
15
+ language: infer L;
16
+ } ? string extends L ? object : {
17
+ language: L;
18
+ } : object));
19
+ //# sourceMappingURL=proto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proto.d.ts","sourceRoot":"","sources":["../../../src/factory/options/proto.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,CACrB,aAAa,SACX,MAAM,GACN,OAAO,EACT,CAAC,SAAS,MAAM,GAAG,OAAO,EAC1B,SAAS,SAAS,MAAM,EACxB,QAAQ,SAAS,MAAM,IACrB,CACJ;IAAE,eAAe,EAAE,CAAC,CAAC,SAAS,KAAK,GAC/B,MAAM,GACN,CAAC,SAAS,OAAO,GACf,MAAM,GACN,CAAC,SAAS,MAAM,GACd,MAAM,SAAS,CAAC,GACd,MAAM,GACN;QAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,GACtC,MAAM,CACb,GACC,CACC,aAAa,SAAS,KAAK,GACvB,MAAM,GACN,aAAa,SAAS,OAAO,GAC3B,aAAa,SAAS,IAAI,GACxB;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,GACnB,MAAM,GACR;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,aAAa,EAAE,aAAa,CAAA;KAAE,CACzD,CAAC;CAAE,GACF,CACE,SAAS,SAAS,KAAK,GACnB,MAAM,GACN,SAAS,SAAS;IAAE,SAAS,EAAE,MAAM,CAAC,CAAA;CAAE,GACtC,MAAM,SAAS,CAAC,GACd,MAAM,GACN;IAAE,SAAS,EAAE,CAAC,CAAA;CAAE,GAClB,MAAM,CACX,GACC,CACF,QAAQ,SAAS,KAAK,GAClB,MAAM,GACN,QAAQ,SAAS;IAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;CAAE,GACpC,MAAM,SAAS,CAAC,GACd,MAAM,GACN;IAAE,QAAQ,EAAE,CAAC,CAAA;CAAE,GACjB,MAAM,CACX,CACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=proto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proto.js","sourceRoot":"","sources":["../../../src/factory/options/proto.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
- import Option from "./option/index.js";
2
- export default class Html extends Option<"html", true, 1> {
1
+ import Option from "../option.js";
2
+ export default class Html extends Option<"html", true> {
3
3
  readonly scope = "html";
4
4
  readonly processor: {};
5
5
  readonly language: {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/html.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAAM,CACtC,MAAM,EACN,IAAI,CACL;IACC,SAAgB,KAAK,UAAU;IAC/B,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;MAIzB;CACF"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/index.js";
1
+ import Option from "../option.js";
2
2
  export default class Html extends Option {
3
3
  scope = "html";
4
4
  processor = {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/html.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAGjC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;IAC7B,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/index.js";
1
+ import Option from "../option.js";
2
2
  export default class Js extends Option<"js"> {
3
3
  readonly scope = "js";
4
4
  readonly processor: {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/js.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CAAC,IAAI,CAAC;IAC1C,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe,OAEzB;CACF"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/index.js";
1
+ import Option from "../option.js";
2
2
  export default class Js extends Option {
3
3
  scope = "js";
4
4
  processor = {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/js.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAY;IAC1B,KAAK,GAAG,IAAI,CAAC;IACb,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,OAAO,EAAE,CAAC;IACZ,CAAC;CACF"}
@@ -1,5 +1,5 @@
1
- import Option from "./option/index.js";
2
- export default class Json extends Option<"json", true, 1> {
1
+ import Option from "../option.js";
2
+ export default class Json extends Option<"json", true> {
3
3
  readonly scope = "json";
4
4
  readonly processor: {};
5
5
  readonly language: {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/json.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAAM,CACtC,MAAM,EACN,IAAI,CACL;IACC,SAAgB,KAAK,UAAU;IAC/B,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;MAIzB;CACF"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/index.js";
1
+ import Option from "../option.js";
2
2
  export default class Json extends Option {
3
3
  scope = "json";
4
4
  processor = {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/json.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,MAGjC;IACiB,KAAK,GAAG,MAAM,CAAC;IACf,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;IAC7B,CAAC;CACF"}
@@ -1,5 +1,5 @@
1
- import Option from "./option/index.js";
2
- export default class Jsonc extends Option<"jsonc", true, 1> {
1
+ import Option from "../option.js";
2
+ export default class Jsonc extends Option<"jsonc", true> {
3
3
  readonly scope = "jsonc";
4
4
  readonly processor: {};
5
5
  readonly language: {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,IAAI,CACL;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;MAIzB;CACF"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/index.js";
1
+ import Option from "../option.js";
2
2
  export default class Jsonc extends Option {
3
3
  scope = "jsonc";
4
4
  processor = {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAGlC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAE7B,OAAO,EAAE,MAAM,EAAW,CAAC;IAC7B,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/index.js";
1
+ import Option from "../option.js";
2
2
  import type Ts from "./ts.js";
3
3
  export default class Mocha extends Option<"mocha", Ts["option"]["languageOptions"]["parserOptions"], 1, "mocha"> {
4
4
  readonly scope = "mocha";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAE3B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,EAChD,CAAC,EACD,OAAO,CACR;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAC9B,SAAgB,KAAK,qBAAsB;IAE3C,IAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAazB;CACF"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/index.js";
1
+ import Option from "../option.js";
2
2
  export default class Mocha extends Option {
3
3
  scope = "mocha";
4
4
  processor = {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAG/B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAKlC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,CAAC;IACd,KAAK,GAAG,CAAC,OAAO,CAAU,CAAC;IAE3C,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,EAC5B,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAEhC,OAAO;YACL,MAAM;YACN,aAAa,EAAE;gBACb,OAAO,EAAE,eAAe;gBACxB,UAAU,EAAE,QAAQ;gBACpB,WAAW,EAAE,IAAI;aAClB;YACD,OAAO;SACC,CAAC;IACb,CAAC;CACF"}
@@ -1,11 +1,11 @@
1
- import Option from "./option/index.js";
1
+ import Option from "../option.js";
2
2
  import type Ts from "./ts.js";
3
3
  export default class Svelte extends Option<"svelte", {
4
4
  parser: unknown;
5
5
  extraFileExtensions: readonly [
6
6
  ".svelte"
7
7
  ];
8
- } & Ts["option"]["languageOptions"]["parserOptions"], 2, never, {
8
+ } & Ts["option"]["languageOptions"]["parserOptions"], 2, false, {
9
9
  processor: "svelte/svelte";
10
10
  }> {
11
11
  readonly scope = "svelte";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAE3B,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MAAM,CACxC,QAAQ,EACR;IACE,MAAM,EAAE,OAAO,CAAC;IAChB,mBAAmB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC3C,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,EACpD,CAAC,EACD,KAAK,EACL;IAAE,SAAS,EAAE,eAAe,CAAA;CAAE,CAC/B;IACC,SAAgB,KAAK,YAAY;IACjC,SAAgB,SAAS;;MAA2C;IACpE,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;;;;;;;;MAazB;CACF"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/index.js";
1
+ import Option from "../option.js";
2
2
  export default class Svelte extends Option {
3
3
  scope = "svelte";
4
4
  processor = { processor: "svelte/svelte" };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../../src/factory/options/scopes/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAG/B,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,MASnC;IACiB,KAAK,GAAG,QAAQ,CAAC;IACjB,SAAS,GAAG,EAAE,SAAS,EAAE,eAAe,EAAW,CAAC;IACpD,QAAQ,GAAG,EAAE,CAAC;IAE9B,IAAW,eAAe;QACxB,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QAEvC,OAAO;YACL,MAAM;YACN,aAAa,EAAE;gBACb,MAAM,EAAE,QAAQ;gBAChB,mBAAmB,EAAE,CAAC,SAAS,CAAU;gBACzC,OAAO,EAAE,eAAe;gBACxB,UAAU,EAAE,QAAQ;gBACpB,WAAW,EAAE,IAAI;aAClB;SACO,CAAC;IACb,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/index.js";
1
+ import Option from "../option.js";
2
2
  export default class Ts extends Option<"ts", {
3
3
  project: "tsconfig.json";
4
4
  sourceType: "module";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/scopes/ts.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,EAAG,SAAQ,MAAM,CACpC,IAAI,EACJ;IACE,OAAO,EAAE,eAAe,CAAC;IACzB,UAAU,EAAE,QAAQ,CAAC;IACrB,WAAW,EAAE,IAAI,CAAC;CACnB,EACD,CAAC,CACF;IACC,SAAgB,KAAK,QAAQ;IAC7B,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ,KAAM;IAE9B,IAAW,eAAe;;;;;;;MAWzB;CACF"}
@@ -1,4 +1,4 @@
1
- import Option from "./option/index.js";
1
+ import Option from "../option.js";
2
2
  export default class Ts extends Option {
3
3
  scope = "ts";
4
4
  processor = {};