@anolilab/eslint-config 7.3.1 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +35 -23
  3. package/dist/chunk-3NVDJZNH.js +7 -0
  4. package/dist/chunk-3NVDJZNH.js.map +1 -0
  5. package/dist/{chunk-SV64EPVP.js → chunk-6COSQA7M.js} +2 -2
  6. package/dist/chunk-6COSQA7M.js.map +1 -0
  7. package/dist/chunk-BH4PQLFK.js +10 -0
  8. package/dist/chunk-BH4PQLFK.js.map +1 -0
  9. package/dist/chunk-KKHL2OSJ.js +7 -0
  10. package/dist/chunk-KKHL2OSJ.js.map +1 -0
  11. package/dist/chunk-MQFZFF2T.js +7 -0
  12. package/dist/chunk-MQFZFF2T.js.map +1 -0
  13. package/dist/chunk-PW4WCSOE.js +9 -0
  14. package/dist/chunk-PW4WCSOE.js.map +1 -0
  15. package/dist/{chunk-YMWD4DNM.js → chunk-SEYYGHPU.js} +1 -1
  16. package/dist/chunk-SEYYGHPU.js.map +1 -0
  17. package/dist/chunk-TWVXPNWB.js +9 -0
  18. package/dist/chunk-TWVXPNWB.js.map +1 -0
  19. package/dist/{chunk-VJL7NPM4.js → chunk-VW5ZVT2B.js} +2 -2
  20. package/dist/chunk-VW5ZVT2B.js.map +1 -0
  21. package/dist/{chunk-UJAIXHCQ.js → chunk-ZFO6DTP4.js} +2 -2
  22. package/dist/{chunk-RWRS63WY.mjs.map → chunk-ZFO6DTP4.js.map} +1 -1
  23. package/dist/config/best-practices.js +3 -2
  24. package/dist/config/errors.js +3 -2
  25. package/dist/config/es6.js +3 -2
  26. package/dist/config/plugins/antfu.js +3 -2
  27. package/dist/config/plugins/antfu.js.map +1 -1
  28. package/dist/config/plugins/array-func.js +3 -2
  29. package/dist/config/plugins/array-func.js.map +1 -1
  30. package/dist/config/plugins/ava.js +3 -1
  31. package/dist/config/plugins/ava.js.map +1 -1
  32. package/dist/config/plugins/babel.js +7 -5
  33. package/dist/config/plugins/babel.js.map +1 -1
  34. package/dist/config/plugins/compat.js +2 -0
  35. package/dist/config/plugins/compat.js.map +1 -1
  36. package/dist/config/plugins/cypress.js +2 -0
  37. package/dist/config/plugins/cypress.js.map +1 -1
  38. package/dist/config/plugins/es.js +3 -2
  39. package/dist/config/plugins/es.js.map +1 -1
  40. package/dist/config/plugins/eslint-comments.js +3 -1
  41. package/dist/config/plugins/eslint-comments.js.map +1 -1
  42. package/dist/config/plugins/etc.js +3 -2
  43. package/dist/config/plugins/etc.js.map +1 -1
  44. package/dist/config/plugins/html.js +4 -3
  45. package/dist/config/plugins/html.js.map +1 -1
  46. package/dist/config/plugins/import.js +3 -2
  47. package/dist/config/plugins/jest-async.js +2 -0
  48. package/dist/config/plugins/jest-async.js.map +1 -1
  49. package/dist/config/plugins/jest-dom.js +2 -0
  50. package/dist/config/plugins/jest-dom.js.map +1 -1
  51. package/dist/config/plugins/jest-formatting.js +2 -0
  52. package/dist/config/plugins/jest-formatting.js.map +1 -1
  53. package/dist/config/plugins/jest.js +3 -1
  54. package/dist/config/plugins/jest.js.map +1 -1
  55. package/dist/config/plugins/jsdoc.js +4 -3
  56. package/dist/config/plugins/jsdoc.js.map +1 -1
  57. package/dist/config/plugins/jsonc.js +4 -3
  58. package/dist/config/plugins/jsonc.js.map +1 -1
  59. package/dist/config/plugins/jsx-a11y.js +2 -1
  60. package/dist/config/plugins/jsx-a11y.js.map +1 -1
  61. package/dist/config/plugins/lodash-fp.js +2 -0
  62. package/dist/config/plugins/lodash-fp.js.map +1 -1
  63. package/dist/config/plugins/lodash.js +3 -1
  64. package/dist/config/plugins/lodash.js.map +1 -1
  65. package/dist/config/plugins/markdown.js +3 -1
  66. package/dist/config/plugins/markdown.js.map +1 -1
  67. package/dist/config/plugins/mdx.js +3 -1
  68. package/dist/config/plugins/mdx.js.map +1 -1
  69. package/dist/config/plugins/no-extend-native.js +2 -0
  70. package/dist/config/plugins/no-extend-native.js.map +1 -1
  71. package/dist/config/plugins/no-loops.js +2 -0
  72. package/dist/config/plugins/no-loops.js.map +1 -1
  73. package/dist/config/plugins/no-secrets.js +3 -1
  74. package/dist/config/plugins/no-secrets.js.map +1 -1
  75. package/dist/config/plugins/no-unsanitized.js +2 -0
  76. package/dist/config/plugins/no-unsanitized.js.map +1 -1
  77. package/dist/config/plugins/node.js +2 -1
  78. package/dist/config/plugins/node.js.map +1 -1
  79. package/dist/config/plugins/playwright.js +2 -1
  80. package/dist/config/plugins/playwright.js.map +1 -1
  81. package/dist/config/plugins/promise.js +2 -0
  82. package/dist/config/plugins/promise.js.map +1 -1
  83. package/dist/config/plugins/react-hooks.js +3 -1
  84. package/dist/config/plugins/react-hooks.js.map +1 -1
  85. package/dist/config/plugins/react-redux.js +3 -1
  86. package/dist/config/plugins/react-redux.js.map +1 -1
  87. package/dist/config/plugins/react.js +10 -7
  88. package/dist/config/plugins/react.js.map +1 -1
  89. package/dist/config/plugins/regexp.js +3 -2
  90. package/dist/config/plugins/regexp.js.map +1 -1
  91. package/dist/config/plugins/security.js +4 -2
  92. package/dist/config/plugins/security.js.map +1 -1
  93. package/dist/config/plugins/simple-import-sort.js +3 -1
  94. package/dist/config/plugins/simple-import-sort.js.map +1 -1
  95. package/dist/config/plugins/sonarjs.js +3 -2
  96. package/dist/config/plugins/sonarjs.js.map +1 -1
  97. package/dist/config/plugins/sort-keys-fix.js +2 -0
  98. package/dist/config/plugins/sort-keys-fix.js.map +1 -1
  99. package/dist/config/plugins/storybook.js +3 -1
  100. package/dist/config/plugins/storybook.js.map +1 -1
  101. package/dist/config/plugins/tailwindcss.js +3 -2
  102. package/dist/config/plugins/tailwindcss.js.map +1 -1
  103. package/dist/config/plugins/tanstack-query.js +3 -2
  104. package/dist/config/plugins/tanstack-query.js.map +1 -1
  105. package/dist/config/plugins/testing-library.js +4 -3
  106. package/dist/config/plugins/testing-library.js.map +1 -1
  107. package/dist/config/plugins/toml.js +3 -1
  108. package/dist/config/plugins/toml.js.map +1 -1
  109. package/dist/config/plugins/tsdoc.js +3 -2
  110. package/dist/config/plugins/tsdoc.js.map +1 -1
  111. package/dist/config/plugins/typescript-sort-keys.js +2 -0
  112. package/dist/config/plugins/typescript-sort-keys.js.map +1 -1
  113. package/dist/config/plugins/typescript.js +9 -7
  114. package/dist/config/plugins/typescript.js.map +1 -1
  115. package/dist/config/plugins/unicorn.js +4 -3
  116. package/dist/config/plugins/unicorn.js.map +1 -1
  117. package/dist/config/plugins/vitest.js +3 -1
  118. package/dist/config/plugins/vitest.js.map +1 -1
  119. package/dist/config/plugins/yml.js +4 -3
  120. package/dist/config/plugins/yml.js.map +1 -1
  121. package/dist/config/plugins/you-dont-need-lodash-underscore.js +2 -0
  122. package/dist/config/plugins/you-dont-need-lodash-underscore.js.map +1 -1
  123. package/dist/config/plugins/you-dont-need-momentjs.js +2 -0
  124. package/dist/config/plugins/you-dont-need-momentjs.js.map +1 -1
  125. package/dist/config/plugins/zod.js +2 -0
  126. package/dist/config/plugins/zod.js.map +1 -1
  127. package/dist/config/style.js +4 -2
  128. package/dist/config/variables.js +3 -2
  129. package/dist/index.js +11 -10
  130. package/dist/index.js.map +1 -1
  131. package/dist/postinstall.js +8 -5
  132. package/dist/postinstall.js.map +1 -1
  133. package/dist/typescript-type-checking.js +4 -3
  134. package/dist/typescript-type-checking.js.map +1 -1
  135. package/package.json +17 -16
  136. package/dist/chunk-5IW32NSH.mjs +0 -5
  137. package/dist/chunk-5IW32NSH.mjs.map +0 -1
  138. package/dist/chunk-5S3UQ6WJ.js +0 -7
  139. package/dist/chunk-5S3UQ6WJ.js.map +0 -1
  140. package/dist/chunk-6SZIWSYU.mjs +0 -7
  141. package/dist/chunk-6SZIWSYU.mjs.map +0 -1
  142. package/dist/chunk-DJDHW6UR.mjs +0 -5
  143. package/dist/chunk-DJDHW6UR.mjs.map +0 -1
  144. package/dist/chunk-G7JIJH44.mjs +0 -5
  145. package/dist/chunk-G7JIJH44.mjs.map +0 -1
  146. package/dist/chunk-GGJONTGP.js +0 -7
  147. package/dist/chunk-GGJONTGP.js.map +0 -1
  148. package/dist/chunk-HRJ2DUAI.mjs +0 -7
  149. package/dist/chunk-HRJ2DUAI.mjs.map +0 -1
  150. package/dist/chunk-IDETTC6F.mjs +0 -5
  151. package/dist/chunk-IDETTC6F.mjs.map +0 -1
  152. package/dist/chunk-NE6XHV4I.js +0 -9
  153. package/dist/chunk-NE6XHV4I.js.map +0 -1
  154. package/dist/chunk-RWRS63WY.mjs +0 -7
  155. package/dist/chunk-SV64EPVP.js.map +0 -1
  156. package/dist/chunk-T6DHTHDB.mjs +0 -7
  157. package/dist/chunk-T6DHTHDB.mjs.map +0 -1
  158. package/dist/chunk-U5JQC7EA.mjs +0 -5
  159. package/dist/chunk-U5JQC7EA.mjs.map +0 -1
  160. package/dist/chunk-UJAIXHCQ.js.map +0 -1
  161. package/dist/chunk-VJL7NPM4.js.map +0 -1
  162. package/dist/chunk-XJPLKY3T.js +0 -9
  163. package/dist/chunk-XJPLKY3T.js.map +0 -1
  164. package/dist/chunk-YMWD4DNM.js.map +0 -1
  165. package/dist/config/best-practices.d.mts +0 -5
  166. package/dist/config/best-practices.mjs +0 -3
  167. package/dist/config/best-practices.mjs.map +0 -1
  168. package/dist/config/errors.d.mts +0 -5
  169. package/dist/config/errors.mjs +0 -3
  170. package/dist/config/errors.mjs.map +0 -1
  171. package/dist/config/es6.d.mts +0 -5
  172. package/dist/config/es6.mjs +0 -3
  173. package/dist/config/es6.mjs.map +0 -1
  174. package/dist/config/plugins/antfu.d.mts +0 -5
  175. package/dist/config/plugins/antfu.mjs +0 -8
  176. package/dist/config/plugins/antfu.mjs.map +0 -1
  177. package/dist/config/plugins/array-func.d.mts +0 -5
  178. package/dist/config/plugins/array-func.mjs +0 -7
  179. package/dist/config/plugins/array-func.mjs.map +0 -1
  180. package/dist/config/plugins/ava.d.mts +0 -5
  181. package/dist/config/plugins/ava.mjs +0 -5
  182. package/dist/config/plugins/ava.mjs.map +0 -1
  183. package/dist/config/plugins/babel.d.mts +0 -5
  184. package/dist/config/plugins/babel.mjs +0 -12
  185. package/dist/config/plugins/babel.mjs.map +0 -1
  186. package/dist/config/plugins/compat.d.mts +0 -5
  187. package/dist/config/plugins/compat.mjs +0 -5
  188. package/dist/config/plugins/compat.mjs.map +0 -1
  189. package/dist/config/plugins/cypress.d.mts +0 -5
  190. package/dist/config/plugins/cypress.mjs +0 -5
  191. package/dist/config/plugins/cypress.mjs.map +0 -1
  192. package/dist/config/plugins/es.d.mts +0 -5
  193. package/dist/config/plugins/es.mjs +0 -7
  194. package/dist/config/plugins/es.mjs.map +0 -1
  195. package/dist/config/plugins/eslint-comments.d.mts +0 -5
  196. package/dist/config/plugins/eslint-comments.mjs +0 -5
  197. package/dist/config/plugins/eslint-comments.mjs.map +0 -1
  198. package/dist/config/plugins/etc.d.mts +0 -5
  199. package/dist/config/plugins/etc.mjs +0 -7
  200. package/dist/config/plugins/etc.mjs.map +0 -1
  201. package/dist/config/plugins/html.d.mts +0 -5
  202. package/dist/config/plugins/html.mjs +0 -9
  203. package/dist/config/plugins/html.mjs.map +0 -1
  204. package/dist/config/plugins/import.d.mts +0 -5
  205. package/dist/config/plugins/import.mjs +0 -3
  206. package/dist/config/plugins/import.mjs.map +0 -1
  207. package/dist/config/plugins/jest-async.d.mts +0 -5
  208. package/dist/config/plugins/jest-async.mjs +0 -5
  209. package/dist/config/plugins/jest-async.mjs.map +0 -1
  210. package/dist/config/plugins/jest-dom.d.mts +0 -5
  211. package/dist/config/plugins/jest-dom.mjs +0 -5
  212. package/dist/config/plugins/jest-dom.mjs.map +0 -1
  213. package/dist/config/plugins/jest-formatting.d.mts +0 -5
  214. package/dist/config/plugins/jest-formatting.mjs +0 -5
  215. package/dist/config/plugins/jest-formatting.mjs.map +0 -1
  216. package/dist/config/plugins/jest.d.mts +0 -5
  217. package/dist/config/plugins/jest.mjs +0 -5
  218. package/dist/config/plugins/jest.mjs.map +0 -1
  219. package/dist/config/plugins/jsdoc.d.mts +0 -5
  220. package/dist/config/plugins/jsdoc.mjs +0 -9
  221. package/dist/config/plugins/jsdoc.mjs.map +0 -1
  222. package/dist/config/plugins/jsonc.d.mts +0 -5
  223. package/dist/config/plugins/jsonc.mjs +0 -14
  224. package/dist/config/plugins/jsonc.mjs.map +0 -1
  225. package/dist/config/plugins/jsx-a11y.d.mts +0 -5
  226. package/dist/config/plugins/jsx-a11y.mjs +0 -7
  227. package/dist/config/plugins/jsx-a11y.mjs.map +0 -1
  228. package/dist/config/plugins/lodash-fp.d.mts +0 -5
  229. package/dist/config/plugins/lodash-fp.mjs +0 -5
  230. package/dist/config/plugins/lodash-fp.mjs.map +0 -1
  231. package/dist/config/plugins/lodash.d.mts +0 -5
  232. package/dist/config/plugins/lodash.mjs +0 -5
  233. package/dist/config/plugins/lodash.mjs.map +0 -1
  234. package/dist/config/plugins/markdown.d.mts +0 -5
  235. package/dist/config/plugins/markdown.mjs +0 -5
  236. package/dist/config/plugins/markdown.mjs.map +0 -1
  237. package/dist/config/plugins/mdx.d.mts +0 -5
  238. package/dist/config/plugins/mdx.mjs +0 -5
  239. package/dist/config/plugins/mdx.mjs.map +0 -1
  240. package/dist/config/plugins/no-extend-native.d.mts +0 -5
  241. package/dist/config/plugins/no-extend-native.mjs +0 -5
  242. package/dist/config/plugins/no-extend-native.mjs.map +0 -1
  243. package/dist/config/plugins/no-loops.d.mts +0 -5
  244. package/dist/config/plugins/no-loops.mjs +0 -5
  245. package/dist/config/plugins/no-loops.mjs.map +0 -1
  246. package/dist/config/plugins/no-secrets.d.mts +0 -5
  247. package/dist/config/plugins/no-secrets.mjs +0 -5
  248. package/dist/config/plugins/no-secrets.mjs.map +0 -1
  249. package/dist/config/plugins/no-unsanitized.d.mts +0 -5
  250. package/dist/config/plugins/no-unsanitized.mjs +0 -5
  251. package/dist/config/plugins/no-unsanitized.mjs.map +0 -1
  252. package/dist/config/plugins/node.d.mts +0 -5
  253. package/dist/config/plugins/node.mjs +0 -7
  254. package/dist/config/plugins/node.mjs.map +0 -1
  255. package/dist/config/plugins/playwright.d.mts +0 -5
  256. package/dist/config/plugins/playwright.mjs +0 -7
  257. package/dist/config/plugins/playwright.mjs.map +0 -1
  258. package/dist/config/plugins/promise.d.mts +0 -5
  259. package/dist/config/plugins/promise.mjs +0 -5
  260. package/dist/config/plugins/promise.mjs.map +0 -1
  261. package/dist/config/plugins/react-hooks.d.mts +0 -5
  262. package/dist/config/plugins/react-hooks.mjs +0 -5
  263. package/dist/config/plugins/react-hooks.mjs.map +0 -1
  264. package/dist/config/plugins/react-redux.d.mts +0 -5
  265. package/dist/config/plugins/react-redux.mjs +0 -5
  266. package/dist/config/plugins/react-redux.mjs.map +0 -1
  267. package/dist/config/plugins/react.d.mts +0 -5
  268. package/dist/config/plugins/react.mjs +0 -19
  269. package/dist/config/plugins/react.mjs.map +0 -1
  270. package/dist/config/plugins/regexp.d.mts +0 -5
  271. package/dist/config/plugins/regexp.mjs +0 -7
  272. package/dist/config/plugins/regexp.mjs.map +0 -1
  273. package/dist/config/plugins/security.d.mts +0 -5
  274. package/dist/config/plugins/security.mjs +0 -5
  275. package/dist/config/plugins/security.mjs.map +0 -1
  276. package/dist/config/plugins/simple-import-sort.d.mts +0 -5
  277. package/dist/config/plugins/simple-import-sort.mjs +0 -5
  278. package/dist/config/plugins/simple-import-sort.mjs.map +0 -1
  279. package/dist/config/plugins/sonarjs.d.mts +0 -5
  280. package/dist/config/plugins/sonarjs.mjs +0 -7
  281. package/dist/config/plugins/sonarjs.mjs.map +0 -1
  282. package/dist/config/plugins/sort-keys-fix.d.mts +0 -5
  283. package/dist/config/plugins/sort-keys-fix.mjs +0 -5
  284. package/dist/config/plugins/sort-keys-fix.mjs.map +0 -1
  285. package/dist/config/plugins/storybook.d.mts +0 -5
  286. package/dist/config/plugins/storybook.mjs +0 -5
  287. package/dist/config/plugins/storybook.mjs.map +0 -1
  288. package/dist/config/plugins/tailwindcss.d.mts +0 -5
  289. package/dist/config/plugins/tailwindcss.mjs +0 -7
  290. package/dist/config/plugins/tailwindcss.mjs.map +0 -1
  291. package/dist/config/plugins/tanstack-query.d.mts +0 -5
  292. package/dist/config/plugins/tanstack-query.mjs +0 -7
  293. package/dist/config/plugins/tanstack-query.mjs.map +0 -1
  294. package/dist/config/plugins/testing-library.d.mts +0 -5
  295. package/dist/config/plugins/testing-library.mjs +0 -10
  296. package/dist/config/plugins/testing-library.mjs.map +0 -1
  297. package/dist/config/plugins/toml.d.mts +0 -5
  298. package/dist/config/plugins/toml.mjs +0 -5
  299. package/dist/config/plugins/toml.mjs.map +0 -1
  300. package/dist/config/plugins/tsdoc.d.mts +0 -5
  301. package/dist/config/plugins/tsdoc.mjs +0 -7
  302. package/dist/config/plugins/tsdoc.mjs.map +0 -1
  303. package/dist/config/plugins/typescript-sort-keys.d.mts +0 -5
  304. package/dist/config/plugins/typescript-sort-keys.mjs +0 -5
  305. package/dist/config/plugins/typescript-sort-keys.mjs.map +0 -1
  306. package/dist/config/plugins/typescript.d.mts +0 -5
  307. package/dist/config/plugins/typescript.mjs +0 -15
  308. package/dist/config/plugins/typescript.mjs.map +0 -1
  309. package/dist/config/plugins/unicorn.d.mts +0 -5
  310. package/dist/config/plugins/unicorn.mjs +0 -10
  311. package/dist/config/plugins/unicorn.mjs.map +0 -1
  312. package/dist/config/plugins/vitest.d.mts +0 -5
  313. package/dist/config/plugins/vitest.mjs +0 -5
  314. package/dist/config/plugins/vitest.mjs.map +0 -1
  315. package/dist/config/plugins/yml.d.mts +0 -5
  316. package/dist/config/plugins/yml.mjs +0 -9
  317. package/dist/config/plugins/yml.mjs.map +0 -1
  318. package/dist/config/plugins/you-dont-need-lodash-underscore.d.mts +0 -5
  319. package/dist/config/plugins/you-dont-need-lodash-underscore.mjs +0 -5
  320. package/dist/config/plugins/you-dont-need-lodash-underscore.mjs.map +0 -1
  321. package/dist/config/plugins/you-dont-need-momentjs.d.mts +0 -5
  322. package/dist/config/plugins/you-dont-need-momentjs.mjs +0 -5
  323. package/dist/config/plugins/you-dont-need-momentjs.mjs.map +0 -1
  324. package/dist/config/plugins/zod.d.mts +0 -5
  325. package/dist/config/plugins/zod.mjs +0 -5
  326. package/dist/config/plugins/zod.mjs.map +0 -1
  327. package/dist/config/style.d.mts +0 -5
  328. package/dist/config/style.mjs +0 -4
  329. package/dist/config/style.mjs.map +0 -1
  330. package/dist/config/variables.d.mts +0 -5
  331. package/dist/config/variables.mjs +0 -3
  332. package/dist/config/variables.mjs.map +0 -1
  333. package/dist/index.d.mts +0 -5
  334. package/dist/index.mjs +0 -18
  335. package/dist/index.mjs.map +0 -1
  336. package/dist/postinstall.d.mts +0 -2
  337. package/dist/postinstall.mjs +0 -63
  338. package/dist/postinstall.mjs.map +0 -1
  339. package/dist/typescript-type-checking.d.mts +0 -5
  340. package/dist/typescript-type-checking.mjs +0 -8
  341. package/dist/typescript-type-checking.mjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,57 @@
1
+ ## @anolilab/eslint-config [8.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@7.3.5...@anolilab/eslint-config@8.0.0) (2023-07-03)
2
+
3
+
4
+ ### ⚠ BREAKING CHANGES
5
+
6
+ * Because of broken release version this needs a version bump
7
+ Signed-off-by: prisis <d.bannert@anolilab.de>
8
+
9
+ ### Features
10
+
11
+ * Add eslint-plugin-security rules and enhance ESLint configuration, fixed bug with prettier overwrite rules ([f26cc20](https://github.com/anolilab/javascript-style-guide/commit/f26cc20789aa1305ff3ed9331bda90252713c622))
12
+ * Bumping the version up, because of a broken release with semantic-releases ([a646624](https://github.com/anolilab/javascript-style-guide/commit/a646624aa3e831809aa6bacb961c6e2c777d15b1))
13
+ * Update dependencies version in pnpm-lock.yaml ([1f75f7b](https://github.com/anolilab/javascript-style-guide/commit/1f75f7bec8190da5ae6f2ba7e6ac249d802fabb4))
14
+
15
+
16
+ ### Miscellaneous Chores
17
+
18
+ * **deps:** update eslint ([c83ef20](https://github.com/anolilab/javascript-style-guide/commit/c83ef20aa4dd8ecaa917089b2ef532730efd8038))
19
+ * **release:** @anolilab/eslint-config@7.4.0 [skip ci]\n\n## @anolilab/eslint-config [7.4.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@7.3.5...@anolilab/eslint-config@7.4.0) (2023-07-03) ([3327b82](https://github.com/anolilab/javascript-style-guide/commit/3327b828b81c48899fb0d1dc920ca701de4e6636))
20
+ * removed "semantic-release-npm-deprecate" not working like expected ([a988c89](https://github.com/anolilab/javascript-style-guide/commit/a988c898ebe4941cc6534ee3f8e1ec7e7a85d929))
21
+
22
+
23
+
24
+ ### Dependencies
25
+
26
+ * **@anolilab/package-json-utils:** upgraded to 2.0.0
27
+ * **@anolilab/semantic-release-preset:** upgraded to 5.0.0
28
+
29
+ ## @anolilab/eslint-config [7.4.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@7.3.5...@anolilab/eslint-config@7.4.0) (2023-07-03)
30
+
31
+
32
+ ### Features
33
+
34
+ * Add eslint-plugin-security rules and enhance ESLint configuration, fixed bug with prettier overwrite rules ([f26cc20](https://github.com/anolilab/javascript-style-guide/commit/f26cc20789aa1305ff3ed9331bda90252713c622))
35
+
36
+
37
+ ### Miscellaneous Chores
38
+
39
+ * removed "semantic-release-npm-deprecate" not working like expected ([a988c89](https://github.com/anolilab/javascript-style-guide/commit/a988c898ebe4941cc6534ee3f8e1ec7e7a85d929))
40
+
41
+
42
+
43
+ ### Dependencies
44
+
45
+ * **@anolilab/package-json-utils:** upgraded to 1.6.0
46
+ * **@anolilab/semantic-release-preset:** upgraded to 4.1.0
47
+
48
+ ## @anolilab/eslint-config [7.3.2](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@7.3.1...@anolilab/eslint-config@7.3.2) (2023-06-29)
49
+
50
+
51
+ ### Bug Fixes
52
+
53
+ * remove mjs support from eslint-config, because it breaks the package.json type module with eslint ([7171565](https://github.com/anolilab/javascript-style-guide/commit/71715650c0949191be1d72582b1c63c7c879f6af))
54
+
1
55
  ## @anolilab/eslint-config [7.3.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@7.3.0...@anolilab/eslint-config@7.3.1) (2023-06-29)
2
56
 
3
57
 
package/README.md CHANGED
@@ -22,13 +22,13 @@
22
22
 
23
23
  Our package serves as a valuable resource for JavaScript/Typescript-based projects, offering composable [ESLint](https://eslint.org/) configurations. It encompasses a range of features, including performance optimization and the flexibility to extend pre-defined base configurations.
24
24
 
25
- - Tailored Configuration for Workspaces: With this package, each workspace within your monorepo gains the ability to have its own customized ESLint configuration. This ensures that individual projects can maintain their specific requirements while still adhering to the overall guidelines.
25
+ - Tailored Configuration for Workspaces: With this package, each workspace within your monorepo gains the ability to have its own customized ESLint configuration. This ensures that individual projects can maintain their specific requirements while still adhering to the overall guidelines.
26
26
 
27
- - Configurability at Your Fingertips: Crafting your workspace's ESLint configuration is a breeze, thanks to the seamless composition of pre-defined base configurations. This empowers you to tailor the settings to suit your project's unique needs, without starting from scratch.
27
+ - Configurability at Your Fingertips: Crafting your workspace's ESLint configuration is a breeze, thanks to the seamless composition of pre-defined base configurations. This empowers you to tailor the settings to suit your project's unique needs, without starting from scratch.
28
28
 
29
- - Streamlined Convenience: Say goodbye to the hassle of installing plugins for each workspace. Our package integrates [@rushstack/eslint-patch](https://www.npmjs.com/package/@rushstack/eslint-patch), eliminating the need for repetitive plugin installations. Enjoy peace of mind as you focus on your work, knowing that the necessary plugins are automatically included.
29
+ - Streamlined Convenience: Say goodbye to the hassle of installing plugins for each workspace. Our package integrates [@rushstack/eslint-patch](https://www.npmjs.com/package/@rushstack/eslint-patch), eliminating the need for repetitive plugin installations. Enjoy peace of mind as you focus on your work, knowing that the necessary plugins are automatically included.
30
30
 
31
- - Enhanced Efficiency: We've optimized the package's performance by intelligently enabling plugins based on file naming conventions. This streamlined approach ensures that your ESLint checks run efficiently, targeting the relevant files and maximizing productivity.
31
+ - Enhanced Efficiency: We've optimized the package's performance by intelligently enabling plugins based on file naming conventions. This streamlined approach ensures that your ESLint checks run efficiently, targeting the relevant files and maximizing productivity.
32
32
 
33
33
  In summary, our package provides comprehensive and adaptable ESLint configurations for JavaScript and Typescript projects. It empowers you to achieve code quality while minimizing overhead and maximizing productivity throughout your workspaces.
34
34
 
@@ -189,11 +189,11 @@ Add this property to your package.json:
189
189
 
190
190
  ```json5
191
191
  {
192
- "anolilab": {
192
+ anolilab: {
193
193
  "eslint-config": {
194
194
  // options
195
- }
196
- }
195
+ },
196
+ },
197
197
  }
198
198
  ```
199
199
 
@@ -342,6 +342,7 @@ npm install --save-dev @babel/eslint-parser
342
342
  This plugin provide a range of code quality rules:
343
343
 
344
344
  - [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
345
+ - [eslint-plugin-antfu](https://github.com/antfu/eslint-config)
345
346
 
346
347
  ### Languages
347
348
 
@@ -379,7 +380,7 @@ The following esLint plugins enforce good coding practices:
379
380
  - [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise)
380
381
  - [eslint-plugin-no-loops](https://github.com/buildo/eslint-plugin-no-loops)
381
382
  - [eslint-plugin-simple-import-sort](https://github.com/lydell/eslint-plugin-simple-import-sort)
382
- - [eslint-plugin-es](https://github.com/mysticatea/eslint-plugin-es)
383
+ - [eslint-plugin-es-x](https://github.com/eslint-community/eslint-plugin-es-x)
383
384
 
384
385
  ### Security
385
386
 
@@ -388,6 +389,8 @@ These plugins add code security rules to esLint:
388
389
  - [eslint-plugin-no-secrets](https://github.com/nickdeis/eslint-plugin-no-secrets)
389
390
  - [eslint-plugin-no-unsanitized](https://github.com/mozilla/eslint-plugin-no-unsanitized)
390
391
  - [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs)
392
+ - [eslint-plugin-security](https://github.com/eslint-community/eslint-plugin-security)
393
+ - [rushstack/eslint-plugin-security](https://www.npmjs.com/package/@rushstack/eslint-plugin-security)
391
394
 
392
395
  ### Test Libraries
393
396
 
@@ -404,21 +407,30 @@ The following test plugins are supported:
404
407
 
405
408
  ### List of used plugins
406
409
 
407
- - eslint-import-resolver-node
408
- - eslint-plugin-compat
409
- - eslint-plugin-eslint-comments
410
- - eslint-plugin-import
411
- - eslint-plugin-markdown
412
- - eslint-plugin-no-loops
413
- - eslint-plugin-no-secrets
414
- - eslint-plugin-optimize-regex
415
- - eslint-plugin-promise
416
- - eslint-plugin-sonarjs
417
- - eslint-plugin-simple-import-sort
418
- - eslint-plugin-sort-keys-fix
419
- - eslint-plugin-unicorn
420
- - eslint-plugin-you-dont-need-lodash-underscore
421
- - eslint-plugin-you-dont-need-momentjs
410
+ - eslint-plugin-security
411
+ - @rushstack/eslint-plugin-security
412
+ - @typescript-eslint/eslint-plugin
413
+ - eslint-plugin-antfu
414
+ - eslint-plugin-compat
415
+ - eslint-plugin-es-x
416
+ - eslint-plugin-eslint-comments
417
+ - eslint-plugin-html
418
+ - eslint-plugin-i
419
+ - eslint-plugin-jsonc
420
+ - eslint-plugin-markdown
421
+ - eslint-plugin-mdx
422
+ - eslint-plugin-no-loops
423
+ - eslint-plugin-no-secrets
424
+ - eslint-plugin-no-use-extend-native
425
+ - eslint-plugin-promise
426
+ - eslint-plugin-regexp
427
+ - eslint-plugin-simple-import-sort
428
+ - eslint-plugin-sonarjs
429
+ - eslint-plugin-sort-keys-fix
430
+ - eslint-plugin-toml
431
+ - eslint-plugin-typescript-sort-keys
432
+ - eslint-plugin-unicorn
433
+ - eslint-plugin-yml
422
434
 
423
435
  ## Troubleshooting
424
436
 
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var c=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports);
4
+
5
+ exports.a = c;
6
+ //# sourceMappingURL=out.js.map
7
+ //# sourceMappingURL=chunk-3NVDJZNH.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var r={rules:{"for-direction":"error","getter-return":["error",{allowImplicit:!0}],"no-async-promise-executor":"error","no-await-in-loop":"error","no-compare-neg-zero":"error","no-cond-assign":["error","always"],"no-console":"warn","no-constant-condition":"warn","no-control-regex":"error","no-debugger":"error","no-dupe-args":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-empty":"error","no-empty-character-class":"error","no-ex-assign":"error","no-extra-boolean-cast":"error","no-extra-parens":["off","all",{conditionalAssign:!0,nestedBinaryExpressions:!1,returnAssign:!1,ignoreJSX:"all",enforceForArrowConditionals:!1}],"no-extra-semi":"error","no-func-assign":"error","no-import-assign":"error","no-inner-declarations":"error","no-invalid-regexp":"error","no-irregular-whitespace":"error","no-loss-of-precision":"error","no-misleading-character-class":"error","no-obj-calls":"error","no-promise-executor-return":"error","no-prototype-builtins":"error","no-regex-spaces":"error","no-setter-return":"error","no-sparse-arrays":"error","no-template-curly-in-string":"error","no-unexpected-multiline":"error","no-unreachable":"error","no-unreachable-loop":"off","no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":["error",{disallowArithmeticOperators:!0}],"no-useless-backreference":"error","no-negated-in-lhs":"off","require-atomic-updates":"off","use-isnan":"error","valid-jsdoc":"off","valid-typeof":["error",{requireStringLiterals:!0}]}},e=r;
3
+ var r={rules:{"for-direction":"error","getter-return":["error",{allowImplicit:!0}],"no-async-promise-executor":"error","no-await-in-loop":"error","no-compare-neg-zero":"error","no-cond-assign":["error","always"],"no-console":"warn","no-constant-condition":"warn","no-control-regex":"error","no-debugger":"error","no-dupe-args":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-empty":"error","no-empty-character-class":"error","no-ex-assign":"error","no-extra-boolean-cast":"error","no-extra-parens":["off","all",{conditionalAssign:!0,enforceForArrowConditionals:!1,ignoreJSX:"all",nestedBinaryExpressions:!1,returnAssign:!1}],"no-extra-semi":"error","no-func-assign":"error","no-import-assign":"error","no-inner-declarations":"error","no-invalid-regexp":"error","no-irregular-whitespace":"error","no-loss-of-precision":"error","no-misleading-character-class":"error","no-negated-in-lhs":"off","no-obj-calls":"error","no-promise-executor-return":"error","no-prototype-builtins":"error","no-regex-spaces":"error","no-setter-return":"error","no-sparse-arrays":"error","no-template-curly-in-string":"error","no-unexpected-multiline":"error","no-unreachable":"error","no-unreachable-loop":"off","no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":["error",{disallowArithmeticOperators:!0}],"no-useless-backreference":"error","require-atomic-updates":"off","use-isnan":"error","valid-jsdoc":"off","valid-typeof":["error",{requireStringLiterals:!0}]}},e=r;
4
4
 
5
5
  exports.a = e;
6
6
  //# sourceMappingURL=out.js.map
7
- //# sourceMappingURL=chunk-SV64EPVP.js.map
7
+ //# sourceMappingURL=chunk-6COSQA7M.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/config/errors.ts"],"names":["config","errors_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,MAAO,CAGH,gBAAiB,QAIjB,gBAAiB,CAAC,QAAS,CAAE,cAAe,EAAK,CAAC,EAIlD,4BAA6B,QAI7B,mBAAoB,QAIpB,sBAAuB,QAGvB,iBAAkB,CAAC,QAAS,QAAQ,EAGpC,aAAc,OAGd,wBAAyB,OAGzB,mBAAoB,QAGpB,cAAe,QAGf,eAAgB,QAIhB,kBAAmB,QAGnB,eAAgB,QAGhB,oBAAqB,QAGrB,WAAY,QAGZ,2BAA4B,QAG5B,eAAgB,QAIhB,wBAAyB,QAIzB,kBAAmB,CACf,MACA,MACA,CACI,kBAAmB,GACnB,4BAA6B,GAC7B,UAAW,MACX,wBAAyB,GACzB,aAAc,EAClB,CACJ,EAGA,gBAAiB,QAGjB,iBAAkB,QAGlB,mBAAoB,QAGpB,wBAAyB,QAGzB,oBAAqB,QAGrB,0BAA2B,QAI3B,uBAAwB,QAIxB,gCAAiC,QAGjC,oBAAqB,MAIrB,eAAgB,QAIhB,6BAA8B,QAG9B,wBAAyB,QAIzB,kBAAmB,QAGnB,mBAAoB,QAIpB,mBAAoB,QAIpB,8BAA+B,QAG/B,0BAA2B,QAI3B,iBAAkB,QAIlB,sBAAuB,MAIvB,oBAAqB,QAIrB,qBAAsB,QAItB,8BAA+B,CAAC,QAAS,CAAE,4BAA6B,EAAK,CAAC,EAI9E,2BAA4B,QAK5B,yBAA0B,MAG1B,YAAa,QAIb,cAAe,MAIf,eAAgB,CAAC,QAAS,CAAE,sBAAuB,EAAK,CAAC,CAC7D,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n rules: {\n // Enforce “for” loop update clause moving the counter in the right direction\n // https://eslint.org/docs/rules/for-direction\n \"for-direction\": \"error\",\n\n // Enforces that a return statement is present in property getters\n // https://eslint.org/docs/rules/getter-return\n \"getter-return\": [\"error\", { allowImplicit: true }],\n\n // disallow using an async function as a Promise executor\n // https://eslint.org/docs/rules/no-async-promise-executor\n \"no-async-promise-executor\": \"error\",\n\n // Disallow await inside of loops\n // https://eslint.org/docs/rules/no-await-in-loop\n \"no-await-in-loop\": \"error\",\n\n // Disallow comparisons to negative zero\n // https://eslint.org/docs/rules/no-compare-neg-zero\n \"no-compare-neg-zero\": \"error\",\n\n // disallow assignment in conditional expressions\n \"no-cond-assign\": [\"error\", \"always\"],\n\n // disallow use of console\n \"no-console\": \"warn\",\n\n // disallow use of constant expressions in conditions\n \"no-constant-condition\": \"warn\",\n\n // disallow control characters in regular expressions\n \"no-control-regex\": \"error\",\n\n // disallow use of debugger\n \"no-debugger\": \"error\",\n\n // disallow duplicate arguments in functions\n \"no-dupe-args\": \"error\",\n\n // Disallow duplicate conditions in if-else-if chains\n // https://eslint.org/docs/rules/no-dupe-else-if\n \"no-dupe-else-if\": \"error\",\n\n // disallow duplicate keys when creating object literals\n \"no-dupe-keys\": \"error\",\n\n // disallow a duplicate case label.\n \"no-duplicate-case\": \"error\",\n\n // disallow empty statements\n \"no-empty\": \"error\",\n\n // disallow the use of empty character classes in regular expressions\n \"no-empty-character-class\": \"error\",\n\n // disallow assigning to the exception in a catch block\n \"no-ex-assign\": \"error\",\n\n // disallow double-negation boolean casts in a boolean context\n // https://eslint.org/docs/rules/no-extra-boolean-cast\n \"no-extra-boolean-cast\": \"error\",\n\n // disallow unnecessary parentheses\n // https://eslint.org/docs/rules/no-extra-parens\n \"no-extra-parens\": [\n \"off\",\n \"all\",\n {\n conditionalAssign: true,\n enforceForArrowConditionals: false,\n ignoreJSX: \"all\", // delegate to eslint-plugin-react\n nestedBinaryExpressions: false,\n returnAssign: false,\n },\n ],\n\n // disallow unnecessary semicolons\n \"no-extra-semi\": \"error\",\n\n // disallow overwriting functions written as function declarations\n \"no-func-assign\": \"error\",\n\n // https://eslint.org/docs/rules/no-import-assign\n \"no-import-assign\": \"error\",\n\n // disallow function or variable declarations in nested blocks\n \"no-inner-declarations\": \"error\",\n\n // disallow invalid regular expression strings in the RegExp constructor\n \"no-invalid-regexp\": \"error\",\n\n // disallow irregular whitespace outside of strings and comments\n \"no-irregular-whitespace\": \"error\",\n\n // Disallow Number Literals That Lose Precision\n // https://eslint.org/docs/rules/no-loss-of-precision\n \"no-loss-of-precision\": \"error\",\n\n // Disallow characters which are made with multiple code points in character class syntax\n // https://eslint.org/docs/rules/no-misleading-character-class\n \"no-misleading-character-class\": \"error\",\n\n // deprecated in favor of no-unsafe-negation\n \"no-negated-in-lhs\": \"off\",\n\n // Disallow returning values from Promise executor functions\n // disallow the use of object properties of the global object (Math and JSON) as functions\n \"no-obj-calls\": \"error\",\n\n // disallow use of Object.prototypes builtins directly\n // https://eslint.org/docs/rules/no-promise-executor-return\n \"no-promise-executor-return\": \"error\",\n\n // https://eslint.org/docs/rules/no-prototype-builtins\n \"no-prototype-builtins\": \"error\",\n\n // Disallow returning values from setters\n // disallow multiple spaces in a regular expression literal\n \"no-regex-spaces\": \"error\",\n\n // https://eslint.org/docs/rules/no-setter-return\n \"no-setter-return\": \"error\",\n\n // Disallow template literal placeholder syntax in regular strings\n // disallow sparse arrays\n \"no-sparse-arrays\": \"error\",\n\n // Avoid code that looks like two expressions but is actually one\n // https://eslint.org/docs/rules/no-template-curly-in-string\n \"no-template-curly-in-string\": \"error\",\n\n // https://eslint.org/docs/rules/no-unexpected-multiline\n \"no-unexpected-multiline\": \"error\",\n\n // Disallow loops with a body that allows only one iteration\n // disallow unreachable statements after a return, throw, continue, or break statement\n \"no-unreachable\": \"error\",\n\n // disallow return/throw/break/continue inside finally blocks\n // https://eslint.org/docs/rules/no-unreachable-loop\n \"no-unreachable-loop\": \"off\", // error with typescript\n\n // disallow negating the left operand of relational operators\n // https://eslint.org/docs/rules/no-unsafe-finally\n \"no-unsafe-finally\": \"error\",\n\n // disallow use of optional chaining in contexts where the undefined value is not allowed\n // https://eslint.org/docs/rules/no-unsafe-negation\n \"no-unsafe-negation\": \"error\",\n\n // Disallow useless backreferences in regular expressions\n // https://eslint.org/docs/rules/no-unsafe-optional-chaining\n \"no-unsafe-optional-chaining\": [\"error\", { disallowArithmeticOperators: true }],\n\n // disallow negation of the left operand of an in expression\n // https://eslint.org/docs/rules/no-useless-backreference\n \"no-useless-backreference\": \"error\",\n\n // Disallow assignments that can lead to race conditions due to usage of await or yield\n // https://eslint.org/docs/rules/require-atomic-updates\n // note: not enabled because it is very buggy\n \"require-atomic-updates\": \"off\",\n\n // disallow comparisons with the value NaN\n \"use-isnan\": \"error\",\n\n // ensure JSDoc comments are valid\n // https://eslint.org/docs/rules/valid-jsdoc\n \"valid-jsdoc\": \"off\",\n\n // ensure that the results of typeof are compared against a valid string\n // https://eslint.org/docs/rules/valid-typeof\n \"valid-typeof\": [\"error\", { requireStringLiterals: true }],\n },\n};\n\nexport default config;\n"]}
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var chunkPW4WCSOE_js = require('./chunk-PW4WCSOE.js');
4
+ var packageJsonUtils = require('@anolilab/package-json-utils');
5
+
6
+ !global.hasAnolilabEsLintConfigPrettier&&(packageJsonUtils.hasDependency("prettier")||packageJsonUtils.hasDevDependency("prettier"))&&(global.hasAnolilabEsLintConfigPrettier=!0);var r={};global.hasAnolilabEsLintConfigPrettier&&(r={"array-bracket-newline":"off","array-bracket-spacing":"off","array-element-newline":"off","arrow-parens":"off","arrow-spacing":"off","block-spacing":"off","brace-style":"off","comma-dangle":"off","comma-spacing":"off","comma-style":"off","computed-property-spacing":"off",curly:0,"dot-location":"off","eol-last":"off","func-call-spacing":"off","function-call-argument-newline":"off","function-paren-newline":"off","generator-star-spacing":"off","implicit-arrow-linebreak":"off",indent:"off","jsx-quotes":"off","key-spacing":"off","keyword-spacing":"off","linebreak-style":"off","lines-around-comment":0,"max-len":0,"multiline-ternary":"off","new-parens":"off","newline-per-chained-call":"off","no-confusing-arrow":0,"no-extra-parens":"off","no-extra-semi":"off","no-floating-decimal":"off","no-mixed-operators":0,"no-mixed-spaces-and-tabs":"off","no-multi-spaces":"off","no-multiple-empty-lines":"off","no-tabs":0,"no-trailing-spaces":"off","no-unexpected-multiline":0,"no-whitespace-before-property":"off","nonblock-statement-body-position":"off","object-curly-newline":"off","object-curly-spacing":"off","object-property-newline":"off","one-var-declaration-per-line":"off","operator-linebreak":"off","padded-blocks":"off","quote-props":"off",quotes:0,"rest-spread-spacing":"off",semi:"off","semi-spacing":"off","semi-style":"off","space-before-blocks":"off","space-before-function-paren":"off","space-in-parens":"off","space-infix-ops":"off","space-unary-ops":"off","switch-colon-spacing":"off","template-curly-spacing":"off","template-tag-spacing":"off","unicode-bom":"off","wrap-iife":"off","wrap-regex":"off","yield-star-spacing":"off"});var a={rules:{"array-bracket-newline":"off","array-bracket-spacing":["error","never"],"array-element-newline":"off","block-spacing":["error","always"],"brace-style":["error","1tbs",{allowSingleLine:!0}],camelcase:["error",{ignoreDestructuring:!1,properties:"never"}],"capitalized-comments":["off","never",{block:{ignoreConsecutiveComments:!0,ignoreInlineComments:!0,ignorePattern:".*"},line:{ignoreConsecutiveComments:!0,ignoreInlineComments:!0,ignorePattern:".*"}}],"comma-dangle":["error",{arrays:"always-multiline",exports:"always-multiline",functions:"always-multiline",imports:"always-multiline",objects:"always-multiline"}],"comma-spacing":["error",{after:!0,before:!1}],"comma-style":["error","last",{exceptions:{ArrayExpression:!1,ArrayPattern:!1,ArrowFunctionExpression:!1,CallExpression:!1,FunctionDeclaration:!1,FunctionExpression:!1,ImportDeclaration:!1,NewExpression:!1,ObjectExpression:!1,ObjectPattern:!1,VariableDeclaration:!1}}],"computed-property-spacing":["error","never"],"consistent-this":"off","default-param-last":["error"],"eol-last":["error","always"],"func-call-spacing":["error","never"],"func-name-matching":["off","always",{considerPropertyDescriptor:!0,includeCommonJSModuleExports:!1}],"func-names":["error","as-needed"],"func-style":["error","expression"],"function-call-argument-newline":["error","consistent"],"function-paren-newline":["error","consistent"],"id-blacklist":"error","id-denylist":"off","id-length":"off","id-match":"off","implicit-arrow-linebreak":["error","beside"],indent:["error",chunkPW4WCSOE_js.a,{ArrayExpression:1,CallExpression:{arguments:1},FunctionDeclaration:{body:1,parameters:1},FunctionExpression:{body:1,parameters:1},ImportDeclaration:1,ObjectExpression:1,SwitchCase:1,VariableDeclarator:1,flatTernaryExpressions:!1,ignoreComments:!1,ignoredNodes:["JSXElement","JSXElement > *","JSXAttribute","JSXIdentifier","JSXNamespacedName","JSXMemberExpression","JSXSpreadAttribute","JSXExpressionContainer","JSXOpeningElement","JSXClosingElement","JSXFragment","JSXOpeningFragment","JSXClosingFragment","JSXText","JSXEmptyExpression","JSXSpreadChild"],outerIIFEBody:1}],"jsx-quotes":["off","prefer-double"],"key-spacing":["error",{afterColon:!0,beforeColon:!1}],"keyword-spacing":["error",{after:!0,before:!0,overrides:{case:{after:!0},return:{after:!0},throw:{after:!0}}}],"line-comment-position":["off",{applyDefaultPatterns:!0,ignorePattern:"",position:"above"}],"linebreak-style":["error","unix"],"lines-around-comment":"off","lines-around-directive":["error",{after:"always",before:"always"}],"lines-between-class-members":["error","always",{exceptAfterSingleLine:!1}],"max-depth":["off",4],"max-len":["error",160,2,{ignoreComments:!1,ignoreRegExpLiterals:!0,ignoreStrings:!0,ignoreTemplateLiterals:!0,ignoreUrls:!0}],"max-lines":["off",{max:300,skipBlankLines:!0,skipComments:!0}],"max-lines-per-function":["off",{IIFEs:!0,max:50,skipBlankLines:!0,skipComments:!0}],"max-nested-callbacks":"off","max-params":["off",3],"max-statements":["off",10],"max-statements-per-line":["off",{max:1}],"multiline-comment-style":["off","starred-block"],"multiline-ternary":["off","never"],"new-cap":["error",{capIsNew:!1,capIsNewExceptions:["Immutable.Map","Immutable.Set","Immutable.List"],newIsCap:!0,newIsCapExceptions:[]}],"new-parens":"error","newline-after-var":"off","newline-before-return":"off","newline-per-chained-call":["error",{ignoreChainWithDepth:4}],"no-array-constructor":"error","no-bitwise":"error","no-continue":"error","no-inline-comments":"off","no-lonely-if":"error","no-mixed-operators":["error",{allowSamePrecedence:!1,groups:[["%","**"],["%","+"],["%","-"],["%","*"],["%","/"],["/","*"],["&","|","<<",">>",">>>"],["==","!=","===","!=="],["&&","||"],["in","instanceof"]]}],"no-mixed-spaces-and-tabs":"error","no-multi-assign":["error"],"no-multiple-empty-lines":["error",{max:1,maxBOF:0,maxEOF:0}],"no-negated-condition":"off","no-nested-ternary":"error","no-new-object":"error","no-plusplus":"error","no-restricted-syntax":["error",{message:"for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array.",selector:"ForInStatement"},{message:"iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations.",selector:"ForOfStatement"},{message:"Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.",selector:"LabeledStatement"},{message:"`with` is disallowed in strict mode because it makes code impossible to predict and optimize.",selector:"WithStatement"}],"no-spaced-func":"off","no-tabs":"error","no-ternary":"off","no-trailing-spaces":["error",{ignoreComments:!1,skipBlankLines:!1}],"no-underscore-dangle":["error",{allow:["__DEV__","__STORYBOOK_CLIENT_API__","__STORYBOOK_ADDONS_CHANNEL__","__STORYBOOK_STORY_STORE__"],allowAfterSuper:!1,allowAfterThis:!1,enforceInMethodNames:!0}],"no-unneeded-ternary":["error",{defaultAssignment:!1}],"no-whitespace-before-property":"error","nonblock-statement-body-position":["error","beside",{overrides:{}}],"object-curly-newline":["error",{ExportDeclaration:{consistent:!0,minProperties:4,multiline:!0},ImportDeclaration:{consistent:!0,minProperties:4,multiline:!0},ObjectExpression:{consistent:!0,minProperties:4,multiline:!0},ObjectPattern:{consistent:!0,minProperties:4,multiline:!0}}],"object-curly-spacing":["error","always"],"object-property-newline":["error",{allowAllPropertiesOnSameLine:!0}],"one-var":["error","never"],"one-var-declaration-per-line":["error","always"],"operator-assignment":["error","always"],"operator-linebreak":["error","before",{overrides:{"=":"none"}}],"padded-blocks":["error",{blocks:"never",classes:"never",switches:"never"},{allowSingleLineBlocks:!0}],"padding-line-between-statements":"off","prefer-exponentiation-operator":"error","prefer-object-spread":"error","quote-props":["error","as-needed",{keywords:!1,numbers:!1,unnecessary:!0}],quotes:["error","double",{avoidEscape:!0}],"require-jsdoc":"off",semi:["error","always"],"semi-spacing":["error",{after:!0,before:!1}],"semi-style":["error","last"],"sort-keys":["off","asc",{caseSensitive:!1,natural:!0}],"sort-vars":"off","space-before-blocks":"error","space-before-function-paren":["error",{anonymous:"always",asyncArrow:"always",named:"never"}],"space-in-parens":["error","never"],"space-infix-ops":"error","space-unary-ops":["error",{nonwords:!1,overrides:{},words:!0}],"spaced-comment":["error","always",{block:{balanced:!0,exceptions:["-","+"],markers:["=","!",":","::"]},line:{exceptions:["-","+","*"],markers:["=","!","/"]}}],"switch-colon-spacing":["error",{after:!0,before:!1}],"template-tag-spacing":["error","never"],"unicode-bom":["error","never"],"wrap-regex":"off",...r}},i=a;
7
+
8
+ exports.a = i;
9
+ //# sourceMappingURL=out.js.map
10
+ //# sourceMappingURL=chunk-BH4PQLFK.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/config/style.ts"],"names":["hasDependency","hasDevDependency","prettierRules","config","indent_default","style_default"],"mappings":"wCAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAK5C,CAAC,OAAO,kCAAoCD,EAAc,UAAU,GAAKC,EAAiB,UAAU,KACpG,OAAO,gCAAkC,IAG7C,IAAIC,EAAwC,CAAC,EAEzC,OAAO,kCACPA,EAAgB,CAEZ,wBAAyB,MACzB,wBAAyB,MACzB,wBAAyB,MACzB,eAAgB,MAChB,gBAAiB,MACjB,gBAAiB,MACjB,cAAe,MACf,eAAgB,MAEhB,gBAAiB,MACjB,cAAe,MACf,4BAA6B,MAE7B,MAAO,EACP,eAAgB,MAChB,WAAY,MACZ,oBAAqB,MACrB,iCAAkC,MAClC,yBAA0B,MAC1B,yBAA0B,MAC1B,2BAA4B,MAC5B,OAAQ,MACR,aAAc,MACd,cAAe,MACf,kBAAmB,MACnB,kBAAmB,MACnB,uBAAwB,EACxB,UAAW,EACX,oBAAqB,MACrB,aAAc,MACd,2BAA4B,MAC5B,qBAAsB,EACtB,kBAAmB,MACnB,gBAAiB,MACjB,sBAAuB,MACvB,qBAAsB,EACtB,2BAA4B,MAC5B,kBAAmB,MACnB,0BAA2B,MAC3B,UAAW,EACX,qBAAsB,MACtB,0BAA2B,EAC3B,gCAAiC,MACjC,mCAAoC,MACpC,uBAAwB,MACxB,uBAAwB,MACxB,0BAA2B,MAC3B,+BAAgC,MAChC,qBAAsB,MACtB,gBAAiB,MACjB,cAAe,MACf,OAAQ,EACR,sBAAuB,MACvB,KAAM,MACN,eAAgB,MAChB,aAAc,MACd,sBAAuB,MACvB,8BAA+B,MAC/B,kBAAmB,MACnB,kBAAmB,MACnB,kBAAmB,MACnB,uBAAwB,MACxB,yBAA0B,MAC1B,uBAAwB,MACxB,cAAe,MACf,YAAa,MACb,aAAc,MACd,qBAAsB,KAC1B,GAGJ,IAAMC,EAAwB,CAC1B,MAAO,CAGH,wBAAyB,MAIzB,wBAAyB,CAAC,QAAS,OAAO,EAG1C,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AC,QAAS,OAAO,EAGpC,kBAAmB,QAInB,kBAAmB,CACf,QACA,CACI,SAAU,GACV,UAAW,CAAC,EACZ,MAAO,EACX,CACJ,EAIA,iBAAkB,CACd,QACA,SACA,CACI,MAAO,CACH,SAAU,GACV,WAAY,CAAC,IAAK,GAAG,EACrB,QAAS,CAAC,IAAK,IAAK,IAAK,IAAI,CACjC,EACA,KAAM,CACF,WAAY,CAAC,IAAK,IAAK,GAAG,EAC1B,QAAS,CAAC,IAAK,IAAK,GAAG,CAC3B,CACJ,CACJ,EAIA,uBAAwB,CAAC,QAAS,CAAE,MAAO,GAAM,OAAQ,EAAM,CAAC,EAIhE,uBAAwB,CAAC,QAAS,OAAO,EAIzC,cAAe,CAAC,QAAS,OAAO,EAGhC,aAAc,MAEd,GAAGF,CACP,CACJ,EAEOG,EAAQF","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nimport indent from \"../utils/indent\";\n\nif (!global.hasAnolilabEsLintConfigPrettier && (hasDependency(\"prettier\") || hasDevDependency(\"prettier\"))) {\n global.hasAnolilabEsLintConfigPrettier = true;\n}\n\nlet prettierRules: Linter.Config[\"rules\"] = {};\n\nif (global.hasAnolilabEsLintConfigPrettier) {\n prettierRules = {\n // The rest are rules that you never need to enable when using Prettier.\n \"array-bracket-newline\": \"off\",\n \"array-bracket-spacing\": \"off\",\n \"array-element-newline\": \"off\",\n \"arrow-parens\": \"off\",\n \"arrow-spacing\": \"off\",\n \"block-spacing\": \"off\",\n \"brace-style\": \"off\",\n \"comma-dangle\": \"off\",\n\n \"comma-spacing\": \"off\",\n \"comma-style\": \"off\",\n \"computed-property-spacing\": \"off\",\n // script can distinguish them.)\n curly: 0,\n \"dot-location\": \"off\",\n \"eol-last\": \"off\",\n \"func-call-spacing\": \"off\",\n \"function-call-argument-newline\": \"off\",\n \"function-paren-newline\": \"off\",\n \"generator-star-spacing\": \"off\",\n \"implicit-arrow-linebreak\": \"off\",\n indent: \"off\",\n \"jsx-quotes\": \"off\",\n \"key-spacing\": \"off\",\n \"keyword-spacing\": \"off\",\n \"linebreak-style\": \"off\",\n \"lines-around-comment\": 0,\n \"max-len\": 0,\n \"multiline-ternary\": \"off\",\n \"new-parens\": \"off\",\n \"newline-per-chained-call\": \"off\",\n \"no-confusing-arrow\": 0,\n \"no-extra-parens\": \"off\",\n \"no-extra-semi\": \"off\",\n \"no-floating-decimal\": \"off\",\n \"no-mixed-operators\": 0,\n \"no-mixed-spaces-and-tabs\": \"off\",\n \"no-multi-spaces\": \"off\",\n \"no-multiple-empty-lines\": \"off\",\n \"no-tabs\": 0,\n \"no-trailing-spaces\": \"off\",\n \"no-unexpected-multiline\": 0,\n \"no-whitespace-before-property\": \"off\",\n \"nonblock-statement-body-position\": \"off\",\n \"object-curly-newline\": \"off\",\n \"object-curly-spacing\": \"off\",\n \"object-property-newline\": \"off\",\n \"one-var-declaration-per-line\": \"off\",\n \"operator-linebreak\": \"off\",\n \"padded-blocks\": \"off\",\n \"quote-props\": \"off\",\n quotes: 0,\n \"rest-spread-spacing\": \"off\",\n semi: \"off\",\n \"semi-spacing\": \"off\",\n \"semi-style\": \"off\",\n \"space-before-blocks\": \"off\",\n \"space-before-function-paren\": \"off\",\n \"space-in-parens\": \"off\",\n \"space-infix-ops\": \"off\",\n \"space-unary-ops\": \"off\",\n \"switch-colon-spacing\": \"off\",\n \"template-curly-spacing\": \"off\",\n \"template-tag-spacing\": \"off\",\n \"unicode-bom\": \"off\",\n \"wrap-iife\": \"off\",\n \"wrap-regex\": \"off\",\n \"yield-star-spacing\": \"off\",\n };\n}\n\nconst config: Linter.Config = {\n rules: {\n // enforce line breaks after opening and before closing array brackets\n // https://eslint.org/docs/rules/array-bracket-newline\n \"array-bracket-newline\": \"off\",\n\n // enforce line breaks between array elements\n // enforce spacing inside array brackets\n \"array-bracket-spacing\": [\"error\", \"never\"],\n\n // https://eslint.org/docs/rules/array-element-newline\n \"array-element-newline\": \"off\",\n\n // enforce spacing inside single-line blocks\n // https://eslint.org/docs/rules/block-spacing\n \"block-spacing\": [\"error\", \"always\"],\n\n // enforce one true brace style\n \"brace-style\": [\"error\", \"1tbs\", { allowSingleLine: true }],\n\n // require camel case names\n camelcase: [\"error\", { ignoreDestructuring: false, properties: \"never\" }],\n\n // enforce or disallow capitalization of the first letter of a comment\n // https://eslint.org/docs/rules/capitalized-comments\n \"capitalized-comments\": [\n \"off\",\n \"never\",\n {\n block: {\n ignoreConsecutiveComments: true,\n ignoreInlineComments: true,\n ignorePattern: \".*\",\n },\n line: {\n ignoreConsecutiveComments: true,\n ignoreInlineComments: true,\n ignorePattern: \".*\",\n },\n },\n ],\n\n // require trailing commas in multiline object literals\n \"comma-dangle\": [\n \"error\",\n {\n arrays: \"always-multiline\",\n exports: \"always-multiline\",\n functions: \"always-multiline\",\n imports: \"always-multiline\",\n objects: \"always-multiline\",\n },\n ],\n\n // enforce spacing before and after comma\n \"comma-spacing\": [\"error\", { after: true, before: false }],\n\n // enforce one true comma style\n \"comma-style\": [\n \"error\",\n \"last\",\n {\n exceptions: {\n ArrayExpression: false,\n ArrayPattern: false,\n ArrowFunctionExpression: false,\n CallExpression: false,\n FunctionDeclaration: false,\n FunctionExpression: false,\n ImportDeclaration: false,\n NewExpression: false,\n ObjectExpression: false,\n ObjectPattern: false,\n VariableDeclaration: false,\n },\n },\n ],\n\n // disallow padding inside computed properties\n \"computed-property-spacing\": [\"error\", \"never\"],\n\n // enforces consistent naming when capturing the current execution context\n \"consistent-this\": \"off\",\n\n // enforce that default parameters should come last\n \"default-param-last\": [\"error\"],\n\n // enforce newline at the end of file, with no multiple empty lines\n \"eol-last\": [\"error\", \"always\"],\n\n // https://eslint.org/docs/rules/func-call-spacing\n \"func-call-spacing\": [\"error\", \"never\"],\n\n // enforce spacing between functions and their invocations\n // https://eslint.org/docs/rules/func-name-matching\n \"func-name-matching\": [\n \"off\",\n \"always\",\n {\n considerPropertyDescriptor: true,\n includeCommonJSModuleExports: false,\n },\n ],\n\n // requires function names to match the name of the variable or property to which they are\n // assigned\n // https://eslint.org/docs/rules/func-names\n \"func-names\": [\"error\", \"as-needed\"],\n\n // require function expressions to have a name\n // https://eslint.org/docs/rules/func-style\n \"func-style\": [\"error\", \"expression\"],\n\n // enforces use of function declarations or expressions\n // https://eslint.org/docs/rules/function-call-argument-newline\n \"function-call-argument-newline\": [\"error\", \"consistent\"],\n\n // enforce consistent line breaks inside function parentheses\n // https://eslint.org/docs/rules/function-paren-newline\n \"function-paren-newline\": [\"error\", \"consistent\"],\n\n // Blacklist certain identifiers to prevent them being used\n // https://eslint.org/docs/rules/id-blacklist\n \"id-blacklist\": \"error\",\n\n // disallow specified identifiers\n // https://eslint.org/docs/rules/id-denylist\n \"id-denylist\": \"off\",\n\n // this option enforces minimum and maximum identifier lengths\n // (variable names, property names etc.)\n \"id-length\": \"off\",\n\n // require identifiers to match the provided regular expression\n \"id-match\": \"off\",\n\n // Enforce the location of arrow function bodies with implicit returns\n // https://eslint.org/docs/rules/implicit-arrow-linebreak\n \"implicit-arrow-linebreak\": [\"error\", \"beside\"],\n\n // this option sets a specific tab width for your code\n // https://eslint.org/docs/rules/indent\n indent: [\n \"error\",\n indent,\n {\n ArrayExpression: 1,\n CallExpression: {\n arguments: 1,\n },\n // MemberExpression: null,\n FunctionDeclaration: {\n body: 1,\n parameters: 1,\n },\n FunctionExpression: {\n body: 1,\n parameters: 1,\n },\n ImportDeclaration: 1,\n ObjectExpression: 1,\n SwitchCase: 1,\n VariableDeclarator: 1,\n flatTernaryExpressions: false,\n ignoreComments: false,\n // list derived from https://github.com/benjamn/ast-types/blob/HEAD/def/jsx.js\n ignoredNodes: [\n \"JSXElement\",\n \"JSXElement > *\",\n \"JSXAttribute\",\n \"JSXIdentifier\",\n \"JSXNamespacedName\",\n \"JSXMemberExpression\",\n \"JSXSpreadAttribute\",\n \"JSXExpressionContainer\",\n \"JSXOpeningElement\",\n \"JSXClosingElement\",\n \"JSXFragment\",\n \"JSXOpeningFragment\",\n \"JSXClosingFragment\",\n \"JSXText\",\n \"JSXEmptyExpression\",\n \"JSXSpreadChild\",\n ],\n outerIIFEBody: 1,\n },\n ],\n\n // specify whether double or single quotes should be used in JSX attributes\n // https://eslint.org/docs/rules/jsx-quotes\n \"jsx-quotes\": [\"off\", \"prefer-double\"],\n\n // enforces spacing between keys and values in object literal properties\n \"key-spacing\": [\"error\", { afterColon: true, beforeColon: false }],\n\n // require a space before & after certain keywords\n \"keyword-spacing\": [\n \"error\",\n {\n after: true,\n before: true,\n overrides: {\n case: { after: true },\n return: { after: true },\n throw: { after: true },\n },\n },\n ],\n\n // enforce position of line comments\n // https://eslint.org/docs/rules/line-comment-position\n // TODO: enable?\n \"line-comment-position\": [\n \"off\",\n {\n applyDefaultPatterns: true,\n ignorePattern: \"\",\n position: \"above\",\n },\n ],\n\n // disallow mixed 'LF' and 'CRLF' as linebreaks\n // https://eslint.org/docs/rules/linebreak-style\n \"linebreak-style\": [\"error\", \"unix\"],\n\n // require or disallow an empty line between class members\n // enforces empty lines around comments\n \"lines-around-comment\": \"off\",\n\n // https://eslint.org/docs/rules/lines-around-directive\n \"lines-around-directive\": [\n \"error\",\n {\n after: \"always\",\n before: \"always\",\n },\n ],\n\n // require or disallow newlines around directives\n // https://eslint.org/docs/rules/lines-between-class-members\n \"lines-between-class-members\": [\"error\", \"always\", { exceptAfterSingleLine: false }],\n\n // specify the maximum depth that blocks can be nested\n \"max-depth\": [\"off\", 4],\n\n // specify the maximum length of a line in your program\n // https://eslint.org/docs/rules/max-len\n \"max-len\": [\n \"error\",\n 160,\n 2,\n {\n ignoreComments: false,\n ignoreRegExpLiterals: true,\n ignoreStrings: true,\n ignoreTemplateLiterals: true,\n ignoreUrls: true,\n },\n ],\n\n // specify the max number of lines in a file\n // https://eslint.org/docs/rules/max-lines\n \"max-lines\": [\n \"off\",\n {\n max: 300,\n skipBlankLines: true,\n skipComments: true,\n },\n ],\n\n // enforce a maximum function length\n // https://eslint.org/docs/rules/max-lines-per-function\n \"max-lines-per-function\": [\n \"off\",\n {\n IIFEs: true,\n max: 50,\n skipBlankLines: true,\n skipComments: true,\n },\n ],\n\n // specify the maximum depth callbacks can be nested\n \"max-nested-callbacks\": \"off\",\n\n // limits the number of parameters that can be used in the function declaration.\n \"max-params\": [\"off\", 3],\n\n // specify the maximum number of statement allowed in a function\n \"max-statements\": [\"off\", 10],\n\n // restrict the number of statements per line\n // https://eslint.org/docs/rules/max-statements-per-line\n \"max-statements-per-line\": [\"off\", { max: 1 }],\n\n // enforce a particular style for multiline comments\n // https://eslint.org/docs/rules/multiline-comment-style\n \"multiline-comment-style\": [\"off\", \"starred-block\"],\n\n // require multiline ternary\n // https://eslint.org/docs/rules/multiline-ternary\n // TODO: enable?\n \"multiline-ternary\": [\"off\", \"never\"],\n\n // require a capital letter for constructors\n \"new-cap\": [\n \"error\",\n {\n capIsNew: false,\n capIsNewExceptions: [\"Immutable.Map\", \"Immutable.Set\", \"Immutable.List\"],\n newIsCap: true,\n newIsCapExceptions: [],\n },\n ],\n\n // disallow the omission of parentheses when invoking a constructor with no arguments\n // https://eslint.org/docs/rules/new-parens\n \"new-parens\": \"error\",\n\n // allow/disallow an empty newline after var statement\n \"newline-after-var\": \"off\",\n\n // https://eslint.org/docs/rules/newline-before-return\n \"newline-before-return\": \"off\",\n\n // enforces new line after each method call in the chain to make it\n // more readable and easy to maintain\n // https://eslint.org/docs/rules/newline-per-chained-call\n \"newline-per-chained-call\": [\"error\", { ignoreChainWithDepth: 4 }],\n\n // disallow use of the Array constructor\n \"no-array-constructor\": \"error\",\n\n // disallow use of bitwise operators\n // https://eslint.org/docs/rules/no-bitwise\n \"no-bitwise\": \"error\",\n\n // disallow use of the continue statement\n // https://eslint.org/docs/rules/no-continue\n \"no-continue\": \"error\",\n\n // disallow comments inline after code\n \"no-inline-comments\": \"off\",\n\n // disallow if as the only statement in an else block\n // https://eslint.org/docs/rules/no-lonely-if\n \"no-lonely-if\": \"error\",\n\n // disallow un-paren'd mixes of different operators\n // https://eslint.org/docs/rules/no-mixed-operators\n \"no-mixed-operators\": [\n \"error\",\n {\n // the list of arithmetic groups disallows mixing `%` and `**`\n allowSamePrecedence: false,\n // with other arithmetic operators.\n groups: [\n [\"%\", \"**\"],\n [\"%\", \"+\"],\n [\"%\", \"-\"],\n [\"%\", \"*\"],\n [\"%\", \"/\"],\n [\"/\", \"*\"],\n [\"&\", \"|\", \"<<\", \">>\", \">>>\"],\n [\"==\", \"!=\", \"===\", \"!==\"],\n [\"&&\", \"||\"],\n [\"in\", \"instanceof\"],\n ],\n },\n ],\n\n // disallow mixed spaces and tabs for indentation\n \"no-mixed-spaces-and-tabs\": \"error\",\n\n // disallow use of chained assignment expressions\n // https://eslint.org/docs/rules/no-multi-assign\n \"no-multi-assign\": [\"error\"],\n\n // disallow multiple empty lines, only one newline at the end, and no new lines at the beginning\n // https://eslint.org/docs/rules/no-multiple-empty-lines\n \"no-multiple-empty-lines\": [\"error\", { max: 1, maxBOF: 0, maxEOF: 0 }],\n\n // disallow negated conditions\n // https://eslint.org/docs/rules/no-negated-condition\n \"no-negated-condition\": \"off\",\n\n // disallow nested ternary expressions\n \"no-nested-ternary\": \"error\",\n\n // disallow use of the Object constructor\n \"no-new-object\": \"error\",\n\n // disallow use of unary operators, ++ and --\n // https://eslint.org/docs/rules/no-plusplus\n \"no-plusplus\": \"error\",\n\n // disallow certain syntax forms\n // https://eslint.org/docs/rules/no-restricted-syntax\n \"no-restricted-syntax\": [\n \"error\",\n {\n message:\n \"for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array.\",\n selector: \"ForInStatement\",\n },\n {\n message:\n \"iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations.\",\n selector: \"ForOfStatement\",\n },\n {\n message: \"Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.\",\n selector: \"LabeledStatement\",\n },\n {\n message: \"`with` is disallowed in strict mode because it makes code impossible to predict and optimize.\",\n selector: \"WithStatement\",\n },\n ],\n\n // disallow space between function identifier and application\n // deprecated in favor of func-call-spacing\n \"no-spaced-func\": \"off\",\n\n // disallow tab characters entirely\n \"no-tabs\": \"error\",\n\n // disallow the use of ternary operators\n \"no-ternary\": \"off\",\n\n // disallow trailing whitespace at the end of lines\n \"no-trailing-spaces\": [\n \"error\",\n {\n ignoreComments: false,\n skipBlankLines: false,\n },\n ],\n\n // disallow dangling underscores in identifiers\n // https://eslint.org/docs/rules/no-underscore-dangle\n \"no-underscore-dangle\": [\n \"error\",\n {\n allow: [\"__DEV__\", \"__STORYBOOK_CLIENT_API__\", \"__STORYBOOK_ADDONS_CHANNEL__\", \"__STORYBOOK_STORY_STORE__\"],\n allowAfterSuper: false,\n allowAfterThis: false,\n enforceInMethodNames: true,\n },\n ],\n\n // disallow the use of Boolean literals in conditional expressions\n // also, prefer `a || b` over `a ? a : b`\n // https://eslint.org/docs/rules/no-unneeded-ternary\n \"no-unneeded-ternary\": [\"error\", { defaultAssignment: false }],\n\n // disallow whitespace before properties\n // https://eslint.org/docs/rules/no-whitespace-before-property\n \"no-whitespace-before-property\": \"error\",\n\n // enforce the location of single-line statements\n // https://eslint.org/docs/rules/nonblock-statement-body-position\n \"nonblock-statement-body-position\": [\"error\", \"beside\", { overrides: {} }],\n\n // https://eslint.org/docs/rules/object-curly-newline\n \"object-curly-newline\": [\n \"error\",\n {\n ExportDeclaration: { consistent: true, minProperties: 4, multiline: true },\n ImportDeclaration: { consistent: true, minProperties: 4, multiline: true },\n ObjectExpression: { consistent: true, minProperties: 4, multiline: true },\n ObjectPattern: { consistent: true, minProperties: 4, multiline: true },\n },\n ],\n\n // enforce line breaks between braces\n // require padding inside curly braces\n \"object-curly-spacing\": [\"error\", \"always\"],\n\n // enforce \"same line\" or \"multiple line\" on object properties.\n // https://eslint.org/docs/rules/object-property-newline\n \"object-property-newline\": [\n \"error\",\n {\n allowAllPropertiesOnSameLine: true,\n },\n ],\n\n // allow just one var statement per function\n \"one-var\": [\"error\", \"never\"],\n\n // require a newline around variable declaration\n // https://eslint.org/docs/rules/one-var-declaration-per-line\n \"one-var-declaration-per-line\": [\"error\", \"always\"],\n\n // require assignment operator shorthand where possible or prohibit it entirely\n // https://eslint.org/docs/rules/operator-assignment\n \"operator-assignment\": [\"error\", \"always\"],\n\n // Requires operator at the beginning of the line in multiline statements\n // https://eslint.org/docs/rules/operator-linebreak\n \"operator-linebreak\": [\"error\", \"before\", { overrides: { \"=\": \"none\" } }],\n\n // disallow padding within blocks\n \"padded-blocks\": [\n \"error\",\n {\n blocks: \"never\",\n classes: \"never\",\n switches: \"never\",\n },\n {\n allowSingleLineBlocks: true,\n },\n ],\n\n // Require or disallow padding lines between statements\n // https://eslint.org/docs/rules/padding-line-between-statements\n \"padding-line-between-statements\": \"off\",\n\n // Disallow the use of Math.pow in favor of the ** operator\n // https://eslint.org/docs/rules/prefer-exponentiation-operator\n \"prefer-exponentiation-operator\": \"error\",\n\n // Prefer use of an object spread over Object.assign\n // https://eslint.org/docs/rules/prefer-object-spread\n \"prefer-object-spread\": \"error\",\n\n // require quotes around object literal property names\n // https://eslint.org/docs/rules/quote-props.html\n \"quote-props\": [\"error\", \"as-needed\", { keywords: false, numbers: false, unnecessary: true }],\n\n // specify whether double or single quotes should be used\n quotes: [\"error\", \"double\", { avoidEscape: true }],\n\n // do not require jsdoc\n // https://eslint.org/docs/rules/require-jsdoc\n \"require-jsdoc\": \"off\",\n\n // require or disallow use of semicolons instead of ASI\n semi: [\"error\", \"always\"],\n\n // enforce spacing before and after semicolons\n \"semi-spacing\": [\"error\", { after: true, before: false }],\n\n // Enforce location of semicolons\n // https://eslint.org/docs/rules/semi-style\n \"semi-style\": [\"error\", \"last\"],\n\n // requires object keys to be sorted\n \"sort-keys\": [\"off\", \"asc\", { caseSensitive: false, natural: true }],\n\n // sort variables within the same declaration block\n \"sort-vars\": \"off\",\n\n // require or disallow space before blocks\n \"space-before-blocks\": \"error\",\n\n // require or disallow space before function opening parenthesis\n // https://eslint.org/docs/rules/space-before-function-paren\n \"space-before-function-paren\": [\n \"error\",\n {\n anonymous: \"always\",\n asyncArrow: \"always\",\n named: \"never\",\n },\n ],\n\n // require or disallow spaces inside parentheses\n \"space-in-parens\": [\"error\", \"never\"],\n\n // require spaces around operators\n \"space-infix-ops\": \"error\",\n\n // Require or disallow spaces before/after unary operators\n // https://eslint.org/docs/rules/space-unary-ops\n \"space-unary-ops\": [\n \"error\",\n {\n nonwords: false,\n overrides: {},\n words: true,\n },\n ],\n\n // require or disallow a space immediately following the // or /* in a comment\n // https://eslint.org/docs/rules/spaced-comment\n \"spaced-comment\": [\n \"error\",\n \"always\",\n {\n block: {\n balanced: true,\n exceptions: [\"-\", \"+\"],\n markers: [\"=\", \"!\", \":\", \"::\"], // space here to support sprockets directives and flow comment types\n },\n line: {\n exceptions: [\"-\", \"+\", \"*\"],\n markers: [\"=\", \"!\", \"/\"], // space here to support sprockets directives, slash for TS /// comments\n },\n },\n ],\n\n // Enforce spacing around colons of switch statements\n // https://eslint.org/docs/rules/switch-colon-spacing\n \"switch-colon-spacing\": [\"error\", { after: true, before: false }],\n\n // Require or disallow spacing between template tags and their literals\n // https://eslint.org/docs/rules/template-tag-spacing\n \"template-tag-spacing\": [\"error\", \"never\"],\n\n // require or disallow the Unicode Byte Order Mark\n // https://eslint.org/docs/rules/unicode-bom\n \"unicode-bom\": [\"error\", \"never\"],\n\n // require regex literals to be wrapped in parentheses\n \"wrap-regex\": \"off\",\n\n ...prettierRules,\n },\n};\n\nexport default config;\n"]}
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var e={env:{es6:!0},parserOptions:{ecmaFeatures:{generators:!1,objectLiteralDuplicateProperties:!1},ecmaVersion:6,sourceType:"module"},rules:{"arrow-body-style":["error","as-needed",{requireReturnForObjectLiteral:!0}],"arrow-parens":["error","always"],"arrow-spacing":["error",{after:!0,before:!0}],"constructor-super":"error","generator-star-spacing":["error",{after:!0,before:!1}],"no-class-assign":"error","no-confusing-arrow":["error",{allowParens:!0}],"no-const-assign":"error","no-dupe-class-members":"error","no-duplicate-imports":"off","no-new-symbol":"error","no-restricted-exports":["error",{restrictDefaultExports:{defaultFrom:!1,direct:!1,named:!0,namedFrom:!1,namespaceFrom:!0},restrictedNamedExports:["then"]}],"no-restricted-imports":["error",{paths:[{message:"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead",name:"lodash.isequal"},{message:"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead",name:"lodash.uniqueId"},{message:"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead",name:"lodash.mergewith"},{message:"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead",name:"lodash.pick"},{name:"error"},{name:"domain"},{name:"freelist"},{name:"smalloc"},{name:"punycode"},{name:"sys"},{message:'Is legacy, npm version got deprecated, migrate to URLSearchParams as recommended or try "qs" as a package',name:"querystring"},{message:"Please use one of the following instead: chalk, kleur, ansi-colors, @colors/colors",name:"colors"},{message:"node v10.12 mkdir supports recursive option",name:"mkdirp"},{message:'Please use "@faker-js/faker" as a replacement',name:"faker"},{message:"Please use Object.assign or spread { ...obj }",name:"xtend"},{message:"Please use Object.assign or spread { ...obj }",name:"object-assign"},{message:"Please use Object.assign or spread { ...obj }",name:"extend-shallow"},{message:"node supports recursive option now",name:"rimraf"},{message:'just use "".padStart() and "".padEnd()',name:"pad-left"},{message:'just use "".padStart() and "".padEnd()',name:"pad-right"},{message:'just use "".padStart() and "".padEnd()',name:"left-pad"},{message:'just use "".padStart() and "".padEnd()',name:"right-pad"},{message:'just use "".padStart() and "".padEnd()',name:"pad"},{name:"safe-buffer"},{name:"safer-buffer"},{message:"just use [].flat() or some other polyfill",name:"array-flatten"},{message:"Been deprecated",name:"request"},{message:"use async/await instead",name:"co"},{message:"Please use TextDecoder instead",name:"windows-1252"},{message:"Please use TextDecoder instead",name:"string_decoder"},{message:"Please use array.prototype.flatMap instead",name:"concat-map"},{name:"buffer-alloc"}],patterns:["lodash.*"]}],"no-this-before-super":"error","no-useless-computed-key":"error","no-useless-constructor":"error","no-useless-rename":["error",{ignoreDestructuring:!1,ignoreExport:!1,ignoreImport:!1}],"no-var":"error","object-shorthand":["error","always",{avoidQuotes:!0,ignoreConstructors:!1}],"prefer-arrow-callback":["error",{allowNamedFunctions:!1,allowUnboundThis:!0}],"prefer-const":["error",{destructuring:"any",ignoreReadBeforeAssign:!0}],"prefer-destructuring":["error",{AssignmentExpression:{array:!0,object:!1},VariableDeclarator:{array:!1,object:!0}},{enforceForRenamedProperties:!1}],"prefer-numeric-literals":"error","prefer-reflect":"off","prefer-rest-params":"error","prefer-spread":"error","prefer-template":"error","require-yield":"error","rest-spread-spacing":["error","never"],"sort-imports":["off",{ignoreCase:!1,ignoreDeclarationSort:!1,ignoreMemberSort:!1,memberSyntaxSortOrder:["none","all","multiple","single"]}],"symbol-description":"error","template-curly-spacing":"error","yield-star-spacing":["error","after"]}},r=e;
4
+
5
+ exports.a = r;
6
+ //# sourceMappingURL=out.js.map
7
+ //# sourceMappingURL=chunk-KKHL2OSJ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/config/es6.ts"],"names":["config","es6_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,IAAK,CACD,IAAK,EACT,EACA,cAAe,CACX,aAAc,CACV,WAAY,GACZ,iCAAkC,EACtC,EACA,YAAa,EACb,WAAY,QAChB,EACA,MAAO,CAGH,mBAAoB,CAChB,QACA,YACA,CACI,8BAA+B,EACnC,CACJ,EAIA,eAAgB,CAAC,QAAS,QAAQ,EAIlC,gBAAiB,CAAC,QAAS,CAAE,MAAO,GAAM,OAAQ,EAAK,CAAC,EAGxD,oBAAqB,QAIrB,yBAA0B,CAAC,QAAS,CAAE,MAAO,GAAM,OAAQ,EAAM,CAAC,EAIlE,kBAAmB,QAInB,qBAAsB,CAClB,QACA,CACI,YAAa,EACjB,CACJ,EAGA,kBAAmB,QAInB,wBAAyB,QAKzB,uBAAwB,MAIxB,gBAAiB,QAIjB,wBAAyB,CACrB,QACA,CAII,uBAAwB,CACpB,YAAa,GACb,OAAQ,GACR,MAAO,GACP,UAAW,GACX,cAAe,EACnB,EAEA,uBAAwB,CAAC,MAAM,CACnC,CACJ,EAIA,wBAAyB,CACrB,QACA,CACI,MAAO,CACH,CACI,QACI,gIACJ,KAAM,gBACV,EACA,CACI,QACI,gIACJ,KAAM,iBACV,EACA,CACI,QACI,gIACJ,KAAM,kBACV,EACA,CACI,QACI,gIACJ,KAAM,aACV,EACA,CACI,KAAM,OACV,EACA,CACI,KAAM,QACV,EACA,CACI,KAAM,UACV,EACA,CACI,KAAM,SACV,EACA,CACI,KAAM,UACV,EACA,CACI,KAAM,KACV,EACA,CACI,QAAS,4GACT,KAAM,aACV,EACA,CACI,QAAS,qFACT,KAAM,QACV,EACA,CACI,QAAS,8CACT,KAAM,QACV,EACA,CACI,QAAS,gDACT,KAAM,OACV,EACA,CACI,QAAS,gDACT,KAAM,OACV,EACA,CACI,QAAS,gDACT,KAAM,eACV,EACA,CACI,QAAS,gDACT,KAAM,gBACV,EACA,CACI,QAAS,qCACT,KAAM,QACV,EACA,CACI,QAAS,yCACT,KAAM,UACV,EACA,CACI,QAAS,yCACT,KAAM,WACV,EACA,CACI,QAAS,yCACT,KAAM,UACV,EACA,CACI,QAAS,yCACT,KAAM,WACV,EACA,CACI,QAAS,yCACT,KAAM,KACV,EACA,CACI,KAAM,aACV,EACA,CACI,KAAM,cACV,EACA,CACI,QAAS,4CACT,KAAM,eACV,EACA,CACI,QAAS,kBACT,KAAM,SACV,EACA,CACI,QAAS,0BACT,KAAM,IACV,EACA,CACI,QAAS,iCACT,KAAM,cACV,EACA,CACI,QAAS,iCACT,KAAM,gBACV,EACA,CACI,QAAS,6CACT,KAAM,YACV,EACA,CACI,KAAM,cACV,CACJ,EAGA,SAAU,CAAC,UAAU,CACzB,CACJ,EAIA,uBAAwB,QAIxB,0BAA2B,QAI3B,yBAA0B,QAI1B,oBAAqB,CACjB,QACA,CACI,oBAAqB,GACrB,aAAc,GACd,aAAc,EAClB,CACJ,EAGA,SAAU,QAIV,mBAAoB,CAChB,QACA,SACA,CACI,YAAa,GACb,mBAAoB,EACxB,CACJ,EAGA,wBAAyB,CACrB,QACA,CACI,oBAAqB,GACrB,iBAAkB,EACtB,CACJ,EAGA,eAAgB,CACZ,QACA,CACI,cAAe,MACf,uBAAwB,EAC5B,CACJ,EAIA,uBAAwB,CACpB,QACA,CACI,qBAAsB,CAClB,MAAO,GACP,OAAQ,EACZ,EACA,mBAAoB,CAChB,MAAO,GACP,OAAQ,EACZ,CACJ,EACA,CACI,4BAA6B,EACjC,CACJ,EAIA,0BAA2B,QAI3B,iBAAkB,MAIlB,qBAAsB,QAItB,gBAAiB,QAIjB,kBAAmB,QAInB,gBAAiB,QAIjB,sBAAuB,CAAC,QAAS,OAAO,EAIxC,eAAgB,CACZ,MACA,CACI,WAAY,GACZ,sBAAuB,GACvB,iBAAkB,GAClB,sBAAuB,CAAC,OAAQ,MAAO,WAAY,QAAQ,CAC/D,CACJ,EAIA,qBAAsB,QAItB,yBAA0B,QAI1B,qBAAsB,CAAC,QAAS,OAAO,CAC3C,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n env: {\n es6: true,\n },\n parserOptions: {\n ecmaFeatures: {\n generators: false,\n objectLiteralDuplicateProperties: false,\n },\n ecmaVersion: 6,\n sourceType: \"module\",\n },\n rules: {\n // enforces no braces where they can be omitted\n // https://eslint.org/docs/rules/arrow-body-style\n \"arrow-body-style\": [\n \"error\",\n \"as-needed\",\n {\n requireReturnForObjectLiteral: true,\n },\n ],\n\n // require parens in arrow function arguments\n // https://eslint.org/docs/rules/arrow-parens\n \"arrow-parens\": [\"error\", \"always\"],\n\n // require space before/after arrow function's arrow\n // https://eslint.org/docs/rules/arrow-spacing\n \"arrow-spacing\": [\"error\", { after: true, before: true }],\n\n // verify super() callings in constructors\n \"constructor-super\": \"error\",\n\n // enforce the spacing around the * in generator functions\n // https://eslint.org/docs/rules/generator-star-spacing\n \"generator-star-spacing\": [\"error\", { after: true, before: false }],\n\n // disallow modifying variables of class declarations\n // https://eslint.org/docs/rules/no-class-assign\n \"no-class-assign\": \"error\",\n\n // disallow arrow functions where they could be confused with comparisons\n // https://eslint.org/docs/rules/no-confusing-arrow\n \"no-confusing-arrow\": [\n \"error\",\n {\n allowParens: true,\n },\n ],\n\n // disallow modifying variables that are declared using const\n \"no-const-assign\": \"error\",\n\n // disallow duplicate class members\n // https://eslint.org/docs/rules/no-dupe-class-members\n \"no-dupe-class-members\": \"error\",\n\n // disallow importing from the same path more than once\n // https://eslint.org/docs/rules/no-duplicate-imports\n // replaced by https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md\n \"no-duplicate-imports\": \"off\",\n\n // disallow symbol constructor\n // https://eslint.org/docs/rules/no-new-symbol\n \"no-new-symbol\": \"error\",\n\n // Disallow specified names in exports\n // https://eslint.org/docs/rules/no-restricted-exports\n \"no-restricted-exports\": [\n \"error\",\n {\n // default export while still blocking other \"default\" exports.\n // The 'default' entry in restrictedNamedExports must also be removed.\n // See https://github.com/airbnb/javascript/issues/2500 and https://github.com/eslint/eslint/pull/16785\n restrictDefaultExports: {\n defaultFrom: false, // permits `export { default } from 'foo';` declarations\n direct: false, // permits `export default` declarations\n named: true, // restricts `export { foo as default };` declarations\n namedFrom: false, // permits `export { foo as default } from 'foo';` declarations\n namespaceFrom: true, // restricts `export * as default from 'foo';` declarations\n },\n // this will cause tons of confusion when your module is dynamically `import()`ed\n restrictedNamedExports: [\"then\"],\n },\n ],\n\n // disallow specific imports\n // https://eslint.org/docs/rules/no-restricted-imports\n \"no-restricted-imports\": [\n \"error\",\n {\n paths: [\n {\n message:\n \"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead\",\n name: \"lodash.isequal\",\n },\n {\n message:\n \"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead\",\n name: \"lodash.uniqueId\",\n },\n {\n message:\n \"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead\",\n name: \"lodash.mergewith\",\n },\n {\n message:\n \"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead\",\n name: \"lodash.pick\",\n },\n {\n name: \"error\",\n },\n {\n name: \"domain\",\n },\n {\n name: \"freelist\",\n },\n {\n name: \"smalloc\",\n },\n {\n name: \"punycode\",\n },\n {\n name: \"sys\",\n },\n {\n message: 'Is legacy, npm version got deprecated, migrate to URLSearchParams as recommended or try \"qs\" as a package',\n name: \"querystring\",\n },\n {\n message: \"Please use one of the following instead: chalk, kleur, ansi-colors, @colors/colors\",\n name: \"colors\",\n },\n {\n message: \"node v10.12 mkdir supports recursive option\",\n name: \"mkdirp\",\n },\n {\n message: 'Please use \"@faker-js/faker\" as a replacement',\n name: \"faker\",\n },\n {\n message: \"Please use Object.assign or spread { ...obj }\",\n name: \"xtend\",\n },\n {\n message: \"Please use Object.assign or spread { ...obj }\",\n name: \"object-assign\",\n },\n {\n message: \"Please use Object.assign or spread { ...obj }\",\n name: \"extend-shallow\",\n },\n {\n message: \"node supports recursive option now\",\n name: \"rimraf\",\n },\n {\n message: 'just use \"\".padStart() and \"\".padEnd()',\n name: \"pad-left\",\n },\n {\n message: 'just use \"\".padStart() and \"\".padEnd()',\n name: \"pad-right\",\n },\n {\n message: 'just use \"\".padStart() and \"\".padEnd()',\n name: \"left-pad\",\n },\n {\n message: 'just use \"\".padStart() and \"\".padEnd()',\n name: \"right-pad\",\n },\n {\n message: 'just use \"\".padStart() and \"\".padEnd()',\n name: \"pad\",\n },\n {\n name: \"safe-buffer\",\n },\n {\n name: \"safer-buffer\",\n },\n {\n message: \"just use [].flat() or some other polyfill\",\n name: \"array-flatten\",\n },\n {\n message: \"Been deprecated\",\n name: \"request\",\n },\n {\n message: \"use async/await instead\",\n name: \"co\",\n },\n {\n message: \"Please use TextDecoder instead\",\n name: \"windows-1252\",\n },\n {\n message: \"Please use TextDecoder instead\",\n name: \"string_decoder\",\n },\n {\n message: \"Please use array.prototype.flatMap instead\",\n name: \"concat-map\",\n },\n {\n name: \"buffer-alloc\",\n },\n ],\n // catch-all for any lodash modularized.\n // The CVE is listed against the entire family for lodash < 4.17.11\n patterns: [\"lodash.*\"],\n },\n ],\n\n // disallow to use this/super before super() calling in constructors.\n // https://eslint.org/docs/rules/no-this-before-super\n \"no-this-before-super\": \"error\",\n\n // disallow useless computed property keys\n // https://eslint.org/docs/rules/no-useless-computed-key\n \"no-useless-computed-key\": \"error\",\n\n // disallow unnecessary constructor\n // https://eslint.org/docs/rules/no-useless-constructor\n \"no-useless-constructor\": \"error\",\n\n // disallow renaming import, export, and destructured assignments to the same name\n // https://eslint.org/docs/rules/no-useless-rename\n \"no-useless-rename\": [\n \"error\",\n {\n ignoreDestructuring: false,\n ignoreExport: false,\n ignoreImport: false,\n },\n ],\n\n // require let or const instead of var\n \"no-var\": \"error\",\n\n // require method and property shorthand syntax for object literals\n // https://eslint.org/docs/rules/object-shorthand\n \"object-shorthand\": [\n \"error\",\n \"always\",\n {\n avoidQuotes: true,\n ignoreConstructors: false,\n },\n ],\n\n // suggest using arrow functions as callbacks\n \"prefer-arrow-callback\": [\n \"error\",\n {\n allowNamedFunctions: false,\n allowUnboundThis: true,\n },\n ],\n\n // suggest using of const declaration for variables that are never modified after declared\n \"prefer-const\": [\n \"error\",\n {\n destructuring: \"any\",\n ignoreReadBeforeAssign: true,\n },\n ],\n\n // Prefer destructuring from arrays and objects\n // https://eslint.org/docs/rules/prefer-destructuring\n \"prefer-destructuring\": [\n \"error\",\n {\n AssignmentExpression: {\n array: true,\n object: false,\n },\n VariableDeclarator: {\n array: false,\n object: true,\n },\n },\n {\n enforceForRenamedProperties: false,\n },\n ],\n\n // disallow parseInt() in favor of binary, octal, and hexadecimal literals\n // https://eslint.org/docs/rules/prefer-numeric-literals\n \"prefer-numeric-literals\": \"error\",\n\n // suggest using Reflect methods where applicable\n // https://eslint.org/docs/rules/prefer-reflect\n \"prefer-reflect\": \"off\",\n\n // use rest parameters instead of arguments\n // https://eslint.org/docs/rules/prefer-rest-params\n \"prefer-rest-params\": \"error\",\n\n // suggest using the spread operator instead of .apply()\n // https://eslint.org/docs/rules/prefer-spread\n \"prefer-spread\": \"error\",\n\n // suggest using template literals instead of string concatenation\n // https://eslint.org/docs/rules/prefer-template\n \"prefer-template\": \"error\",\n\n // disallow generator functions that do not have yield\n // https://eslint.org/docs/rules/require-yield\n \"require-yield\": \"error\",\n\n // enforce spacing between object rest-spread\n // https://eslint.org/docs/rules/rest-spread-spacing\n \"rest-spread-spacing\": [\"error\", \"never\"],\n\n // import sorting\n // https://eslint.org/docs/rules/sort-imports\n \"sort-imports\": [\n \"off\",\n {\n ignoreCase: false,\n ignoreDeclarationSort: false,\n ignoreMemberSort: false,\n memberSyntaxSortOrder: [\"none\", \"all\", \"multiple\", \"single\"],\n },\n ],\n\n // require a Symbol description\n // https://eslint.org/docs/rules/symbol-description\n \"symbol-description\": \"error\",\n\n // enforce usage of spacing in template strings\n // https://eslint.org/docs/rules/template-curly-spacing\n \"template-curly-spacing\": \"error\",\n\n // enforce spacing around the * in yield* expressions\n // https://eslint.org/docs/rules/yield-star-spacing\n \"yield-star-spacing\": [\"error\", \"after\"],\n },\n};\n\nexport default config;\n"]}
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var e={rules:{"accessor-pairs":"off","array-callback-return":["error",{allowImplicit:!0}],"block-scoped-var":"error","class-methods-use-this":["error",{exceptMethods:[]}],complexity:["off",11],"consistent-return":"error",curly:["error","multi-line"],"default-case":["error",{commentPattern:"^no default$"}],"default-case-last":"error","default-param-last":"error","dot-location":["error","property"],"dot-notation":["error",{allowKeywords:!0}],eqeqeq:["error","always",{null:"ignore"}],"grouped-accessor-pairs":"error","guard-for-in":"error","max-classes-per-file":["error",1],"no-alert":"error","no-caller":"error","no-case-declarations":"error","no-constructor-return":"error","no-div-regex":"off","no-else-return":["error",{allowElseIf:!1}],"no-empty-function":["error",{allow:["arrowFunctions","functions","methods"]}],"no-empty-pattern":"error","no-empty-static-block":"error","no-eq-null":"off","no-eval":"error","no-extend-native":"error","no-extra-bind":"error","no-extra-label":"error","no-fallthrough":"error","no-floating-decimal":"error","no-global-assign":["error",{exceptions:[]}],"no-implicit-coercion":["off",{allow:[],boolean:!1,number:!0,string:!0}],"no-implicit-globals":"off","no-implied-eval":"error","no-invalid-this":"off","no-iterator":"error","no-labels":["error",{allowLoop:!1,allowSwitch:!1}],"no-lone-blocks":"error","no-loop-func":"error","no-magic-numbers":["off",{detectObjects:!1,enforceConst:!0,ignore:[],ignoreArrayIndexes:!0}],"no-multi-spaces":["error",{ignoreEOLComments:!1}],"no-multi-str":"error","no-native-reassign":"off","no-new":"error","no-new-func":"error","no-new-wrappers":"error","no-nonoctal-decimal-escape":"error","no-octal":"error","no-octal-escape":"error","no-param-reassign":["error",{ignorePropertyModificationsFor:["acc","accumulator","e","ctx","context","req","request","res","response","$scope","staticContext"],props:!0}],"no-proto":"error","no-redeclare":"error","no-restricted-properties":["error",{message:"arguments.callee is deprecated",object:"arguments",property:"callee"},{message:"Please use Number.isFinite instead",object:"global",property:"isFinite"},{message:"Please use Number.isFinite instead",object:"self",property:"isFinite"},{message:"Please use Number.isFinite instead",object:"window",property:"isFinite"},{message:"Please use Number.isNaN instead",object:"global",property:"isNaN"},{message:"Please use Number.isNaN instead",object:"self",property:"isNaN"},{message:"Please use Number.isNaN instead",object:"window",property:"isNaN"},{message:"Please use Object.defineProperty instead.",property:"__defineGetter__"},{message:"Please use Object.defineProperty instead.",property:"__defineSetter__"},{message:"Use the exponentiation operator (**) instead.",object:"Math",property:"pow"},{message:"Use `Number.isNaN` instead.",object:"globalThis",property:"isNaN"},{message:"Use `Number.isFinite` instead.",object:"globalThis",property:"isFinite"},{message:"Use `Number.parseFloat` instead.",object:"globalThis",property:"parseFloat"},{message:"Use `Number.parseInt` instead.",object:"globalThis",property:"parseInt"},{message:"Use `Number.parseFloat` instead.",object:"window",property:"parseFloat"},{message:"Use `Number.parseInt` instead.",object:"window",property:"parseInt"},{message:"Use `Object.getPrototypeOf` instead.",property:"__proto__"},{message:"Use `Object.getOwnPropertyDescriptor` instead.",property:"__lookupGetter__"},{message:"Use `Object.getOwnPropertyDescriptor` instead.",property:"__lookupSetter__"}],"no-return-assign":["error","always"],"no-return-await":"error","no-script-url":"error","no-self-assign":["error",{props:!0}],"no-self-compare":"error","no-sequences":"error","no-throw-literal":"error","no-unmodified-loop-condition":"off","no-unused-expressions":["error",{allowShortCircuit:!1,allowTaggedTemplates:!1,allowTernary:!1}],"no-unused-labels":"error","no-useless-call":"off","no-useless-catch":"error","no-useless-concat":"error","no-useless-escape":"error","no-useless-return":"error","no-void":"error","no-warning-comments":["off",{location:"start",terms:["todo","fixme","xxx","@todo"]}],"no-with":"error","prefer-named-capture-group":"off","prefer-promise-reject-errors":["error",{allowEmptyReject:!0}],"prefer-regex-literals":"error",radix:"error","require-await":"off","require-unicode-regexp":"off","vars-on-top":"error","wrap-iife":["error","outside",{functionPrototypeMethods:!1}],yoda:"error"}},r=e;
4
+
5
+ exports.a = r;
6
+ //# sourceMappingURL=out.js.map
7
+ //# sourceMappingURL=chunk-MQFZFF2T.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/config/best-practices.ts"],"names":["config","best_practices_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,MAAO,CAEH,iBAAkB,MAIlB,wBAAyB,CAAC,QAAS,CAAE,cAAe,EAAK,CAAC,EAG1D,mBAAoB,QAGpB,yBAA0B,CACtB,QACA,CACI,cAAe,CAAC,CACpB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J,EAGA,mBAAoB,QAIpB,kBAAmB,MAInB,mBAAoB,QAIpB,oBAAqB,QAIrB,oBAAqB,QAIrB,oBAAqB,QAGrB,UAAW,QAGX,sBAAuB,CACnB,MACA,CACI,SAAU,QACV,MAAO,CAAC,OAAQ,QAAS,MAAO,OAAO,CAC3C,CACJ,EAIA,UAAW,QAIX,6BAA8B,MAG9B,+BAAgC,CAAC,QAAS,CAAE,iBAAkB,EAAK,CAAC,EAGpE,wBAAyB,QAIzB,MAAO,QAIP,gBAAiB,MAGjB,yBAA0B,MAI1B,cAAe,QAGf,YAAa,CAAC,QAAS,UAAW,CAAE,yBAA0B,EAAM,CAAC,EAErE,KAAM,OACV,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n rules: {\n // enforces getter/setter pairs in objects\n \"accessor-pairs\": \"off\",\n\n // enforces return statements in callbacks of array's methods\n // https://eslint.org/docs/rules/array-callback-return\n \"array-callback-return\": [\"error\", { allowImplicit: true }],\n\n // treat var statements as if they were block scoped\n \"block-scoped-var\": \"error\",\n\n // https://eslint.org/docs/rules/class-methods-use-this\n \"class-methods-use-this\": [\n \"error\",\n {\n exceptMethods: [],\n },\n ],\n\n // enforce that class methods use \"this\"\n // specify the maximum cyclomatic complexity allowed in a program\n complexity: [\"off\", 11],\n\n // require return statements to either always or never specify values\n \"consistent-return\": \"error\",\n\n // specify curly brace conventions for all control statements\n curly: [\"error\", \"multi-line\"], // multiline\n\n // require default case in switch statements\n \"default-case\": [\"error\", { commentPattern: \"^no default$\" }],\n\n // Enforce default clauses in switch statements to be last\n // https://eslint.org/docs/rules/default-case-last\n \"default-case-last\": \"error\",\n\n // https://eslint.org/docs/rules/default-param-last\n \"default-param-last\": \"error\",\n\n // enforces consistent newlines before or after dots\n // https://eslint.org/docs/rules/dot-location\n \"dot-location\": [\"error\", \"property\"],\n\n // require the use of === and !==\n // encourages use of dot notation whenever possible\n \"dot-notation\": [\"error\", { allowKeywords: true }],\n\n // Require grouped accessor pairs in object literals and classes\n // https://eslint.org/docs/rules/eqeqeq\n eqeqeq: [\"error\", \"always\", { null: \"ignore\" }],\n\n // https://eslint.org/docs/rules/grouped-accessor-pairs\n \"grouped-accessor-pairs\": \"error\",\n\n // enforce a maximum number of classes per file\n // make sure for-in loops have an if statement\n \"guard-for-in\": \"error\",\n\n // https://eslint.org/docs/rules/max-classes-per-file\n \"max-classes-per-file\": [\"error\", 1],\n\n // disallow the use of alert, confirm, and prompt\n \"no-alert\": \"error\",\n\n // disallow lexical declarations in case/default clauses\n // disallow use of arguments.caller or arguments.callee\n \"no-caller\": \"error\",\n\n // Disallow returning value in constructor\n // https://eslint.org/docs/rules/no-case-declarations.html\n \"no-case-declarations\": \"error\",\n\n // disallow division operators explicitly at beginning of regular expression\n // https://eslint.org/docs/rules/no-constructor-return\n \"no-constructor-return\": \"error\",\n\n // disallow else after a return in an if\n // https://eslint.org/docs/rules/no-div-regex\n \"no-div-regex\": \"off\",\n\n // disallow empty functions, except for standalone funcs/arrows\n // https://eslint.org/docs/rules/no-else-return\n \"no-else-return\": [\"error\", { allowElseIf: false }],\n\n // disallow empty destructuring patterns\n // https://eslint.org/docs/rules/no-empty-function\n \"no-empty-function\": [\n \"error\",\n {\n allow: [\"arrowFunctions\", \"functions\", \"methods\"],\n },\n ],\n\n // Disallow empty static blocks\n // https://eslint.org/docs/rules/no-empty-pattern\n \"no-empty-pattern\": \"error\",\n\n // https://eslint.org/docs/latest/rules/no-empty-static-block\n \"no-empty-static-block\": \"error\",\n\n // disallow comparisons to null without a type-checking operator\n \"no-eq-null\": \"off\",\n\n // disallow use of eval()\n \"no-eval\": \"error\",\n\n // disallow adding to native types\n \"no-extend-native\": \"error\",\n\n // disallow Unnecessary Labels\n // disallow unnecessary function binding\n \"no-extra-bind\": \"error\",\n\n // https://eslint.org/docs/rules/no-extra-label\n \"no-extra-label\": \"error\",\n\n // disallow fallthrough of case statements\n \"no-fallthrough\": \"error\",\n\n // disallow reassignments of native objects or read-only globals\n // disallow the use of leading or trailing decimal points in numeric literals\n \"no-floating-decimal\": \"error\",\n // https://eslint.org/docs/rules/no-global-assign\n \"no-global-assign\": [\"error\", { exceptions: [] }],\n\n // disallow implicit type conversions\n // https://eslint.org/docs/rules/no-implicit-coercion\n \"no-implicit-coercion\": [\n \"off\",\n {\n allow: [],\n boolean: false,\n number: true,\n string: true,\n },\n ],\n\n // disallow var and named functions in global scope\n // https://eslint.org/docs/rules/no-implicit-globals\n \"no-implicit-globals\": \"off\",\n\n // disallow use of eval()-like methods\n \"no-implied-eval\": \"error\",\n\n // disallow this keywords outside of classes or class-like objects\n \"no-invalid-this\": \"off\",\n\n // disallow usage of __iterator__ property\n \"no-iterator\": \"error\",\n\n // disallow use of labels for anything other than loops and switches\n \"no-labels\": [\"error\", { allowLoop: false, allowSwitch: false }],\n\n // disallow unnecessary nested blocks\n \"no-lone-blocks\": \"error\",\n\n // disallow creation of functions within loops\n \"no-loop-func\": \"error\",\n\n // disallow magic numbers\n // https://eslint.org/docs/rules/no-magic-numbers\n \"no-magic-numbers\": [\n \"off\",\n {\n detectObjects: false,\n enforceConst: true,\n ignore: [],\n ignoreArrayIndexes: true,\n },\n ],\n\n // disallow use of multiple spaces\n \"no-multi-spaces\": [\n \"error\",\n {\n ignoreEOLComments: false,\n },\n ],\n\n // disallow use of multiline strings\n \"no-multi-str\": \"error\",\n\n // deprecated in favor of no-global-assign\n \"no-native-reassign\": \"off\",\n\n // disallow use of new operator when not part of the assignment or comparison\n \"no-new\": \"error\",\n\n // disallow use of new operator for Function object\n \"no-new-func\": \"error\",\n\n // Disallow \\8 and \\9 escape sequences in string literals\n // disallows creating new instances of String, Number, and Boolean\n \"no-new-wrappers\": \"error\",\n\n // https://eslint.org/docs/rules/no-nonoctal-decimal-escape\n \"no-nonoctal-decimal-escape\": \"error\",\n\n // disallow use of octal escape sequences in string literals, such as\n // disallow use of (old style) octal literals\n \"no-octal\": \"error\",\n\n // disallow reassignment of function parameters\n // disallow parameter object manipulation except for specific exclusions\n // var foo = 'Copyright \\251';\n \"no-octal-escape\": \"error\",\n\n // rule: https://eslint.org/docs/rules/no-param-reassign.html\n \"no-param-reassign\": [\n \"error\",\n {\n ignorePropertyModificationsFor: [\n \"acc\", // for reduce accumulators\n \"accumulator\", // for reduce accumulators\n \"e\", // for e.returnvalue\n \"ctx\", // for Koa routing\n \"context\", // for Koa routing\n \"req\", // for Express requests\n \"request\", // for Express requests\n \"res\", // for Express responses\n \"response\", // for Express responses\n \"$scope\", // for Angular 1 scopes\n \"staticContext\", // for ReactRouter context\n ],\n props: true,\n },\n ],\n\n // disallow usage of __proto__ property\n \"no-proto\": \"error\",\n\n // disallow certain object properties\n // disallow declaring the same variable more than once\n \"no-redeclare\": \"error\",\n\n // https://eslint.org/docs/rules/no-restricted-properties\n \"no-restricted-properties\": [\n \"error\",\n {\n message: \"arguments.callee is deprecated\",\n object: \"arguments\",\n property: \"callee\",\n },\n {\n message: \"Please use Number.isFinite instead\",\n object: \"global\",\n property: \"isFinite\",\n },\n {\n message: \"Please use Number.isFinite instead\",\n object: \"self\",\n property: \"isFinite\",\n },\n {\n message: \"Please use Number.isFinite instead\",\n object: \"window\",\n property: \"isFinite\",\n },\n {\n message: \"Please use Number.isNaN instead\",\n object: \"global\",\n\n property: \"isNaN\",\n },\n {\n message: \"Please use Number.isNaN instead\",\n object: \"self\",\n property: \"isNaN\",\n },\n {\n message: \"Please use Number.isNaN instead\",\n object: \"window\",\n property: \"isNaN\",\n },\n {\n message: \"Please use Object.defineProperty instead.\",\n property: \"__defineGetter__\",\n },\n {\n message: \"Please use Object.defineProperty instead.\",\n property: \"__defineSetter__\",\n },\n {\n message: \"Use the exponentiation operator (**) instead.\",\n object: \"Math\",\n property: \"pow\",\n },\n {\n message: \"Use `Number.isNaN` instead.\",\n object: \"globalThis\",\n property: \"isNaN\",\n },\n {\n message: \"Use `Number.isFinite` instead.\",\n object: \"globalThis\",\n property: \"isFinite\",\n },\n {\n message: \"Use `Number.parseFloat` instead.\",\n object: \"globalThis\",\n property: \"parseFloat\",\n },\n {\n message: \"Use `Number.parseInt` instead.\",\n object: \"globalThis\",\n property: \"parseInt\",\n },\n {\n message: \"Use `Number.parseFloat` instead.\",\n object: \"window\",\n property: \"parseFloat\",\n },\n {\n message: \"Use `Number.parseInt` instead.\",\n object: \"window\",\n property: \"parseInt\",\n },\n {\n message: \"Use `Object.getPrototypeOf` instead.\",\n property: \"__proto__\",\n },\n {\n message: \"Use `Object.getOwnPropertyDescriptor` instead.\",\n property: \"__lookupGetter__\",\n },\n {\n message: \"Use `Object.getOwnPropertyDescriptor` instead.\",\n property: \"__lookupSetter__\",\n },\n ],\n\n // disallow use of assignment in return statement\n \"no-return-assign\": [\"error\", \"always\"],\n\n // disallow redundant `return await`\n \"no-return-await\": \"error\",\n\n // disallow self assignment\n // disallow use of `javascript:` urls.\n \"no-script-url\": \"error\",\n\n // https://eslint.org/docs/rules/no-self-assign\n \"no-self-assign\": [\n \"error\",\n {\n props: true,\n },\n ],\n\n // disallow comparisons where both sides are exactly the same\n \"no-self-compare\": \"error\",\n\n // disallow use of comma operator\n \"no-sequences\": \"error\",\n\n // disallow unmodified conditions of loops\n // restrict what can be thrown as an exception\n \"no-throw-literal\": \"error\",\n\n // https://eslint.org/docs/rules/no-unmodified-loop-condition\n \"no-unmodified-loop-condition\": \"off\",\n\n // disallow unused labels\n // disallow usage of expressions in statement position\n \"no-unused-expressions\": [\n \"error\",\n {\n allowShortCircuit: false,\n allowTaggedTemplates: false,\n allowTernary: false,\n },\n ],\n\n // https://eslint.org/docs/rules/no-unused-labels\n \"no-unused-labels\": \"error\",\n\n // Disallow unnecessary catch clauses\n // disallow unnecessary .call() and .apply()\n \"no-useless-call\": \"off\",\n\n // disallow useless string concatenation\n // https://eslint.org/docs/rules/no-useless-catch\n \"no-useless-catch\": \"error\",\n\n // disallow unnecessary string escaping\n // https://eslint.org/docs/rules/no-useless-concat\n \"no-useless-concat\": \"error\",\n\n // disallow redundant return; keywords\n // https://eslint.org/docs/rules/no-useless-escape\n \"no-useless-escape\": \"error\",\n\n // disallow use of void operator\n // https://eslint.org/docs/rules/no-useless-return\n \"no-useless-return\": \"error\",\n\n // https://eslint.org/docs/rules/no-void\n \"no-void\": \"error\",\n\n // disallow usage of configurable warning terms in comments: e.g. todo\n \"no-warning-comments\": [\n \"off\",\n {\n location: \"start\",\n terms: [\"todo\", \"fixme\", \"xxx\", \"@todo\"],\n },\n ],\n\n // require using Error objects as Promise rejection reasons\n // disallow use of the with statement\n \"no-with\": \"error\",\n\n // Suggest using named capture group in regular expression\n // https://eslint.org/docs/rules/prefer-named-capture-group\n \"prefer-named-capture-group\": \"off\",\n\n // https://eslint.org/docs/rules/prefer-promise-reject-errors\n \"prefer-promise-reject-errors\": [\"error\", { allowEmptyReject: true }],\n\n // https://eslint.org/docs/rules/prefer-regex-literals\n \"prefer-regex-literals\": \"error\",\n\n // require `await` in `async function` (note: this is a horrible rule that should never be used)\n // require use of the second argument for parseInt()\n radix: \"error\",\n\n // Enforce the use of u flag on RegExp\n // https://eslint.org/docs/rules/require-await\n \"require-await\": \"off\",\n\n // https://eslint.org/docs/rules/require-unicode-regexp\n \"require-unicode-regexp\": \"off\",\n\n // require immediate function invocation to be wrapped in parentheses\n // requires to declare all vars on top of their containing scope\n \"vars-on-top\": \"error\",\n\n // https://eslint.org/docs/rules/wrap-iife.html\n \"wrap-iife\": [\"error\", \"outside\", { functionPrototypeMethods: false }],\n // require or disallow Yoda conditions\n yoda: \"error\",\n },\n};\n\nexport default config;\n"]}
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var chunkPTQ3FFI5_js = require('./chunk-PTQ3FFI5.js');
4
+
5
+ if(global.anolilabEslintIndent===void 0&&chunkPTQ3FFI5_js.a?.indent){if(Number.isNaN(chunkPTQ3FFI5_js.a.indent))throw new TypeError("Indent must be a number");global.anolilabEslintIndent=Number(chunkPTQ3FFI5_js.a.indent);}else global.anolilabEslintIndent=4;var l=global.anolilabEslintIndent,i=l;
6
+
7
+ exports.a = i;
8
+ //# sourceMappingURL=out.js.map
9
+ //# sourceMappingURL=chunk-PW4WCSOE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/utils/indent.ts"],"names":["eslint_config_default","indent","indent_default"],"mappings":"wCAEA,GAAI,OAAO,uBAAyB,QAAaA,GAAuB,OAAW,CAC/E,GAAI,OAAO,MAAMA,EAAqB,MAAS,EAC3C,MAAM,IAAI,UAAU,yBAAyB,EAGjD,OAAO,qBAAuB,OAAOA,EAAqB,MAAS,CACvE,MACI,OAAO,qBAAuB,EAGlC,IAAMC,EAAS,OAAO,qBAEfC,EAAQD","sourcesContent":["import anolilabEslintConfig from \"./eslint-config\";\n\nif (global.anolilabEslintIndent === undefined && anolilabEslintConfig?.[\"indent\"]) {\n if (Number.isNaN(anolilabEslintConfig[\"indent\"])) {\n throw new TypeError(\"Indent must be a number\");\n }\n\n global.anolilabEslintIndent = Number(anolilabEslintConfig[\"indent\"]);\n} else {\n global.anolilabEslintIndent = 4;\n}\n\nconst indent = global.anolilabEslintIndent;\n\nexport default indent;\n"]}
@@ -5,4 +5,4 @@ var e=()=>{},o=n=>process.env.NO_LOGS?e:s=>console.log(`${n}${s}`),c=o(" eslint
5
5
  exports.a = c;
6
6
  exports.b = t;
7
7
  //# sourceMappingURL=out.js.map
8
- //# sourceMappingURL=chunk-YMWD4DNM.js.map
8
+ //# sourceMappingURL=chunk-SEYYGHPU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/utils/loggers.ts"],"names":["noop","consolePrefix","prefix","message","consolePlugin","consoleLog"],"mappings":"AAAA,IAAMA,EAAO,IAAG,GAEVC,EAAiBC,GAAoB,QAAQ,IAAI,QAAaF,EAAQG,GAAoB,QAAQ,IAAI,GAAGD,CAAM,GAAGC,CAAO,EAAE,EAEpHC,EAAgBH,EAAc,kBAAkB,EAChDI,EAAaJ,EAAc,EAAE","sourcesContent":["const noop = () => undefined;\n\nconst consolePrefix = (prefix: string) => (process.env[\"NO_LOGS\"] ? noop : (message: string) => console.log(`${prefix}${message}`));\n\nexport const consolePlugin = consolePrefix(\" eslint-plugin-\");\nexport const consoleLog = consolePrefix(\"\");\n"]}
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var packageJsonUtils = require('@anolilab/package-json-utils');
4
+
5
+ var r={env:{es6:!0},overrides:[{files:["*.js","*.jsx","*.mjs","*.cjs","*.ts","*.tsx","*.mts","*.cts"],rules:{"import/consistent-type-specifier-style":["off","prefer-inline"],"import/default":"off","import/dynamic-import-chunkname":["off",{importFunctions:[],webpackChunknameFormat:"[0-9a-zA-Z-_/.]+"}],"import/export":"error","import/exports-last":"error","import/extensions":["error","ignorePackages",{js:"never",jsx:"never",mjs:"never"}],"import/first":"error","import/group-exports":"off","import/imports-first":"off","import/max-dependencies":["off",{max:10}],"import/named":"error","import/namespace":"off","import/newline-after-import":"error","import/no-absolute-path":"error","import/no-amd":"error","import/no-anonymous-default-export":["off",{allowAnonymousClass:!1,allowAnonymousFunction:!1,allowArray:!1,allowArrowFunction:!1,allowLiteral:!1,allowObject:!1}],"import/no-commonjs":"off","import/no-cycle":["error",{maxDepth:"\u221E"}],"import/no-default-export":"off","import/no-deprecated":"off","import/no-duplicates":"error","import/no-dynamic-require":"error","import/no-empty-named-blocks":"error","import/no-extraneous-dependencies":["error",{devDependencies:["test/**","tests/**","spec/**","**/fixture/**","**/__mocks__/**","test.{js,jsx}","test-*.{js,jsx}","**/*{.,_}{test,spec}.{js,jsx}","**/jest.config.cjs","**/jest.setup.js","**/vue.config.cjs","**/webpack.config.cjs","**/webpack.config.*.js","**/rollup.config.cjs","**/rollup.config.*.js","**/gulpfile.js","**/gulpfile.*.js","**/Gruntfile{,.js}","**/protractor.conf.js","**/protractor.conf.*.js","**/karma.conf.js","**/.eslintrc.js","**/.eslintrc.cjs","**/.eslintrc.mjs","**/vite.config.js","**/vite.config.ts","**/vitest.config.js","**/vitest.config.ts","**/__tests__/**/*.?(c|m)[jt]s?(x)","**/?(*.){test,spec}.?(c|m)[jt]s?(x)"],optionalDependencies:!1}],"import/no-internal-modules":["off",{allow:[]}],"import/no-mutable-exports":"error","import/no-named-as-default":"error","import/no-named-as-default-member":"error","import/no-named-default":"error","import/no-named-export":"off","import/no-namespace":"error","import/no-nodejs-modules":"off","import/no-relative-parent-imports":"off","import/no-restricted-paths":"off","import/no-self-import":"error","import/no-unassigned-import":"off","import/no-unresolved":["error",{caseSensitive:!0,commonjs:!0}],"import/no-unused-modules":"off","import/no-useless-path-segments":["error",{commonjs:!0,noUselessIndex:!0}],"import/no-webpack-loader-syntax":"error","import/order":["error",{groups:[["builtin","external","internal"]]}],"import/prefer-default-export":"error","import/unambiguous":"off"},settings:{"import/resolver":{node:{extensions:[".mjs",".js",".json"]},...packageJsonUtils.hasTypescript?{typescript:{alwaysTryTypes:!0,project:packageJsonUtils.fromRoot("tsconfig.json")}}:{}},...packageJsonUtils.hasTypescript?{"import/parsers":{"@typescript-eslint/parser":[".ts",".tsx"]}}:{},"import/core-modules":[],"import/extensions":[".js",".cjs",".mjs",".jsx"],"import/ignore":["\\.(coffee|scss|css|less|hbs|svg|json)$"]}},{files:["*.ts","*.tsx","*.mts","*.cts"],rules:{"import/default":"off","import/export":"off","import/named":"off"}}],parserOptions:{ecmaVersion:6,sourceType:"module"},plugins:["import"]},s=r;
6
+
7
+ exports.a = s;
8
+ //# sourceMappingURL=out.js.map
9
+ //# sourceMappingURL=chunk-TWVXPNWB.js.map