@anolilab/eslint-config 7.3.2 → 9.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 (156) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/README.md +38 -27
  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-H7VQP3ZD.js +8 -0
  8. package/dist/chunk-H7VQP3ZD.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-UYUXBUWX.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-ZEBBNF2R.js +10 -0
  20. package/dist/chunk-ZEBBNF2R.js.map +1 -0
  21. package/dist/{chunk-UJAIXHCQ.js → chunk-ZFO6DTP4.js} +2 -2
  22. package/dist/{chunk-UJAIXHCQ.js.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 +9 -2
  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 +4 -2
  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/perfectionist.js +14 -0
  80. package/dist/config/plugins/perfectionist.js.map +1 -0
  81. package/dist/config/plugins/playwright.js +2 -1
  82. package/dist/config/plugins/playwright.js.map +1 -1
  83. package/dist/config/plugins/promise.js +2 -0
  84. package/dist/config/plugins/promise.js.map +1 -1
  85. package/dist/config/plugins/react-hooks.js +5 -2
  86. package/dist/config/plugins/react-hooks.js.map +1 -1
  87. package/dist/config/plugins/react-redux.js +5 -2
  88. package/dist/config/plugins/react-redux.js.map +1 -1
  89. package/dist/config/plugins/react-usememo.js +10 -0
  90. package/dist/config/plugins/react-usememo.js.map +1 -0
  91. package/dist/config/plugins/react.js +10 -7
  92. package/dist/config/plugins/react.js.map +1 -1
  93. package/dist/config/plugins/regexp.js +3 -2
  94. package/dist/config/plugins/regexp.js.map +1 -1
  95. package/dist/config/plugins/security.js +4 -2
  96. package/dist/config/plugins/security.js.map +1 -1
  97. package/dist/config/plugins/simple-import-sort.js +3 -1
  98. package/dist/config/plugins/simple-import-sort.js.map +1 -1
  99. package/dist/config/plugins/sonarjs.js +3 -2
  100. package/dist/config/plugins/sonarjs.js.map +1 -1
  101. package/dist/config/plugins/storybook.js +3 -1
  102. package/dist/config/plugins/storybook.js.map +1 -1
  103. package/dist/config/plugins/tailwindcss.js +3 -2
  104. package/dist/config/plugins/tailwindcss.js.map +1 -1
  105. package/dist/config/plugins/tanstack-query.js +3 -2
  106. package/dist/config/plugins/tanstack-query.js.map +1 -1
  107. package/dist/config/plugins/testing-library.js +4 -3
  108. package/dist/config/plugins/testing-library.js.map +1 -1
  109. package/dist/config/plugins/toml.js +3 -1
  110. package/dist/config/plugins/toml.js.map +1 -1
  111. package/dist/config/plugins/tsdoc.js +3 -2
  112. package/dist/config/plugins/tsdoc.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 +4 -1
  122. package/dist/config/plugins/you-dont-need-lodash-underscore.js.map +1 -1
  123. package/dist/config/plugins/you-dont-need-momentjs.js +5 -2
  124. package/dist/config/plugins/you-dont-need-momentjs.js.map +1 -1
  125. package/dist/config/plugins/zod.js +5 -2
  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/globals.d.ts +8 -0
  130. package/dist/globals.js +17 -0
  131. package/dist/globals.js.map +1 -0
  132. package/dist/index.js +13 -10
  133. package/dist/index.js.map +1 -1
  134. package/dist/postinstall.js +16 -9
  135. package/dist/postinstall.js.map +1 -1
  136. package/dist/typescript-type-checking.js +4 -3
  137. package/dist/typescript-type-checking.js.map +1 -1
  138. package/package.json +26 -19
  139. package/dist/chunk-5S3UQ6WJ.js +0 -7
  140. package/dist/chunk-5S3UQ6WJ.js.map +0 -1
  141. package/dist/chunk-GGJONTGP.js +0 -7
  142. package/dist/chunk-GGJONTGP.js.map +0 -1
  143. package/dist/chunk-NE6XHV4I.js +0 -9
  144. package/dist/chunk-NE6XHV4I.js.map +0 -1
  145. package/dist/chunk-SV64EPVP.js.map +0 -1
  146. package/dist/chunk-U5H7JNHH.js +0 -8
  147. package/dist/chunk-U5H7JNHH.js.map +0 -1
  148. package/dist/chunk-UYUXBUWX.js.map +0 -1
  149. package/dist/chunk-XJPLKY3T.js +0 -9
  150. package/dist/chunk-XJPLKY3T.js.map +0 -1
  151. package/dist/config/plugins/sort-keys-fix.js +0 -7
  152. package/dist/config/plugins/sort-keys-fix.js.map +0 -1
  153. package/dist/config/plugins/typescript-sort-keys.js +0 -7
  154. package/dist/config/plugins/typescript-sort-keys.js.map +0 -1
  155. /package/dist/config/plugins/{sort-keys-fix.d.ts → perfectionist.d.ts} +0 -0
  156. /package/dist/config/plugins/{typescript-sort-keys.d.ts → react-usememo.d.ts} +0 -0
@@ -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,wBAAyB,MAIzB,gBAAiB,CAAC,QAAS,QAAQ,EAGnC,cAAe,CAAC,QAAS,OAAQ,CAAE,gBAAiB,EAAK,CAAC,EAG1D,UAAW,CAAC,QAAS,CAAE,oBAAqB,GAAO,WAAY,OAAQ,CAAC,EAIxE,uBAAwB,CACpB,MACA,QACA,CACI,MAAO,CACH,0BAA2B,GAC3B,qBAAsB,GACtB,cAAe,IACnB,EACA,KAAM,CACF,0BAA2B,GAC3B,qBAAsB,GACtB,cAAe,IACnB,CACJ,CACJ,EAGA,eAAgB,CACZ,QACA,CACI,OAAQ,mBACR,QAAS,mBACT,UAAW,mBACX,QAAS,mBACT,QAAS,kBACb,CACJ,EAGA,gBAAiB,CAAC,QAAS,CAAE,MAAO,GAAM,OAAQ,EAAM,CAAC,EAGzD,cAAe,CACX,QACA,OACA,CACI,WAAY,CACR,gBAAiB,GACjB,aAAc,GACd,wBAAyB,GACzB,eAAgB,GAChB,oBAAqB,GACrB,mBAAoB,GACpB,kBAAmB,GACnB,cAAe,GACf,iBAAkB,GAClB,cAAe,GACf,oBAAqB,EACzB,CACJ,CACJ,EAGA,4BAA6B,CAAC,QAAS,OAAO,EAG9C,kBAAmB,MAGnB,qBAAsB,CAAC,OAAO,EAG9B,WAAY,CAAC,QAAS,QAAQ,EAG9B,oBAAqB,CAAC,QAAS,OAAO,EAItC,qBAAsB,CAClB,MACA,SACA,CACI,2BAA4B,GAC5B,6BAA8B,EAClC,CACJ,EAKA,aAAc,CAAC,QAAS,WAAW,EAInC,aAAc,CAAC,QAAS,YAAY,EAIpC,iCAAkC,CAAC,QAAS,YAAY,EAIxD,yBAA0B,CAAC,QAAS,YAAY,EAIhD,eAAgB,QAIhB,cAAe,MAIf,YAAa,MAGb,WAAY,MAIZ,2BAA4B,CAAC,QAAS,QAAQ,EAI9C,OAAQ,CACJ,QACAC,EACA,CACI,gBAAiB,EACjB,eAAgB,CACZ,UAAW,CACf,EAEA,oBAAqB,CACjB,KAAM,EACN,WAAY,CAChB,EACA,mBAAoB,CAChB,KAAM,EACN,WAAY,CAChB,EACA,kBAAmB,EACnB,iBAAkB,EAClB,WAAY,EACZ,mBAAoB,EACpB,uBAAwB,GACxB,eAAgB,GAEhB,aAAc,CACV,aACA,iBACA,eACA,gBACA,oBACA,sBACA,qBACA,yBACA,oBACA,oBACA,cACA,qBACA,qBACA,UACA,qBACA,gBACJ,EACA,cAAe,CACnB,CACJ,EAIA,aAAc,CAAC,MAAO,eAAe,EAGrC,cAAe,CAAC,QAAS,CAAE,WAAY,GAAM,YAAa,EAAM,CAAC,EAGjE,kBAAmB,CACf,QACA,CACI,MAAO,GACP,OAAQ,GACR,UAAW,CACP,KAAM,CAAE,MAAO,EAAK,EACpB,OAAQ,CAAE,MAAO,EAAK,EACtB,MAAO,CAAE,MAAO,EAAK,CACzB,CACJ,CACJ,EAKA,wBAAyB,CACrB,MACA,CACI,qBAAsB,GACtB,cAAe,GACf,SAAU,OACd,CACJ,EAIA,kBAAmB,CAAC,QAAS,MAAM,EAInC,uBAAwB,MAGxB,yBAA0B,CACtB,QACA,CACI,MAAO,SACP,OAAQ,QACZ,CACJ,EAIA,8BAA+B,CAAC,QAAS,SAAU,CAAE,sBAAuB,EAAM,CAAC,EAGnF,YAAa,CAAC,MAAO,CAAC,EAItB,UAAW,CACP,QACA,IACA,EACA,CACI,eAAgB,GAChB,qBAAsB,GACtB,cAAe,GACf,uBAAwB,GACxB,WAAY,EAChB,CACJ,EAIA,YAAa,CACT,MACA,CACI,IAAK,IACL,eAAgB,GAChB,aAAc,EAClB,CACJ,EAIA,yBAA0B,CACtB,MACA,CACI,MAAO,GACP,IAAK,GACL,eAAgB,GAChB,aAAc,EAClB,CACJ,EAGA,uBAAwB,MAGxB,aAAc,CAAC,MAAO,CAAC,EAGvB,iBAAkB,CAAC,MAAO,EAAE,EAI5B,0BAA2B,CAAC,MAAO,CAAE,IAAK,CAAE,CAAC,EAI7C,0BAA2B,CAAC,MAAO,eAAe,EAKlD,oBAAqB,CAAC,MAAO,OAAO,EAGpC,UAAW,CACP,QACA,CACI,SAAU,GACV,mBAAoB,CAAC,gBAAiB,gBAAiB,gBAAgB,EACvE,SAAU,GACV,mBAAoB,CAAC,CACzB,CACJ,EAIA,aAAc,QAGd,oBAAqB,MAGrB,wBAAyB,MAKzB,2BAA4B,CAAC,QAAS,CAAE,qBAAsB,CAAE,CAAC,EAGjE,uBAAwB,QAIxB,aAAc,QAId,cAAe,QAGf,qBAAsB,MAItB,eAAgB,QAIhB,qBAAsB,CAClB,QACA,CAEI,oBAAqB,GAErB,OAAQ,CACJ,CAAC,IAAK,IAAI,EACV,CAAC,IAAK,GAAG,EACT,CAAC,IAAK,GAAG,EACT,CAAC,IAAK,GAAG,EACT,CAAC,IAAK,GAAG,EACT,CAAC,IAAK,GAAG,EACT,CAAC,IAAK,IAAK,KAAM,KAAM,KAAK,EAC5B,CAAC,KAAM,KAAM,MAAO,KAAK,EACzB,CAAC,KAAM,IAAI,EACX,CAAC,KAAM,YAAY,CACvB,CACJ,CACJ,EAGA,2BAA4B,QAI5B,kBAAmB,CAAC,OAAO,EAI3B,0BAA2B,CAAC,QAAS,CAAE,IAAK,EAAG,OAAQ,EAAG,OAAQ,CAAE,CAAC,EAIrE,uBAAwB,MAGxB,oBAAqB,QAGrB,gBAAiB,QAIjB,cAAe,QAIf,uBAAwB,CACpB,QACA,CACI,QACI,yKACJ,SAAU,gBACd,EACA,CACI,QACI,6KACJ,SAAU,gBACd,EACA,CACI,QAAS,kGACT,SAAU,kBACd,EACA,CACI,QAAS,gGACT,SAAU,eACd,EACA,CACI,QAAS,mGACT,SAAU,sGACd,EACA,CACI,QAAS,mCACT,SAAU,6DACd,CACJ,EAIA,iBAAkB,MAGlB,UAAW,QAGX,aAAc,MAGd,qBAAsB,CAClB,QACA,CACI,eAAgB,GAChB,eAAgB,EACpB,CACJ,EAIA,uBAAwB,CACpB,QACA,CACI,MAAO,CAAC,UAAW,2BAA4B,+BAAgC,2BAA2B,EAC1G,gBAAiB,GACjB,eAAgB,GAChB,qBAAsB,EAC1B,CACJ,EAKA,sBAAuB,CAAC,QAAS,CAAE,kBAAmB,EAAM,CAAC,EAI7D,gCAAiC,QAIjC,mCAAoC,CAAC,QAAS,SAAU,CAAE,UAAW,CAAC,CAAE,CAAC,EAGzE,uBAAwB,CACpB,QACA,CACI,kBAAmB,CAAE,WAAY,GAAM,cAAe,EAAG,UAAW,EAAK,EACzE,kBAAmB,CAAE,WAAY,GAAM,cAAe,EAAG,UAAW,EAAK,EACzE,iBAAkB,CAAE,WAAY,GAAM,cAAe,EAAG,UAAW,EAAK,EACxE,cAAe,CAAE,WAAY,GAAM,cAAe,EAAG,UAAW,EAAK,CACzE,CACJ,EAIA,uBAAwB,CAAC,QAAS,QAAQ,EAI1C,0BAA2B,CACvB,QACA,CACI,6BAA8B,EAClC,CACJ,EAGA,UAAW,CAAC,QAAS,OAAO,EAI5B,+BAAgC,CAAC,QAAS,QAAQ,EAIlD,sBAAuB,CAAC,QAAS,QAAQ,EAIzC,qBAAsB,CAAC,QAAS,SAAU,CAAE,UAAW,CAAE,IAAK,MAAO,CAAE,CAAC,EAGxE,gBAAiB,CACb,QACA,CACI,OAAQ,QACR,QAAS,QACT,SAAU,OACd,EACA,CACI,sBAAuB,EAC3B,CACJ,EAIA,kCAAmC,MAInC,iCAAkC,QAIlC,uBAAwB,QAIxB,cAAe,CAAC,QAAS,YAAa,CAAE,SAAU,GAAO,QAAS,GAAO,YAAa,EAAK,CAAC,EAG5F,OAAQ,CAAC,QAAS,SAAU,CAAE,YAAa,EAAK,CAAC,EAIjD,gBAAiB,MAGjB,KAAM,CAAC,QAAS,QAAQ,EAGxB,eAAgB,CAAC,QAAS,CAAE,MAAO,GAAM,OAAQ,EAAM,CAAC,EAIxD,aAAc,CAAC,QAAS,MAAM,EAG9B,YAAa,MAGb,YAAa,MAGb,sBAAuB,QAIvB,8BAA+B,CAC3B,QACA,CACI,UAAW,SACX,WAAY,SACZ,MAAO,OACX,CACJ,EAGA,kBAAmB,CAAC,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 message: \"`useMemo` with an empty dependency array can't provide a stable reference, use `useRef` instead.\",\n selector: \"CallExpression[callee.name=useMemo][arguments.1.type=ArrayExpression][arguments.1.elements.length=0]\",\n },\n {\n message: \"Use `.key` instead of `.keyCode`\",\n selector: \"MemberExpression > .property[type=Identifier][name=keyCode]\",\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\",\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"]}
@@ -6,8 +6,8 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
6
6
 
7
7
  var r__default = /*#__PURE__*/_interopDefault(r);
8
8
 
9
- var e={rules:{"init-declarations":"off","no-catch-shadow":"off","no-delete-var":"error","no-label-var":"error","no-restricted-globals":["error",{name:"isFinite",message:"Use Number.isFinite instead https://github.com/airbnb/javascript#standard-library--isfinite"},{name:"isNaN",message:"Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan"},...r__default.default],"no-shadow":"error","no-shadow-restricted-names":"error","no-undef":"error","no-undef-init":"error","no-undefined":"off","no-unused-vars":["error",{vars:"all",args:"after-used",ignoreRestSiblings:!0}],"no-use-before-define":["error",{functions:!0,classes:!0,variables:!0}]}},n=e;
9
+ var e={rules:{"init-declarations":"off","no-catch-shadow":"off","no-delete-var":"error","no-label-var":"error","no-restricted-globals":["error",{message:"Use Number.isFinite instead https://github.com/airbnb/javascript#standard-library--isfinite",name:"isFinite"},{message:"Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan",name:"isNaN"},...r__default.default],"no-shadow":"error","no-shadow-restricted-names":"error","no-undef":"error","no-undef-init":"error","no-undefined":"off","no-unused-vars":["error",{args:"after-used",ignoreRestSiblings:!0,vars:"all"}],"no-use-before-define":["error",{classes:!0,functions:!0,variables:!0}]}},n=e;
10
10
 
11
11
  exports.a = n;
12
12
  //# sourceMappingURL=out.js.map
13
- //# sourceMappingURL=chunk-UJAIXHCQ.js.map
13
+ //# sourceMappingURL=chunk-ZFO6DTP4.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/config/variables.ts"],"names":["confusingBrowserGlobals","config","variables_default"],"mappings":"AAAA,OAAOA,MAA6B,4BAGpC,IAAMC,EAAwB,CAC1B,MAAO,CAEH,oBAAqB,MAGrB,kBAAmB,MAGnB,gBAAiB,QAIjB,eAAgB,QAGhB,wBAAyB,CACrB,QACA,CACI,KAAM,WACN,QAAS,6FACb,EACA,CACI,KAAM,QACN,QAAS,uFACb,EACA,GAAGD,CACP,EAGA,YAAa,QAGb,6BAA8B,QAG9B,WAAY,QAGZ,gBAAiB,QAIjB,eAAgB,MAGhB,iBAAkB,CAAC,QAAS,CAAE,KAAM,MAAO,KAAM,aAAc,mBAAoB,EAAK,CAAC,EAGzF,uBAAwB,CAAC,QAAS,CAAE,UAAW,GAAM,QAAS,GAAM,UAAW,EAAK,CAAC,CACzF,CACJ,EAEOE,EAAQD","sourcesContent":["import confusingBrowserGlobals from \"confusing-browser-globals\";\nimport type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n rules: {\n // enforce or disallow variable initializations at definition\n \"init-declarations\": \"off\",\n\n // disallow the catch clause parameter name being the same as a variable in the outer scope\n \"no-catch-shadow\": \"off\",\n\n // disallow deletion of variables\n \"no-delete-var\": \"error\",\n\n // disallow labels that share a name with a variable\n // https://eslint.org/docs/rules/no-label-var\n \"no-label-var\": \"error\",\n\n // disallow specific globals\n \"no-restricted-globals\": [\n \"error\",\n {\n name: \"isFinite\",\n message: \"Use Number.isFinite instead https://github.com/airbnb/javascript#standard-library--isfinite\",\n },\n {\n name: \"isNaN\",\n message: \"Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan\",\n },\n ...confusingBrowserGlobals,\n ],\n\n // disallow declaration of variables already declared in the outer scope\n \"no-shadow\": \"error\",\n\n // disallow shadowing of names such as arguments\n \"no-shadow-restricted-names\": \"error\",\n\n // disallow use of undeclared variables unless mentioned in a /*global */ block\n \"no-undef\": \"error\",\n\n // disallow use of undefined when initializing variables\n \"no-undef-init\": \"error\",\n\n // allow use of undefined variable\n // https://eslint.org/docs/rules/no-undefined\n \"no-undefined\": \"off\",\n\n // disallow declaration of variables that are not used in the code\n \"no-unused-vars\": [\"error\", { vars: \"all\", args: \"after-used\", ignoreRestSiblings: true }],\n\n // disallow use of variables before they are defined\n \"no-use-before-define\": [\"error\", { functions: true, classes: true, variables: true }],\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../src/config/variables.ts"],"names":["confusingBrowserGlobals","config","variables_default"],"mappings":"AAAA,OAAOA,MAA6B,4BAGpC,IAAMC,EAAwB,CAC1B,MAAO,CAEH,oBAAqB,MAGrB,kBAAmB,MAGnB,gBAAiB,QAIjB,eAAgB,QAGhB,wBAAyB,CACrB,QACA,CACI,QAAS,8FACT,KAAM,UACV,EACA,CACI,QAAS,wFACT,KAAM,OACV,EACA,GAAGD,CACP,EAGA,YAAa,QAGb,6BAA8B,QAG9B,WAAY,QAGZ,gBAAiB,QAIjB,eAAgB,MAGhB,iBAAkB,CAAC,QAAS,CAAE,KAAM,aAAc,mBAAoB,GAAM,KAAM,KAAM,CAAC,EAGzF,uBAAwB,CAAC,QAAS,CAAE,QAAS,GAAM,UAAW,GAAM,UAAW,EAAK,CAAC,CACzF,CACJ,EAEOE,EAAQD","sourcesContent":["import confusingBrowserGlobals from \"confusing-browser-globals\";\nimport type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n rules: {\n // enforce or disallow variable initializations at definition\n \"init-declarations\": \"off\",\n\n // disallow the catch clause parameter name being the same as a variable in the outer scope\n \"no-catch-shadow\": \"off\",\n\n // disallow deletion of variables\n \"no-delete-var\": \"error\",\n\n // disallow labels that share a name with a variable\n // https://eslint.org/docs/rules/no-label-var\n \"no-label-var\": \"error\",\n\n // disallow specific globals\n \"no-restricted-globals\": [\n \"error\",\n {\n message: \"Use Number.isFinite instead https://github.com/airbnb/javascript#standard-library--isfinite\",\n name: \"isFinite\",\n },\n {\n message: \"Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan\",\n name: \"isNaN\",\n },\n ...confusingBrowserGlobals,\n ],\n\n // disallow declaration of variables already declared in the outer scope\n \"no-shadow\": \"error\",\n\n // disallow shadowing of names such as arguments\n \"no-shadow-restricted-names\": \"error\",\n\n // disallow use of undeclared variables unless mentioned in a /*global */ block\n \"no-undef\": \"error\",\n\n // disallow use of undefined when initializing variables\n \"no-undef-init\": \"error\",\n\n // allow use of undefined variable\n // https://eslint.org/docs/rules/no-undefined\n \"no-undefined\": \"off\",\n\n // disallow declaration of variables that are not used in the code\n \"no-unused-vars\": [\"error\", { args: \"after-used\", ignoreRestSiblings: true, vars: \"all\" }],\n\n // disallow use of variables before they are defined\n \"no-use-before-define\": [\"error\", { classes: true, functions: true, variables: true }],\n },\n};\n\nexport default config;\n"]}
@@ -1,9 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunk5S3UQ6WJ_js = require('../chunk-5S3UQ6WJ.js');
3
+ var chunkMQFZFF2T_js = require('../chunk-MQFZFF2T.js');
4
+ require('../chunk-3NVDJZNH.js');
4
5
 
5
6
 
6
7
 
7
- module.exports = chunk5S3UQ6WJ_js.a;
8
+ module.exports = chunkMQFZFF2T_js.a;
8
9
  //# sourceMappingURL=out.js.map
9
10
  //# sourceMappingURL=best-practices.js.map
@@ -1,9 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkSV64EPVP_js = require('../chunk-SV64EPVP.js');
3
+ var chunk6COSQA7M_js = require('../chunk-6COSQA7M.js');
4
+ require('../chunk-3NVDJZNH.js');
4
5
 
5
6
 
6
7
 
7
- module.exports = chunkSV64EPVP_js.a;
8
+ module.exports = chunk6COSQA7M_js.a;
8
9
  //# sourceMappingURL=out.js.map
9
10
  //# sourceMappingURL=errors.js.map
@@ -1,9 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkGGJONTGP_js = require('../chunk-GGJONTGP.js');
3
+ var chunkKKHL2OSJ_js = require('../chunk-KKHL2OSJ.js');
4
+ require('../chunk-3NVDJZNH.js');
4
5
 
5
6
 
6
7
 
7
- module.exports = chunkGGJONTGP_js.a;
8
+ module.exports = chunkKKHL2OSJ_js.a;
8
9
  //# sourceMappingURL=out.js.map
9
10
  //# sourceMappingURL=es6.js.map
@@ -1,9 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkU5H7JNHH_js = require('../../chunk-U5H7JNHH.js');
3
+ var chunkH7VQP3ZD_js = require('../../chunk-H7VQP3ZD.js');
4
+ require('../../chunk-3NVDJZNH.js');
4
5
  var packageJsonUtils = require('@anolilab/package-json-utils');
5
6
 
6
- var t=chunkU5H7JNHH_js.a("all",{plugins:["antfu"],rules:{"antfu/if-newline":"error","antfu/import-dedupe":"error","antfu/generic-spacing":"error","antfu/prefer-inline-type-import":"off","antfu/top-level-function":"off","antfu/no-cjs-exports":packageJsonUtils.packageIsTypeModule?"error":"off","antfu/no-ts-export-equal":packageJsonUtils.hasTypescript?"error":"off"}}),i=t;
7
+ var t=chunkH7VQP3ZD_js.a("all",{plugins:["antfu"],rules:{"antfu/generic-spacing":"error","antfu/if-newline":"error","antfu/import-dedupe":"error","antfu/no-cjs-exports":packageJsonUtils.packageIsTypeModule?"error":"off","antfu/no-ts-export-equal":packageJsonUtils.hasTypescript?"error":"off","antfu/prefer-inline-type-import":"off","antfu/top-level-function":"off"}}),i=t;
7
8
 
8
9
  module.exports = i;
9
10
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/antfu.ts"],"names":["hasTypescript","packageIsTypeModule","config","createConfig","antfu_default"],"mappings":"4CAAA,OAAS,iBAAAA,EAAe,uBAAAC,MAA2B,+BAKnD,IAAMC,EAAwBC,EAAa,MAAO,CAC9C,QAAS,CAAC,OAAO,EACjB,MAAO,CACH,mBAAoB,QACpB,sBAAuB,QACvB,wBAAyB,QACzB,kCAAmC,MACnC,2BAA4B,MAC5B,uBAAwBF,EAAsB,QAAU,MACxD,2BAA4BD,EAAgB,QAAU,KAC1D,CACJ,CAAC,EAEMI,EAAQF","sourcesContent":["import { hasTypescript, packageIsTypeModule } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfig(\"all\", {\n plugins: [\"antfu\"],\n rules: {\n \"antfu/if-newline\": \"error\",\n \"antfu/import-dedupe\": \"error\",\n \"antfu/generic-spacing\": \"error\",\n \"antfu/prefer-inline-type-import\": \"off\",\n \"antfu/top-level-function\": \"off\",\n \"antfu/no-cjs-exports\": packageIsTypeModule ? \"error\" : \"off\",\n \"antfu/no-ts-export-equal\": hasTypescript ? \"error\" : \"off\",\n },\n});\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/antfu.ts"],"names":["hasTypescript","packageIsTypeModule","config","createConfig","antfu_default"],"mappings":"4EAAA,OAAS,iBAAAA,EAAe,uBAAAC,MAA2B,+BAKnD,IAAMC,EAAwBC,EAAa,MAAO,CAC9C,QAAS,CAAC,OAAO,EACjB,MAAO,CACH,wBAAyB,QACzB,mBAAoB,QACpB,sBAAuB,QACvB,uBAAwBF,EAAsB,QAAU,MACxD,2BAA4BD,EAAgB,QAAU,MACtD,kCAAmC,MACnC,2BAA4B,KAChC,CACJ,CAAC,EAEMI,EAAQF","sourcesContent":["import { hasTypescript, packageIsTypeModule } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfig(\"all\", {\n plugins: [\"antfu\"],\n rules: {\n \"antfu/generic-spacing\": \"error\",\n \"antfu/if-newline\": \"error\",\n \"antfu/import-dedupe\": \"error\",\n \"antfu/no-cjs-exports\": packageIsTypeModule ? \"error\" : \"off\",\n \"antfu/no-ts-export-equal\": hasTypescript ? \"error\" : \"off\",\n \"antfu/prefer-inline-type-import\": \"off\",\n \"antfu/top-level-function\": \"off\",\n },\n});\n\nexport default config;\n"]}
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkU5H7JNHH_js = require('../../chunk-U5H7JNHH.js');
3
+ var chunkH7VQP3ZD_js = require('../../chunk-H7VQP3ZD.js');
4
+ require('../../chunk-3NVDJZNH.js');
4
5
 
5
- var e=chunkU5H7JNHH_js.a("all",{plugins:["array-func"],extends:["plugin:array-func/recommended"],rules:{"array-func/prefer-array-from":"off","array-func/prefer-flat":0,"array-func/prefer-flat-map":0}}),a=e;
6
+ var e=chunkH7VQP3ZD_js.a("all",{extends:["plugin:array-func/recommended"],plugins:["array-func"],rules:{"array-func/prefer-array-from":"off","array-func/prefer-flat":0,"array-func/prefer-flat-map":0}}),a=e;
6
7
 
7
8
  module.exports = a;
8
9
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/array-func.ts"],"names":["config","createConfig","array_func_default"],"mappings":"4CAKA,IAAMA,EAAwBC,EAAa,MAAO,CAC9C,QAAS,CAAC,YAAY,EACtB,QAAS,CAAC,+BAA+B,EACzC,MAAO,CAEH,+BAAgC,MAGhC,yBAA0B,EAC1B,6BAA8B,CAClC,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["// eslint-disable-next-line unicorn/prevent-abbreviations\nimport type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfig(\"all\", {\n plugins: [\"array-func\"],\n extends: [\"plugin:array-func/recommended\"],\n rules: {\n // Rule disabled due to clash with Unicorn\n \"array-func/prefer-array-from\": \"off\",\n\n // Rules not in recommended config\n \"array-func/prefer-flat\": 0,\n \"array-func/prefer-flat-map\": 0,\n },\n});\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/array-func.ts"],"names":["config","createConfig","array_func_default"],"mappings":"4EAKA,IAAMA,EAAwBC,EAAa,MAAO,CAC9C,QAAS,CAAC,+BAA+B,EACzC,QAAS,CAAC,YAAY,EACtB,MAAO,CAEH,+BAAgC,MAGhC,yBAA0B,EAC1B,6BAA8B,CAClC,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["// eslint-disable-next-line unicorn/prevent-abbreviations\nimport type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfig(\"all\", {\n extends: [\"plugin:array-func/recommended\"],\n plugins: [\"array-func\"],\n rules: {\n // Rule disabled due to clash with Unicorn\n \"array-func/prefer-array-from\": \"off\",\n\n // Rules not in recommended config\n \"array-func/prefer-flat\": 0,\n \"array-func/prefer-flat-map\": 0,\n },\n});\n\nexport default config;\n"]}
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var e={overrides:[{files:["test.js","src/test.js","source/test.js","**/test-*.js","**/*.spec.js","**/*.test.js","**/test/**/*.js","**/tests/**/*.js","**/__tests__/**/*.js"],plugins:["ava"],env:{es6:!0},parserOptions:{ecmaVersion:"latest",sourceType:"module"},extends:"plugin:ava/recommended"}]},s=e;
3
+ require('../../chunk-3NVDJZNH.js');
4
+
5
+ var e={overrides:[{env:{es6:!0},extends:"plugin:ava/recommended",files:["test.js","src/test.js","source/test.js","**/test-*.js","**/*.spec.js","**/*.test.js","**/test/**/*.js","**/tests/**/*.js","**/__tests__/**/*.js"],parserOptions:{ecmaVersion:"latest",sourceType:"module"},plugins:["ava"]}]},s=e;
4
6
 
5
7
  module.exports = s;
6
8
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/ava.ts"],"names":["config","ava_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,UAAW,CACP,CAEI,MAAO,CACH,UACA,cACA,iBACA,eACA,eACA,eACA,kBACA,mBACA,sBACJ,EACA,QAAS,CAAC,KAAK,EACf,IAAK,CACD,IAAK,EACT,EACA,cAAe,CACX,YAAa,SACb,WAAY,QAChB,EACA,QAAS,wBACb,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n overrides: [\n {\n // Default ava test search patterns\n files: [\n \"test.js\",\n \"src/test.js\",\n \"source/test.js\",\n \"**/test-*.js\",\n \"**/*.spec.js\",\n \"**/*.test.js\",\n \"**/test/**/*.js\",\n \"**/tests/**/*.js\",\n \"**/__tests__/**/*.js\",\n ],\n plugins: [\"ava\"],\n env: {\n es6: true,\n },\n parserOptions: {\n ecmaVersion: \"latest\",\n sourceType: \"module\",\n },\n extends: \"plugin:ava/recommended\",\n },\n ],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/ava.ts"],"names":["config","ava_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,UAAW,CACP,CACI,IAAK,CACD,IAAK,EACT,EACA,QAAS,yBAET,MAAO,CACH,UACA,cACA,iBACA,eACA,eACA,eACA,kBACA,mBACA,sBACJ,EACA,cAAe,CACX,YAAa,SACb,WAAY,QAChB,EACA,QAAS,CAAC,KAAK,CACnB,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n overrides: [\n {\n env: {\n es6: true,\n },\n extends: \"plugin:ava/recommended\",\n // Default ava test search patterns\n files: [\n \"test.js\",\n \"src/test.js\",\n \"source/test.js\",\n \"**/test-*.js\",\n \"**/*.spec.js\",\n \"**/*.test.js\",\n \"**/test/**/*.js\",\n \"**/tests/**/*.js\",\n \"**/__tests__/**/*.js\",\n ],\n parserOptions: {\n ecmaVersion: \"latest\",\n sourceType: \"module\",\n },\n plugins: [\"ava\"],\n },\n ],\n};\n\nexport default config;\n"]}
@@ -1,13 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkXJPLKY3T_js = require('../../chunk-XJPLKY3T.js');
3
+ var chunkZEBBNF2R_js = require('../../chunk-ZEBBNF2R.js');
4
+ require('../../chunk-PW4WCSOE.js');
4
5
  require('../../chunk-PTQ3FFI5.js');
5
- var chunk5S3UQ6WJ_js = require('../../chunk-5S3UQ6WJ.js');
6
- var chunkSV64EPVP_js = require('../../chunk-SV64EPVP.js');
7
- var chunkU5H7JNHH_js = require('../../chunk-U5H7JNHH.js');
6
+ var chunkMQFZFF2T_js = require('../../chunk-MQFZFF2T.js');
7
+ var chunk6COSQA7M_js = require('../../chunk-6COSQA7M.js');
8
+ var chunkH7VQP3ZD_js = require('../../chunk-H7VQP3ZD.js');
9
+ require('../../chunk-3NVDJZNH.js');
8
10
  var packageJsonUtils = require('@anolilab/package-json-utils');
9
11
 
10
- var a=chunk5S3UQ6WJ_js.a.rules,r=chunkSV64EPVP_js.a.rules,e=chunkXJPLKY3T_js.a.rules;global.anolilabEslintConfigBabelPrettierRules===void 0&&(packageJsonUtils.hasDependency("prettier")||packageJsonUtils.hasDevDependency("prettier"))&&(global.anolilabEslintConfigBabelPrettierRules={"babel/quotes":0,"@babel/object-curly-spacing":"off","@babel/semi":"off"});var f=chunkU5H7JNHH_js.a("all",{plugins:["babel"],rules:{camelcase:"off","babel/camelcase":[e.camelcase[0],{...e.camelcase[1]}],"new-cap":"off","babel/new-cap":e["new-cap"],"no-invalid-this":"off","babel/no-invalid-this":a["no-invalid-this"],"object-curly-spacing":"off","babel/object-curly-spacing":e["object-curly-spacing"],quotes:"off","babel/quotes":e.quotes,semi:"off","babel/semi":e.semi,"no-unused-expressions":"off","babel/no-unused-expressions":a["no-unused-expressions"],"valid-typeof":"off","babel/valid-typeof":r["valid-typeof"],...global.anolilabEslintConfigBabelPrettierRules}}),d=f;
12
+ var a=chunkMQFZFF2T_js.a.rules,r=chunk6COSQA7M_js.a.rules,e=chunkZEBBNF2R_js.a.rules;global.anolilabEslintConfigBabelPrettierRules===void 0&&(packageJsonUtils.hasDependency("prettier")||packageJsonUtils.hasDevDependency("prettier"))&&(global.anolilabEslintConfigBabelPrettierRules={"@babel/object-curly-spacing":"off","@babel/semi":"off","babel/quotes":0});var f=chunkH7VQP3ZD_js.a("all",{plugins:["babel"],rules:{"babel/camelcase":[e.camelcase[0],{...e.camelcase[1]}],"babel/new-cap":e["new-cap"],"babel/no-invalid-this":a["no-invalid-this"],"babel/no-unused-expressions":a["no-unused-expressions"],"babel/object-curly-spacing":e["object-curly-spacing"],"babel/quotes":e.quotes,"babel/semi":e.semi,"babel/valid-typeof":r["valid-typeof"],camelcase:"off","new-cap":"off","no-invalid-this":"off","no-unused-expressions":"off","object-curly-spacing":"off",quotes:"off",semi:"off","valid-typeof":"off",...global.anolilabEslintConfigBabelPrettierRules}}),d=f;
11
13
 
12
14
  module.exports = d;
13
15
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/babel.ts"],"names":["hasDependency","hasDevDependency","bestPracticesRules","best_practices_default","errorsRules","errors_default","styleRules","style_default","config","createConfig","babel_default"],"mappings":"gNAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAQhD,IAAMC,EAAqBC,EAAoB,MACzCC,EAAcC,EAAa,MAC3BC,EAAaC,EAAY,MAE3B,OAAO,yCAA2C,SAAcP,EAAc,UAAU,GAAKC,EAAiB,UAAU,KACxH,OAAO,uCAAyC,CAC5C,eAAgB,EAEhB,8BAA+B,MAC/B,cAAe,KACnB,GAGJ,IAAMO,EAAwBC,EAAa,MAAO,CAC9C,QAAS,CAAC,OAAO,EACjB,MAAO,CACH,UAAW,MACX,kBAAmB,CAEdH,EAAW,UAAuB,CAAC,EACpC,CAAE,GAAIA,EAAW,UAAuB,CAAC,CAAE,CAC/C,EAEA,UAAW,MACX,gBAAiBA,EAAW,SAAS,EAErC,kBAAmB,MACnB,wBAAyBJ,EAAmB,iBAAiB,EAE7D,uBAAwB,MACxB,6BAA8BI,EAAW,sBAAsB,EAE/D,OAAQ,MACR,eAAgBA,EAAW,OAE3B,KAAM,MACN,aAAcA,EAAW,KAEzB,wBAAyB,MACzB,8BAA+BJ,EAAmB,uBAAuB,EAEzE,eAAgB,MAChB,qBAAsBE,EAAY,cAAc,EAEhD,GAAG,OAAO,sCACd,CACJ,CAAC,EAEMM,EAAQF","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\nimport bestPracticesConfig from \"../best-practices\";\nimport errorsConfig from \"../errors\";\nimport styleConfig from \"../style\";\n\nconst bestPracticesRules = bestPracticesConfig.rules as Linter.RulesRecord;\nconst errorsRules = errorsConfig.rules as Linter.RulesRecord;\nconst styleRules = styleConfig.rules as Linter.RulesRecord;\n\nif (global.anolilabEslintConfigBabelPrettierRules === undefined && (hasDependency(\"prettier\") || hasDevDependency(\"prettier\"))) {\n global.anolilabEslintConfigBabelPrettierRules = {\n \"babel/quotes\": 0,\n\n \"@babel/object-curly-spacing\": \"off\",\n \"@babel/semi\": \"off\",\n };\n}\n\nconst config: Linter.Config = createConfig(\"all\", {\n plugins: [\"babel\"],\n rules: {\n camelcase: \"off\",\n \"babel/camelcase\": [\n // Deep clone to avoid object mutation wierdness\n (styleRules[\"camelcase\"] as any[])[0],\n { ...(styleRules[\"camelcase\"] as any[])[1] },\n ],\n\n \"new-cap\": \"off\",\n \"babel/new-cap\": styleRules[\"new-cap\"],\n\n \"no-invalid-this\": \"off\",\n \"babel/no-invalid-this\": bestPracticesRules[\"no-invalid-this\"],\n\n \"object-curly-spacing\": \"off\",\n \"babel/object-curly-spacing\": styleRules[\"object-curly-spacing\"],\n\n quotes: \"off\",\n \"babel/quotes\": styleRules[\"quotes\"],\n\n semi: \"off\",\n \"babel/semi\": styleRules[\"semi\"],\n\n \"no-unused-expressions\": \"off\",\n \"babel/no-unused-expressions\": bestPracticesRules[\"no-unused-expressions\"],\n\n \"valid-typeof\": \"off\",\n \"babel/valid-typeof\": errorsRules[\"valid-typeof\"],\n\n ...global.anolilabEslintConfigBabelPrettierRules,\n },\n});\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/babel.ts"],"names":["hasDependency","hasDevDependency","bestPracticesRules","best_practices_default","errorsRules","errors_default","styleRules","style_default","config","createConfig","babel_default"],"mappings":"gRAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAQhD,IAAMC,EAAqBC,EAAoB,MACzCC,EAAcC,EAAa,MAC3BC,EAAaC,EAAY,MAE3B,OAAO,yCAA2C,SAAcP,EAAc,UAAU,GAAKC,EAAiB,UAAU,KACxH,OAAO,uCAAyC,CAC5C,8BAA+B,MAE/B,cAAe,MACf,eAAgB,CACpB,GAGJ,IAAMO,EAAwBC,EAAa,MAAO,CAC9C,QAAS,CAAC,OAAO,EACjB,MAAO,CACH,kBAAmB,CAEdH,EAAW,UAAuB,CAAC,EACpC,CAAE,GAAIA,EAAW,UAAuB,CAAC,CAAE,CAC/C,EACA,gBAAiBA,EAAW,SAAS,EAErC,wBAAyBJ,EAAmB,iBAAiB,EAC7D,8BAA+BA,EAAmB,uBAAuB,EAEzE,6BAA8BI,EAAW,sBAAsB,EAC/D,eAAgBA,EAAW,OAE3B,aAAcA,EAAW,KACzB,qBAAsBF,EAAY,cAAc,EAEhD,UAAW,MACX,UAAW,MAEX,kBAAmB,MACnB,wBAAyB,MAEzB,uBAAwB,MACxB,OAAQ,MAER,KAAM,MACN,eAAgB,MAEhB,GAAG,OAAO,sCACd,CACJ,CAAC,EAEMM,EAAQF","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\nimport bestPracticesConfig from \"../best-practices\";\nimport errorsConfig from \"../errors\";\nimport styleConfig from \"../style\";\n\nconst bestPracticesRules = bestPracticesConfig.rules as Linter.RulesRecord;\nconst errorsRules = errorsConfig.rules as Linter.RulesRecord;\nconst styleRules = styleConfig.rules as Linter.RulesRecord;\n\nif (global.anolilabEslintConfigBabelPrettierRules === undefined && (hasDependency(\"prettier\") || hasDevDependency(\"prettier\"))) {\n global.anolilabEslintConfigBabelPrettierRules = {\n \"@babel/object-curly-spacing\": \"off\",\n\n \"@babel/semi\": \"off\",\n \"babel/quotes\": 0,\n };\n}\n\nconst config: Linter.Config = createConfig(\"all\", {\n plugins: [\"babel\"],\n rules: {\n \"babel/camelcase\": [\n // Deep clone to avoid object mutation wierdness\n (styleRules[\"camelcase\"] as any[])[0],\n { ...(styleRules[\"camelcase\"] as any[])[1] },\n ],\n \"babel/new-cap\": styleRules[\"new-cap\"],\n\n \"babel/no-invalid-this\": bestPracticesRules[\"no-invalid-this\"],\n \"babel/no-unused-expressions\": bestPracticesRules[\"no-unused-expressions\"],\n\n \"babel/object-curly-spacing\": styleRules[\"object-curly-spacing\"],\n \"babel/quotes\": styleRules[\"quotes\"],\n\n \"babel/semi\": styleRules[\"semi\"],\n \"babel/valid-typeof\": errorsRules[\"valid-typeof\"],\n\n camelcase: \"off\",\n \"new-cap\": \"off\",\n\n \"no-invalid-this\": \"off\",\n \"no-unused-expressions\": \"off\",\n\n \"object-curly-spacing\": \"off\",\n quotes: \"off\",\n\n semi: \"off\",\n \"valid-typeof\": \"off\",\n\n ...global.anolilabEslintConfigBabelPrettierRules,\n },\n});\n\nexport default config;\n"]}
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ require('../../chunk-3NVDJZNH.js');
4
+
3
5
  var e={extends:["plugin:compat/recommended"]},t=e;
4
6
 
5
7
  module.exports = t;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/compat.ts"],"names":["config","compat_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,2BAA2B,CACzC,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n extends: [\"plugin:compat/recommended\"],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/compat.ts"],"names":["config","compat_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,2BAA2B,CACzC,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n extends: [\"plugin:compat/recommended\"],\n};\n\nexport default config;\n"]}
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ require('../../chunk-3NVDJZNH.js');
4
+
3
5
  var e={env:{"cypress/globals":!0},extends:["plugin:cypress/recommended"],plugins:["cypress"],rules:{"cypress/assertion-before-screenshot":0,"cypress/no-force":0,"cypress/require-data-selectors":0}},s=e;
4
6
 
5
7
  module.exports = s;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/cypress.ts"],"names":["config","cypress_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,IAAK,CACD,kBAAmB,EACvB,EACA,QAAS,CAAC,4BAA4B,EACtC,QAAS,CAAC,SAAS,EACnB,MAAO,CAEH,sCAAuC,EACvC,mBAAoB,EACpB,iCAAkC,CACtC,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n env: {\n \"cypress/globals\": true,\n },\n extends: [\"plugin:cypress/recommended\"],\n plugins: [\"cypress\"],\n rules: {\n // Rules not in recommmend config\n \"cypress/assertion-before-screenshot\": 0,\n \"cypress/no-force\": 0,\n \"cypress/require-data-selectors\": 0,\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/cypress.ts"],"names":["config","cypress_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,IAAK,CACD,kBAAmB,EACvB,EACA,QAAS,CAAC,4BAA4B,EACtC,QAAS,CAAC,SAAS,EACnB,MAAO,CAEH,sCAAuC,EACvC,mBAAoB,EACpB,iCAAkC,CACtC,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n env: {\n \"cypress/globals\": true,\n },\n extends: [\"plugin:cypress/recommended\"],\n plugins: [\"cypress\"],\n rules: {\n // Rules not in recommend config\n \"cypress/assertion-before-screenshot\": 0,\n \"cypress/no-force\": 0,\n \"cypress/require-data-selectors\": 0,\n },\n};\n\nexport default config;\n"]}
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkU5H7JNHH_js = require('../../chunk-U5H7JNHH.js');
3
+ var chunkH7VQP3ZD_js = require('../../chunk-H7VQP3ZD.js');
4
+ require('../../chunk-3NVDJZNH.js');
4
5
 
5
- var t=chunkU5H7JNHH_js.a("all",{plugins:["es-x"],settings:{es:{aggressive:!0}}}),r=t;
6
+ var t=chunkH7VQP3ZD_js.a("all",{plugins:["es-x"],settings:{es:{aggressive:!0}}}),r=t;
6
7
 
7
8
  module.exports = r;
8
9
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/es.ts"],"names":["config","createConfig","es_default"],"mappings":"4CAIA,IAAMA,EAAwBC,EAAa,MAAO,CAC9C,QAAS,CAAC,MAAM,EAChB,SAAU,CACN,GAAI,CAAE,WAAY,EAAK,CAC3B,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfig(\"all\", {\n plugins: [\"es-x\"],\n settings: {\n es: { aggressive: true },\n },\n});\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/es.ts"],"names":["config","createConfig","es_default"],"mappings":"4EAIA,IAAMA,EAAwBC,EAAa,MAAO,CAC9C,QAAS,CAAC,MAAM,EAChB,SAAU,CACN,GAAI,CAAE,WAAY,EAAK,CAC3B,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfig(\"all\", {\n plugins: [\"es-x\"],\n settings: {\n es: { aggressive: true },\n },\n});\n\nexport default config;\n"]}
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var e={extends:["plugin:eslint-comments/recommended"],plugins:["eslint-comments"],rules:{"eslint-comments/no-unlimited-disable":"off","eslint-comments/no-restricted-disable":"off","eslint-comments/no-use":"off","eslint-comments/require-description":"off","eslint-comments/no-unused-disable":"error","eslint-comments/no-unused-enable":"error"}},n=e;
3
+ require('../../chunk-3NVDJZNH.js');
4
+
5
+ var e={extends:["plugin:eslint-comments/recommended"],plugins:["eslint-comments"],rules:{"eslint-comments/no-restricted-disable":"off","eslint-comments/no-unlimited-disable":"off","eslint-comments/no-unused-disable":"error","eslint-comments/no-unused-enable":"error","eslint-comments/no-use":"off","eslint-comments/require-description":"off"}},n=e;
4
6
 
5
7
  module.exports = n;
6
8
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/eslint-comments.ts"],"names":["config","eslint_comments_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,oCAAoC,EAC9C,QAAS,CAAC,iBAAiB,EAC3B,MAAO,CAEH,uCAAwC,MAGxC,wCAAyC,MACzC,yBAA0B,MAC1B,sCAAuC,MAEvC,oCAAqC,QACrC,mCAAoC,OACxC,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n extends: [\"plugin:eslint-comments/recommended\"],\n plugins: [\"eslint-comments\"],\n rules: {\n // Disabled as it's already covered by the `unicorn/no-abusive-eslint-disable` rule.\n \"eslint-comments/no-unlimited-disable\": \"off\",\n\n // Rules are not in recommended config\n \"eslint-comments/no-restricted-disable\": \"off\",\n \"eslint-comments/no-use\": \"off\",\n \"eslint-comments/require-description\": \"off\",\n\n \"eslint-comments/no-unused-disable\": \"error\",\n \"eslint-comments/no-unused-enable\": \"error\",\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/eslint-comments.ts"],"names":["config","eslint_comments_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,oCAAoC,EAC9C,QAAS,CAAC,iBAAiB,EAC3B,MAAO,CAEH,wCAAyC,MAGzC,uCAAwC,MACxC,oCAAqC,QACrC,mCAAoC,QAEpC,yBAA0B,MAC1B,sCAAuC,KAC3C,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n extends: [\"plugin:eslint-comments/recommended\"],\n plugins: [\"eslint-comments\"],\n rules: {\n // Rules are not in recommended config\n \"eslint-comments/no-restricted-disable\": \"off\",\n\n // Disabled as it's already covered by the `unicorn/no-abusive-eslint-disable` rule.\n \"eslint-comments/no-unlimited-disable\": \"off\",\n \"eslint-comments/no-unused-disable\": \"error\",\n \"eslint-comments/no-unused-enable\": \"error\",\n\n \"eslint-comments/no-use\": \"off\",\n \"eslint-comments/require-description\": \"off\",\n },\n};\n\nexport default config;\n"]}
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkU5H7JNHH_js = require('../../chunk-U5H7JNHH.js');
3
+ var chunkH7VQP3ZD_js = require('../../chunk-H7VQP3ZD.js');
4
+ require('../../chunk-3NVDJZNH.js');
4
5
 
5
- var t=chunkU5H7JNHH_js.a("typescript",{plugins:["etc"],extends:["plugin:etc/recommended"]}),n=t;
6
+ var t=chunkH7VQP3ZD_js.a("typescript",{extends:["plugin:etc/recommended"],plugins:["etc"]}),n=t;
6
7
 
7
8
  module.exports = n;
8
9
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/etc.ts"],"names":["config","createConfig","etc_default"],"mappings":"4CAIA,IAAMA,EAAwBC,EAAa,aAAc,CACrD,QAAS,CAAC,KAAK,EACf,QAAS,CAAC,wBAAwB,CACtC,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfig(\"typescript\", {\n plugins: [\"etc\"],\n extends: [\"plugin:etc/recommended\"],\n});\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/etc.ts"],"names":["config","createConfig","etc_default"],"mappings":"4EAIA,IAAMA,EAAwBC,EAAa,aAAc,CACrD,QAAS,CAAC,wBAAwB,EAClC,QAAS,CAAC,KAAK,CACnB,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfig(\"typescript\", {\n extends: [\"plugin:etc/recommended\"],\n plugins: [\"etc\"],\n});\n\nexport default config;\n"]}
@@ -1,11 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkXJPLKY3T_js = require('../../chunk-XJPLKY3T.js');
3
+ var chunkPW4WCSOE_js = require('../../chunk-PW4WCSOE.js');
4
4
  require('../../chunk-PTQ3FFI5.js');
5
+ require('../../chunk-3NVDJZNH.js');
5
6
  var packageJsonUtils = require('@anolilab/package-json-utils');
6
7
 
7
- var n=chunkXJPLKY3T_js.a.rules,e=!1,r={};(packageJsonUtils.hasDependency("prettier")||packageJsonUtils.hasDevDependency("prettier"))&&(e=!0,r={"@html-eslint/no-extra-spacing-attrs":"off","@html-eslint/element-newline":"off","@html-eslint/quotes":"off"});var i={overrides:[{files:["*.erb","*.handlebars","*.hbs","*.htm","*.html","*.mustache","*.nunjucks","*.php","*.tag","*.twig","*.we"],plugins:["html","@html-eslint"],parser:"@html-eslint/parser",extends:["plugin:@html-eslint/recommended"],globals:{sourceCode:!0},settings:{"html/indent":`+${n.indent[1]}`,"html/report-bad-indent":e?"off":"error"},rules:{"spaced-comment":"off","capitalized-comments":"off","@html-eslint/indent":e?"off":["error",n.indent[1]],...r}}]},a=i;
8
+ !global.hasAnolilabEsLintConfigPrettier&&(packageJsonUtils.hasDependency("prettier")||packageJsonUtils.hasDevDependency("prettier"))&&(global.hasAnolilabEsLintConfigPrettier=!0);global.hasAnolilabEsLintConfigPrettier&&(global.anolilabEslintConfigHtmlPrettierRules={"@html-eslint/element-newline":"off","@html-eslint/indent":"off","@html-eslint/no-extra-spacing-attrs":"off","@html-eslint/quotes":"off"},global.anolilabEslintConfigHtmlPrettierSettings={"html/report-bad-indent":"off"});var e={};global.hasAnolilabEsLintConfigPrettier||(e={"html/indent":`+${chunkPW4WCSOE_js.a}`});var n={overrides:[{extends:["plugin:@html-eslint/recommended"],files:["*.erb","*.handlebars","*.hbs","*.htm","*.html","*.mustache","*.nunjucks","*.php","*.tag","*.twig","*.we"],globals:{sourceCode:!0},parser:"@html-eslint/parser",plugins:["html","@html-eslint"],rules:{"@html-eslint/indent":["error",chunkPW4WCSOE_js.a],"capitalized-comments":"off","spaced-comment":"off",...global.anolilabEslintConfigHtmlPrettierRules},settings:{"html/report-bad-indent":"error",...e,...global.anolilabEslintConfigHtmlPrettierSettings}}]},s=n;
8
9
 
9
- module.exports = a;
10
+ module.exports = s;
10
11
  //# sourceMappingURL=out.js.map
11
12
  //# sourceMappingURL=html.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/html.ts"],"names":["hasDependency","hasDevDependency","styleRules","style_default","hasPrettier","prettierRules","config","html_default"],"mappings":"4EAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAKhD,IAAMC,EAAaC,EAAY,MAE3BC,EAAc,GAEdC,EAAoC,CAAC,GAErCL,EAAc,UAAU,GAAKC,EAAiB,UAAU,KACxDG,EAAc,GAEdC,EAAgB,CACZ,sCAAuC,MACvC,+BAAgC,MAChC,sBAAuB,KAC3B,GAGJ,IAAMC,EAAwB,CAC1B,UAAW,CACP,CACI,MAAO,CAAC,QAAS,eAAgB,QAAS,QAAS,SAAU,aAAc,aAAc,QAAS,QAAS,SAAU,MAAM,EAC3H,QAAS,CAAC,OAAQ,cAAc,EAChC,OAAQ,sBACR,QAAS,CAAC,iCAAiC,EAC3C,QAAS,CACL,WAAY,EAChB,EACA,SAAU,CACN,cAAe,IAAKJ,EAAW,OAAoB,CAAC,CAAC,GACrD,yBAA0BE,EAAc,MAAQ,OACpD,EACA,MAAO,CAEH,iBAAkB,MAClB,uBAAwB,MACxB,sBAAuBA,EAAc,MAAQ,CAAC,QAAUF,EAAW,OAAoB,CAAC,CAAC,EAEzF,GAAGG,CACP,CACJ,CACJ,CACJ,EAEOE,EAAQD","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nimport styleConfig from \"../style\";\n\nconst styleRules = styleConfig.rules as Linter.RulesRecord;\n\nlet hasPrettier = false;\n\nlet prettierRules: Linter.RulesRecord = {};\n\nif (hasDependency(\"prettier\") || hasDevDependency(\"prettier\")) {\n hasPrettier = true;\n\n prettierRules = {\n \"@html-eslint/no-extra-spacing-attrs\": \"off\",\n \"@html-eslint/element-newline\": \"off\",\n \"@html-eslint/quotes\": \"off\",\n };\n}\n\nconst config: Linter.Config = {\n overrides: [\n {\n files: [\"*.erb\", \"*.handlebars\", \"*.hbs\", \"*.htm\", \"*.html\", \"*.mustache\", \"*.nunjucks\", \"*.php\", \"*.tag\", \"*.twig\", \"*.we\"],\n plugins: [\"html\", \"@html-eslint\"],\n parser: \"@html-eslint/parser\",\n extends: [\"plugin:@html-eslint/recommended\"],\n globals: {\n sourceCode: true,\n },\n settings: {\n \"html/indent\": `+${(styleRules[\"indent\"] as any[])[1]}`,\n \"html/report-bad-indent\": hasPrettier ? \"off\" : \"error\",\n },\n rules: {\n // @see https://github.com/yeonjuan/html-eslint/issues/67 bug in html-eslint\n \"spaced-comment\": \"off\",\n \"capitalized-comments\": \"off\",\n \"@html-eslint/indent\": hasPrettier ? \"off\" : [\"error\", (styleRules[\"indent\"] as any[])[1]],\n\n ...prettierRules,\n },\n },\n ],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/html.ts"],"names":["hasDependency","hasDevDependency","settings","indent_default","config","html_default"],"mappings":"4GAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAK5C,CAAC,OAAO,kCAAoCD,EAAc,UAAU,GAAKC,EAAiB,UAAU,KACpG,OAAO,gCAAkC,IAGzC,OAAO,kCACP,OAAO,sCAAwC,CAC3C,+BAAgC,MAChC,sBAAuB,MACvB,sCAAuC,MACvC,sBAAuB,KAC3B,EAEA,OAAO,yCAA2C,CAC9C,yBAA0B,KAC9B,GAGJ,IAAIC,EAAsC,CAAC,EAEtC,OAAO,kCACRA,EAAW,CACP,cAAe,IAAIC,CAAM,EAC7B,GAGJ,IAAMC,EAAwB,CAC1B,UAAW,CACP,CACI,QAAS,CAAC,iCAAiC,EAC3C,MAAO,CAAC,QAAS,eAAgB,QAAS,QAAS,SAAU,aAAc,aAAc,QAAS,QAAS,SAAU,MAAM,EAC3H,QAAS,CACL,WAAY,EAChB,EACA,OAAQ,sBACR,QAAS,CAAC,OAAQ,cAAc,EAChC,MAAO,CACH,sBAAuB,CAAC,QAASD,CAAM,EACvC,uBAAwB,MAExB,iBAAkB,MAElB,GAAG,OAAO,qCACd,EACA,SAAU,CACN,yBAA0B,QAC1B,GAAGD,EACH,GAAG,OAAO,wCACd,CACJ,CACJ,CACJ,EAEOG,EAAQD","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\nif (global.hasAnolilabEsLintConfigPrettier) {\n global.anolilabEslintConfigHtmlPrettierRules = {\n \"@html-eslint/element-newline\": \"off\",\n \"@html-eslint/indent\": \"off\",\n \"@html-eslint/no-extra-spacing-attrs\": \"off\",\n \"@html-eslint/quotes\": \"off\",\n };\n\n global.anolilabEslintConfigHtmlPrettierSettings = {\n \"html/report-bad-indent\": \"off\",\n };\n}\n\nlet settings: Linter.Config[\"settings\"] = {};\n\nif (!global.hasAnolilabEsLintConfigPrettier) {\n settings = {\n \"html/indent\": `+${indent}`,\n };\n}\n\nconst config: Linter.Config = {\n overrides: [\n {\n extends: [\"plugin:@html-eslint/recommended\"],\n files: [\"*.erb\", \"*.handlebars\", \"*.hbs\", \"*.htm\", \"*.html\", \"*.mustache\", \"*.nunjucks\", \"*.php\", \"*.tag\", \"*.twig\", \"*.we\"],\n globals: {\n sourceCode: true,\n },\n parser: \"@html-eslint/parser\",\n plugins: [\"html\", \"@html-eslint\"],\n rules: {\n \"@html-eslint/indent\": [\"error\", indent],\n \"capitalized-comments\": \"off\",\n // @see https://github.com/yeonjuan/html-eslint/issues/67 bug in html-eslint\n \"spaced-comment\": \"off\",\n\n ...global.anolilabEslintConfigHtmlPrettierRules,\n },\n settings: {\n \"html/report-bad-indent\": \"error\",\n ...settings,\n ...global.anolilabEslintConfigHtmlPrettierSettings,\n },\n },\n ],\n};\n\nexport default config;\n"]}
@@ -1,9 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkNE6XHV4I_js = require('../../chunk-NE6XHV4I.js');
3
+ var chunkTWVXPNWB_js = require('../../chunk-TWVXPNWB.js');
4
+ require('../../chunk-3NVDJZNH.js');
4
5
 
5
6
 
6
7
 
7
- module.exports = chunkNE6XHV4I_js.a;
8
+ module.exports = chunkTWVXPNWB_js.a;
8
9
  //# sourceMappingURL=out.js.map
9
10
  //# sourceMappingURL=import.js.map
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ require('../../chunk-3NVDJZNH.js');
4
+
3
5
  var e={plugins:["jest-async"],rules:{"jest-async/expect-return":"error"}},t=e;
4
6
 
5
7
  module.exports = t;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/jest-async.ts"],"names":["config","jest_async_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,YAAY,EACtB,MAAO,CACH,2BAA4B,OAChC,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n plugins: [\"jest-async\"],\n rules: {\n \"jest-async/expect-return\": \"error\",\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/jest-async.ts"],"names":["config","jest_async_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,YAAY,EACtB,MAAO,CACH,2BAA4B,OAChC,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n plugins: [\"jest-async\"],\n rules: {\n \"jest-async/expect-return\": \"error\",\n },\n};\n\nexport default config;\n"]}
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ require('../../chunk-3NVDJZNH.js');
4
+
3
5
  var e={extends:["plugin:jest-dom/recommended"]},t=e;
4
6
 
5
7
  module.exports = t;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/jest-dom.ts"],"names":["config","jest_dom_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,6BAA6B,CAC3C,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n extends: [\"plugin:jest-dom/recommended\"],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/jest-dom.ts"],"names":["config","jest_dom_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,6BAA6B,CAC3C,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n extends: [\"plugin:jest-dom/recommended\"],\n};\n\nexport default config;\n"]}
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ require('../../chunk-3NVDJZNH.js');
4
+
3
5
  var e={extends:["plugin:jest-formatting/recommended"]},t=e;
4
6
 
5
7
  module.exports = t;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/jest-formatting.ts"],"names":["config","jest_formatting_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,oCAAoC,CAClD,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n extends: [\"plugin:jest-formatting/recommended\"],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/jest-formatting.ts"],"names":["config","jest_formatting_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,oCAAoC,CAClD,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n extends: [\"plugin:jest-formatting/recommended\"],\n};\n\nexport default config;\n"]}
@@ -1,7 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var e={overrides:[{files:["setupJest.js"],rules:{"import/no-extraneous-dependencies":"off"}},{plugins:["jest"],files:["**/*.spec.{js,ts,tsx}","**/*.test.{js,ts,tsx}","**/test/*.{js,ts,tsx}","**/__mocks__/*.{js,ts,tsx}","**/__tests__/*.{js,ts,tsx}"],extends:["plugin:jest/recommended","plugin:jest/style"],env:{es6:!0,node:!0,jest:!0},rules:{"jsdoc/check-tag-names":"off","jest/no-disabled-tests":"off","jest/prefer-hooks-in-order":"error","jest/prefer-hooks-on-top":"error","jest/no-duplicate-hooks":"error","jest/no-test-return-statement":"error","jest/prefer-strict-equal":"error","jest/prefer-to-have-length":"error","jest/consistent-test-it":["error",{fn:"it"}],"import/namespace":"off","import/default":"off","import/no-duplicates":"off","import/no-named-as-default-member":"off","@typescript-eslint/no-non-null-assertion":"off","@typescript-eslint/no-object-literal-type-assertion":"off","@typescript-eslint/no-empty-function":"off","@typescript-eslint/no-explicit-any":"off","@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/unbound-method":"off"}}]},t=e;
3
+ require('../../chunk-3NVDJZNH.js');
4
+ var e = require('globals');
4
5
 
5
- module.exports = t;
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var e__default = /*#__PURE__*/_interopDefault(e);
9
+
10
+ var t={overrides:[{files:["setupJest.js"],rules:{"import/no-extraneous-dependencies":"off"}},{env:{es6:!0,jest:!0,node:!0},extends:["plugin:jest/recommended","plugin:jest/style"],files:["**/*.spec.{js,ts,tsx}","**/*.test.{js,ts,tsx}","**/test/*.{js,ts,tsx}","**/__mocks__/*.{js,ts,tsx}","**/__tests__/*.{js,ts,tsx}"],globals:{...e__default.default.jest},plugins:["jest"],rules:{"@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-empty-function":"off","@typescript-eslint/no-explicit-any":"off","@typescript-eslint/no-non-null-assertion":"off","@typescript-eslint/no-object-literal-type-assertion":"off","@typescript-eslint/unbound-method":"off","import/default":"off","import/namespace":"off","import/no-duplicates":"off","import/no-named-as-default-member":"off","jest/consistent-test-it":["error",{fn:"it"}],"jest/no-disabled-tests":"off","jest/no-duplicate-hooks":"error","jest/no-test-return-statement":"error","jest/prefer-hooks-in-order":"error","jest/prefer-hooks-on-top":"error","jest/prefer-strict-equal":"error","jest/prefer-to-have-length":"error","jsdoc/check-tag-names":"off"}}]},o=t;
11
+
12
+ module.exports = o;
6
13
  //# sourceMappingURL=out.js.map
7
14
  //# sourceMappingURL=jest.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/jest.ts"],"names":["config","jest_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,UAAW,CACP,CACI,MAAO,CAAC,cAAc,EACtB,MAAO,CACH,oCAAqC,KACzC,CACJ,EACA,CACI,QAAS,CAAC,MAAM,EAChB,MAAO,CAEH,wBACA,wBACA,wBAGA,6BACA,4BACJ,EACA,QAAS,CAAC,0BAA2B,mBAAmB,EACxD,IAAK,CACD,IAAK,GACL,KAAM,GACN,KAAM,EACV,EACA,MAAO,CAEH,wBAAyB,MAEzB,yBAA0B,MAE1B,6BAA8B,QAC9B,2BAA4B,QAC5B,0BAA2B,QAC3B,gCAAiC,QACjC,2BAA4B,QAC5B,6BAA8B,QAC9B,0BAA2B,CAAC,QAAS,CAAE,GAAI,IAAK,CAAC,EAGjD,mBAAoB,MACpB,iBAAkB,MAClB,uBAAwB,MAExB,oCAAqC,MAErC,2CAA4C,MAC5C,sDAAuD,MACvD,uCAAwC,MACxC,qCAAsC,MACtC,oCAAqC,MAGrC,oCAAqC,KACzC,CACJ,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n overrides: [\n {\n files: [\"setupJest.js\"],\n rules: {\n \"import/no-extraneous-dependencies\": \"off\",\n },\n },\n {\n plugins: [\"jest\"],\n files: [\n // Test files\n \"**/*.spec.{js,ts,tsx}\",\n \"**/*.test.{js,ts,tsx}\",\n \"**/test/*.{js,ts,tsx}\",\n\n // Facebook convention\n \"**/__mocks__/*.{js,ts,tsx}\",\n \"**/__tests__/*.{js,ts,tsx}\",\n ],\n extends: [\"plugin:jest/recommended\", \"plugin:jest/style\"],\n env: {\n es6: true,\n node: true,\n jest: true,\n },\n rules: {\n // Disabled this rule because jest doc blocks clash with jsdoc/check-tag-names\n \"jsdoc/check-tag-names\": \"off\",\n\n \"jest/no-disabled-tests\": \"off\",\n\n \"jest/prefer-hooks-in-order\": \"error\",\n \"jest/prefer-hooks-on-top\": \"error\",\n \"jest/no-duplicate-hooks\": \"error\",\n \"jest/no-test-return-statement\": \"error\",\n \"jest/prefer-strict-equal\": \"error\",\n \"jest/prefer-to-have-length\": \"error\",\n \"jest/consistent-test-it\": [\"error\", { fn: \"it\" }],\n\n // Relax rules that are known to be slow and less useful in a test context\n \"import/namespace\": \"off\",\n \"import/default\": \"off\",\n \"import/no-duplicates\": \"off\",\n // Relax rules that makes writing tests easier\n \"import/no-named-as-default-member\": \"off\",\n\n \"@typescript-eslint/no-non-null-assertion\": \"off\",\n \"@typescript-eslint/no-object-literal-type-assertion\": \"off\",\n \"@typescript-eslint/no-empty-function\": \"off\",\n \"@typescript-eslint/no-explicit-any\": \"off\",\n \"@typescript-eslint/ban-ts-comment\": \"off\",\n\n // you should turn the original rule off *only* for test files\n \"@typescript-eslint/unbound-method\": \"off\",\n },\n },\n ],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/jest.ts"],"names":["globals","config","jest_default"],"mappings":"gCACA,OAAOA,MAAa,UAEpB,IAAMC,EAAwB,CAC1B,UAAW,CACP,CACI,MAAO,CAAC,cAAc,EACtB,MAAO,CACH,oCAAqC,KACzC,CACJ,EACA,CACI,IAAK,CACD,IAAK,GACL,KAAM,GACN,KAAM,EACV,EACA,QAAS,CAAC,0BAA2B,mBAAmB,EACxD,MAAO,CAEH,wBACA,wBACA,wBAGA,6BACA,4BACJ,EACA,QAAS,CACL,GAAGD,EAAQ,IACf,EACA,QAAS,CAAC,MAAM,EAChB,MAAO,CACH,oCAAqC,MAErC,uCAAwC,MAExC,qCAAsC,MACtC,2CAA4C,MAC5C,sDAAuD,MAEvD,oCAAqC,MACrC,iBAAkB,MAElB,mBAAoB,MACpB,uBAAwB,MAGxB,oCAAqC,MACrC,0BAA2B,CAAC,QAAS,CAAE,GAAI,IAAK,CAAC,EACjD,yBAA0B,MAC1B,0BAA2B,QAE3B,gCAAiC,QACjC,6BAA8B,QAC9B,2BAA4B,QAC5B,2BAA4B,QAC5B,6BAA8B,QAG9B,wBAAyB,KAC7B,CACJ,CACJ,CACJ,EAEOE,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\nimport globals from \"globals\";\n\nconst config: Linter.Config = {\n overrides: [\n {\n files: [\"setupJest.js\"],\n rules: {\n \"import/no-extraneous-dependencies\": \"off\",\n },\n },\n {\n env: {\n es6: true,\n jest: true,\n node: true,\n },\n extends: [\"plugin:jest/recommended\", \"plugin:jest/style\"],\n files: [\n // Test files\n \"**/*.spec.{js,ts,tsx}\",\n \"**/*.test.{js,ts,tsx}\",\n \"**/test/*.{js,ts,tsx}\",\n\n // Facebook convention\n \"**/__mocks__/*.{js,ts,tsx}\",\n \"**/__tests__/*.{js,ts,tsx}\",\n ],\n globals: {\n ...globals.jest,\n },\n plugins: [\"jest\"],\n rules: {\n \"@typescript-eslint/ban-ts-comment\": \"off\",\n\n \"@typescript-eslint/no-empty-function\": \"off\",\n\n \"@typescript-eslint/no-explicit-any\": \"off\",\n \"@typescript-eslint/no-non-null-assertion\": \"off\",\n \"@typescript-eslint/no-object-literal-type-assertion\": \"off\",\n // you should turn the original rule off *only* for test files\n \"@typescript-eslint/unbound-method\": \"off\",\n \"import/default\": \"off\",\n // Relax rules that are known to be slow and less useful in a test context\n \"import/namespace\": \"off\",\n \"import/no-duplicates\": \"off\",\n\n // Relax rules that makes writing tests easier\n \"import/no-named-as-default-member\": \"off\",\n \"jest/consistent-test-it\": [\"error\", { fn: \"it\" }],\n \"jest/no-disabled-tests\": \"off\",\n \"jest/no-duplicate-hooks\": \"error\",\n\n \"jest/no-test-return-statement\": \"error\",\n \"jest/prefer-hooks-in-order\": \"error\",\n \"jest/prefer-hooks-on-top\": \"error\",\n \"jest/prefer-strict-equal\": \"error\",\n \"jest/prefer-to-have-length\": \"error\",\n\n // Disabled this rule because jest doc blocks clash with jsdoc/check-tag-names\n \"jsdoc/check-tag-names\": \"off\",\n },\n },\n ],\n};\n\nexport default config;\n"]}
@@ -1,10 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkUYUXBUWX_js = require('../../chunk-UYUXBUWX.js');
3
+ var chunkSEYYGHPU_js = require('../../chunk-SEYYGHPU.js');
4
+ require('../../chunk-3NVDJZNH.js');
4
5
  var packageJsonUtils = require('@anolilab/package-json-utils');
5
6
 
6
- global.anolilabEslintConfigJsDocRules===void 0&&packageJsonUtils.hasTypescript&&(packageJsonUtils.hasDependency("eslint-plugin-tsdoc")||packageJsonUtils.hasDevDependency("eslint-plugin-tsdoc")?chunkUYUXBUWX_js.b(`
7
- Found eslint-plugin-tsdoc as dependency, disabling the jsdoc rules for *.ts and *.tsx files.`):global.anolilabEslintConfigJsDocRules=[{files:["*.ts","*.tsx","*.mts","*.cts"],plugins:["jsdoc"],extends:["plugin:jsdoc/recommended-typescript-error"]}]);var i={overrides:[{files:["*.js","*.jsx","*.mjs","*.cjs"],plugins:["jsdoc"],extends:["plugin:jsdoc/recommended-error"]},...global.anolilabEslintConfigJsDocRules??[]]},d=i;
7
+ global.anolilabEslintConfigJsDocRules===void 0&&packageJsonUtils.hasTypescript&&(packageJsonUtils.hasDependency("eslint-plugin-tsdoc")||packageJsonUtils.hasDevDependency("eslint-plugin-tsdoc")?chunkSEYYGHPU_js.b(`
8
+ Found eslint-plugin-tsdoc as dependency, disabling the jsdoc rules for *.ts and *.tsx files.`):global.anolilabEslintConfigJsDocRules=[{extends:["plugin:jsdoc/recommended-typescript-error"],files:["*.ts","*.tsx","*.mts","*.cts"],plugins:["jsdoc"]}]);var i={overrides:[{extends:["plugin:jsdoc/recommended-error"],files:["*.js","*.jsx","*.mjs","*.cjs"],plugins:["jsdoc"]},...global.anolilabEslintConfigJsDocRules??[]]},d=i;
8
9
 
9
10
  module.exports = d;
10
11
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/jsdoc.ts"],"names":["hasDependency","hasDevDependency","hasTypescript","consoleLog","config","jsdoc_default"],"mappings":"4CAAA,OAAS,iBAAAA,EAAe,oBAAAC,EAAkB,iBAAAC,MAAqB,+BAK3D,OAAO,iCAAmC,QAAaA,IACnDF,EAAc,qBAAqB,GAAKC,EAAiB,qBAAqB,EAC9EE,EAAW;AAAA,6FAAgG,EAE3G,OAAO,+BAAiC,CACpC,CACI,MAAO,CAAC,OAAQ,QAAS,QAAS,OAAO,EACzC,QAAS,CAAC,OAAO,EACjB,QAAS,CAAC,2CAA2C,CACzD,CACJ,GAIR,IAAMC,EAAwB,CAC1B,UAAW,CACP,CACI,MAAO,CAAC,OAAQ,QAAS,QAAS,OAAO,EACzC,QAAS,CAAC,OAAO,EACjB,QAAS,CAAC,gCAAgC,CAC9C,EACA,GAAG,OAAO,gCAAkC,CAAC,CACjD,CACJ,EAEOC,EAAQD","sourcesContent":["import { hasDependency, hasDevDependency, hasTypescript } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nimport { consoleLog } from \"../../utils/loggers\";\n\nif (global.anolilabEslintConfigJsDocRules === undefined && hasTypescript) {\n if (hasDependency(\"eslint-plugin-tsdoc\") || hasDevDependency(\"eslint-plugin-tsdoc\")) {\n consoleLog(\"\\nFound eslint-plugin-tsdoc as dependency, disabling the jsdoc rules for *.ts and *.tsx files.\");\n } else {\n global.anolilabEslintConfigJsDocRules = [\n {\n files: [\"*.ts\", \"*.tsx\", \"*.mts\", \"*.cts\"],\n plugins: [\"jsdoc\"],\n extends: [\"plugin:jsdoc/recommended-typescript-error\"],\n },\n ];\n }\n}\n\nconst config: Linter.Config = {\n overrides: [\n {\n files: [\"*.js\", \"*.jsx\", \"*.mjs\", \"*.cjs\"],\n plugins: [\"jsdoc\"],\n extends: [\"plugin:jsdoc/recommended-error\"],\n },\n ...global.anolilabEslintConfigJsDocRules ?? [],\n ],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/jsdoc.ts"],"names":["hasDependency","hasDevDependency","hasTypescript","consoleLog","config","jsdoc_default"],"mappings":"4EAAA,OAAS,iBAAAA,EAAe,oBAAAC,EAAkB,iBAAAC,MAAqB,+BAK3D,OAAO,iCAAmC,QAAaA,IACnDF,EAAc,qBAAqB,GAAKC,EAAiB,qBAAqB,EAC9EE,EAAW;AAAA,6FAAgG,EAE3G,OAAO,+BAAiC,CACpC,CACI,QAAS,CAAC,2CAA2C,EACrD,MAAO,CAAC,OAAQ,QAAS,QAAS,OAAO,EACzC,QAAS,CAAC,OAAO,CACrB,CACJ,GAIR,IAAMC,EAAwB,CAC1B,UAAW,CACP,CACI,QAAS,CAAC,gCAAgC,EAC1C,MAAO,CAAC,OAAQ,QAAS,QAAS,OAAO,EACzC,QAAS,CAAC,OAAO,CACrB,EACA,GAAI,OAAO,gCAAkC,CAAC,CAClD,CACJ,EAEOC,EAAQD","sourcesContent":["import { hasDependency, hasDevDependency, hasTypescript } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nimport { consoleLog } from \"../../utils/loggers\";\n\nif (global.anolilabEslintConfigJsDocRules === undefined && hasTypescript) {\n if (hasDependency(\"eslint-plugin-tsdoc\") || hasDevDependency(\"eslint-plugin-tsdoc\")) {\n consoleLog(\"\\nFound eslint-plugin-tsdoc as dependency, disabling the jsdoc rules for *.ts and *.tsx files.\");\n } else {\n global.anolilabEslintConfigJsDocRules = [\n {\n extends: [\"plugin:jsdoc/recommended-typescript-error\"],\n files: [\"*.ts\", \"*.tsx\", \"*.mts\", \"*.cts\"],\n plugins: [\"jsdoc\"],\n },\n ];\n }\n}\n\nconst config: Linter.Config = {\n overrides: [\n {\n extends: [\"plugin:jsdoc/recommended-error\"],\n files: [\"*.js\", \"*.jsx\", \"*.mjs\", \"*.cjs\"],\n plugins: [\"jsdoc\"],\n },\n ...(global.anolilabEslintConfigJsDocRules ?? []),\n ],\n};\n\nexport default config;\n"]}