@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
@@ -1,15 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkUYUXBUWX_js = require('../../chunk-UYUXBUWX.js');
3
+ var chunkSEYYGHPU_js = require('../../chunk-SEYYGHPU.js');
4
4
  var chunkPTQ3FFI5_js = require('../../chunk-PTQ3FFI5.js');
5
+ require('../../chunk-3NVDJZNH.js');
5
6
  var packageJsonUtils = require('@anolilab/package-json-utils');
6
7
  var process = require('process');
7
8
 
8
- var r=[];(packageJsonUtils.hasDependency("prettier")||packageJsonUtils.hasDevDependency("prettier"))&&r.push("plugin:jsonc/prettier");var t=packageJsonUtils.hasDependency("sort-package-json")||packageJsonUtils.hasDevDependency("sort-package-json");if(t){let e=process.env.DISABLE_INFO_ON_DISABLING_JSONC_SORT_KEYS_RULE!=="true";e&&chunkPTQ3FFI5_js.a?.info_on_disabling_jsonc_sort_keys_rule!==void 0&&(e=chunkPTQ3FFI5_js.a.info_on_disabling_jsonc_sort_keys_rule),e&&chunkUYUXBUWX_js.b(`
9
+ var r=[];(packageJsonUtils.hasDependency("prettier")||packageJsonUtils.hasDevDependency("prettier"))&&r.push("plugin:jsonc/prettier");var t=packageJsonUtils.hasDependency("sort-package-json")||packageJsonUtils.hasDevDependency("sort-package-json");if(t){let e=process.env.DISABLE_INFO_ON_DISABLING_JSONC_SORT_KEYS_RULE!=="true";e&&chunkPTQ3FFI5_js.a?.info_on_disabling_jsonc_sort_keys_rule!==void 0&&(e=chunkPTQ3FFI5_js.a.info_on_disabling_jsonc_sort_keys_rule),e&&chunkSEYYGHPU_js.b(`
9
10
  @anolilab/eslint-config found sort-package-json.
10
11
 
11
12
  Following rules are disabled: jsonc/sort-keys for all package.json files.
12
- `);}var a={overrides:[{files:["*.json","*.json5","*.jsonc"],extends:r,parser:"jsonc-eslint-parser"},{files:["*.json5"],extends:["plugin:jsonc/recommended-with-json5"]},{files:["*.jsonc"],extends:["plugin:jsonc/recommended-with-jsonc"]},{files:["*.json"],extends:["plugin:jsonc/recommended-with-json"]},{files:["package.json"],extends:["plugin:jsonc/recommended-with-json"],rules:{"jsonc/sort-keys":t?"off":["error",{pathPattern:"^$",order:["publisher","name","displayName","type","version","private","packageManager","description","author","license","funding","homepage","repository","bugs","keywords","categories","sideEffects","exports","main","module","unpkg","jsdelivr","types","typesVersions","bin","icon","files","engines","activationEvents","contributes","scripts","peerDependencies","peerDependenciesMeta","dependencies","optionalDependencies","devDependencies","pnpm","overrides","resolutions","husky","simple-git-hooks","lint-staged","eslintConfig"]},{pathPattern:"^(?:dev|peer|optional|bundled)?[Dd]ependencies$",order:{type:"asc"}},{pathPattern:"^exports.*$",order:["types","require","import"]}]}}]},f=a;
13
+ `);}var a={overrides:[{extends:r,files:["*.json","*.json5","*.jsonc"],parser:"jsonc-eslint-parser"},{extends:["plugin:jsonc/recommended-with-json5"],files:["*.json5"]},{extends:["plugin:jsonc/recommended-with-jsonc"],files:["*.jsonc"]},{extends:["plugin:jsonc/recommended-with-json"],files:["*.json"]},{extends:["plugin:jsonc/recommended-with-json"],files:["package.json"],rules:{"jsonc/sort-keys":t?"off":["error",{order:["publisher","name","displayName","type","version","private","packageManager","description","author","license","funding","homepage","repository","bugs","keywords","categories","sideEffects","exports","main","module","unpkg","jsdelivr","types","typesVersions","bin","icon","files","engines","activationEvents","contributes","scripts","peerDependencies","peerDependenciesMeta","dependencies","optionalDependencies","devDependencies","pnpm","overrides","resolutions","husky","simple-git-hooks","lint-staged","eslintConfig"],pathPattern:"^$"},{order:{type:"asc"},pathPattern:"^(?:dev|peer|optional|bundled)?[Dd]ependencies$"},{order:["types","require","import"],pathPattern:"^exports.*$"}]}}]},f=a;
13
14
 
14
15
  module.exports = f;
15
16
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/jsonc.ts"],"names":["hasDependency","hasDevDependency","env","extendedPlugins","hasSortPackageJson","showLog","eslint_config_default","consoleLog","config","jsonc_default"],"mappings":"wFAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAEhD,OAAS,OAAAC,MAAW,UAKpB,IAAMC,EAA4B,CAAC,GAE/BH,EAAc,UAAU,GAAKC,EAAiB,UAAU,IACxDE,EAAgB,KAAK,uBAAuB,EAGhD,IAAMC,EAAqBJ,EAAc,mBAAmB,GAAKC,EAAiB,mBAAmB,EAErG,GAAIG,EAAoB,CACpB,IAAIC,EAAmBH,EAAI,iDAAsD,OAE7EG,GAAWC,GAAuB,yCAA8C,SAChFD,EAAUC,EAAqB,wCAG/BD,GACAE,EAAW;AAAA;AAAA;AAAA;AAAA,CAC8D,CAEjF,CAEA,IAAMC,EAAwB,CAC1B,UAAW,CACP,CACI,MAAO,CAAC,SAAU,UAAW,SAAS,EACtC,QAASL,EACT,OAAQ,qBACZ,EACA,CACI,MAAO,CAAC,SAAS,EACjB,QAAS,CAAC,qCAAqC,CACnD,EACA,CACI,MAAO,CAAC,SAAS,EACjB,QAAS,CAAC,qCAAqC,CACnD,EACA,CACI,MAAO,CAAC,QAAQ,EAChB,QAAS,CAAC,oCAAoC,CAClD,EACA,CACI,MAAO,CAAC,cAAc,EACtB,QAAS,CAAC,oCAAoC,EAC9C,MAAO,CAGH,kBAAmBC,EACb,MACA,CACI,QACA,CACI,YAAa,KACb,MAAO,CACH,YACA,OACA,cACA,OACA,UACA,UACA,iBACA,cACA,SACA,UACA,UACA,WACA,aACA,OACA,WACA,aACA,cACA,UACA,OACA,SACA,QACA,WACA,QACA,gBACA,MACA,OACA,QACA,UACA,mBACA,cACA,UACA,mBACA,uBACA,eACA,uBACA,kBACA,OACA,YACA,cACA,QACA,mBACA,cACA,cACJ,CACJ,EACA,CACI,YAAa,kDACb,MAAO,CAAE,KAAM,KAAM,CACzB,EACA,CACI,YAAa,cACb,MAAO,CAAC,QAAS,UAAW,QAAQ,CACxC,CACJ,CACV,CACJ,CACJ,CACJ,EAEOK,EAAQD","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\nimport { env } from \"node:process\";\n\nimport anolilabEslintConfig from \"../../utils/eslint-config\";\nimport { consoleLog } from \"../../utils/loggers\";\n\nconst extendedPlugins: string[] = [];\n\nif (hasDependency(\"prettier\") || hasDevDependency(\"prettier\")) {\n extendedPlugins.push(\"plugin:jsonc/prettier\");\n}\n\nconst hasSortPackageJson = hasDependency(\"sort-package-json\") || hasDevDependency(\"sort-package-json\");\n\nif (hasSortPackageJson) {\n let showLog: boolean = env[\"DISABLE_INFO_ON_DISABLING_JSONC_SORT_KEYS_RULE\"] !== \"true\";\n\n if (showLog && anolilabEslintConfig?.[\"info_on_disabling_jsonc_sort_keys_rule\"] !== undefined) {\n showLog = anolilabEslintConfig[\"info_on_disabling_jsonc_sort_keys_rule\"];\n }\n\n if (showLog) {\n consoleLog(`\\n@anolilab/eslint-config found sort-package-json. \\n\n Following rules are disabled: jsonc/sort-keys for all package.json files. \\n`);\n }\n}\n\nconst config: Linter.Config = {\n overrides: [\n {\n files: [\"*.json\", \"*.json5\", \"*.jsonc\"],\n extends: extendedPlugins,\n parser: \"jsonc-eslint-parser\",\n },\n {\n files: [\"*.json5\"],\n extends: [\"plugin:jsonc/recommended-with-json5\"],\n },\n {\n files: [\"*.jsonc\"],\n extends: [\"plugin:jsonc/recommended-with-jsonc\"],\n },\n {\n files: [\"*.json\"],\n extends: [\"plugin:jsonc/recommended-with-json\"],\n },\n {\n files: [\"package.json\"],\n extends: [\"plugin:jsonc/recommended-with-json\"],\n rules: {\n // eslint-disable-next-line max-len\n // When the package \"sort-package-json\" is installed, we disable the rule \"jsonc/sort-keys\" because, the package \"sort-package-json\" is responsible for sorting the keys.\n \"jsonc/sort-keys\": hasSortPackageJson\n ? \"off\"\n : [\n \"error\",\n {\n pathPattern: \"^$\",\n order: [\n \"publisher\",\n \"name\",\n \"displayName\",\n \"type\",\n \"version\",\n \"private\",\n \"packageManager\",\n \"description\",\n \"author\",\n \"license\",\n \"funding\",\n \"homepage\",\n \"repository\",\n \"bugs\",\n \"keywords\",\n \"categories\",\n \"sideEffects\",\n \"exports\",\n \"main\",\n \"module\",\n \"unpkg\",\n \"jsdelivr\",\n \"types\",\n \"typesVersions\",\n \"bin\",\n \"icon\",\n \"files\",\n \"engines\",\n \"activationEvents\",\n \"contributes\",\n \"scripts\",\n \"peerDependencies\",\n \"peerDependenciesMeta\",\n \"dependencies\",\n \"optionalDependencies\",\n \"devDependencies\",\n \"pnpm\",\n \"overrides\",\n \"resolutions\",\n \"husky\",\n \"simple-git-hooks\",\n \"lint-staged\",\n \"eslintConfig\",\n ],\n },\n {\n pathPattern: \"^(?:dev|peer|optional|bundled)?[Dd]ependencies$\",\n order: { type: \"asc\" },\n },\n {\n pathPattern: \"^exports.*$\",\n order: [\"types\", \"require\", \"import\"],\n },\n ],\n },\n },\n ],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/jsonc.ts"],"names":["hasDependency","hasDevDependency","env","extendedPlugins","hasSortPackageJson","showLog","eslint_config_default","consoleLog","config","jsonc_default"],"mappings":"wHAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAEhD,OAAS,OAAAC,MAAW,UAKpB,IAAMC,EAA4B,CAAC,GAE/BH,EAAc,UAAU,GAAKC,EAAiB,UAAU,IACxDE,EAAgB,KAAK,uBAAuB,EAGhD,IAAMC,EAAqBJ,EAAc,mBAAmB,GAAKC,EAAiB,mBAAmB,EAErG,GAAIG,EAAoB,CACpB,IAAIC,EAAmBH,EAAI,iDAAsD,OAE7EG,GAAWC,GAAuB,yCAA8C,SAChFD,EAAUC,EAAqB,wCAG/BD,GACAE,EAAW;AAAA;AAAA;AAAA;AAAA,CAC8D,CAEjF,CAEA,IAAMC,EAAwB,CAC1B,UAAW,CACP,CACI,QAASL,EACT,MAAO,CAAC,SAAU,UAAW,SAAS,EACtC,OAAQ,qBACZ,EACA,CACI,QAAS,CAAC,qCAAqC,EAC/C,MAAO,CAAC,SAAS,CACrB,EACA,CACI,QAAS,CAAC,qCAAqC,EAC/C,MAAO,CAAC,SAAS,CACrB,EACA,CACI,QAAS,CAAC,oCAAoC,EAC9C,MAAO,CAAC,QAAQ,CACpB,EACA,CACI,QAAS,CAAC,oCAAoC,EAC9C,MAAO,CAAC,cAAc,EACtB,MAAO,CAEH,kBAAmBC,EACb,MACA,CACI,QACA,CACI,MAAO,CACH,YACA,OACA,cACA,OACA,UACA,UACA,iBACA,cACA,SACA,UACA,UACA,WACA,aACA,OACA,WACA,aACA,cACA,UACA,OACA,SACA,QACA,WACA,QACA,gBACA,MACA,OACA,QACA,UACA,mBACA,cACA,UACA,mBACA,uBACA,eACA,uBACA,kBACA,OACA,YACA,cACA,QACA,mBACA,cACA,cACJ,EACA,YAAa,IACjB,EACA,CACI,MAAO,CAAE,KAAM,KAAM,EACrB,YAAa,iDACjB,EACA,CACI,MAAO,CAAC,QAAS,UAAW,QAAQ,EACpC,YAAa,aACjB,CACJ,CACV,CACJ,CACJ,CACJ,EAEOK,EAAQD","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\nimport { env } from \"node:process\";\n\nimport anolilabEslintConfig from \"../../utils/eslint-config\";\nimport { consoleLog } from \"../../utils/loggers\";\n\nconst extendedPlugins: string[] = [];\n\nif (hasDependency(\"prettier\") || hasDevDependency(\"prettier\")) {\n extendedPlugins.push(\"plugin:jsonc/prettier\");\n}\n\nconst hasSortPackageJson = hasDependency(\"sort-package-json\") || hasDevDependency(\"sort-package-json\");\n\nif (hasSortPackageJson) {\n let showLog: boolean = env[\"DISABLE_INFO_ON_DISABLING_JSONC_SORT_KEYS_RULE\"] !== \"true\";\n\n if (showLog && anolilabEslintConfig?.[\"info_on_disabling_jsonc_sort_keys_rule\"] !== undefined) {\n showLog = anolilabEslintConfig[\"info_on_disabling_jsonc_sort_keys_rule\"];\n }\n\n if (showLog) {\n consoleLog(`\\n@anolilab/eslint-config found sort-package-json. \\n\n Following rules are disabled: jsonc/sort-keys for all package.json files. \\n`);\n }\n}\n\nconst config: Linter.Config = {\n overrides: [\n {\n extends: extendedPlugins,\n files: [\"*.json\", \"*.json5\", \"*.jsonc\"],\n parser: \"jsonc-eslint-parser\",\n },\n {\n extends: [\"plugin:jsonc/recommended-with-json5\"],\n files: [\"*.json5\"],\n },\n {\n extends: [\"plugin:jsonc/recommended-with-jsonc\"],\n files: [\"*.jsonc\"],\n },\n {\n extends: [\"plugin:jsonc/recommended-with-json\"],\n files: [\"*.json\"],\n },\n {\n extends: [\"plugin:jsonc/recommended-with-json\"],\n files: [\"package.json\"],\n rules: {\n // When the package \"sort-package-json\" is installed, we disable the rule \"jsonc/sort-keys\" because, the package \"sort-package-json\" is responsible for sorting the keys.\n \"jsonc/sort-keys\": hasSortPackageJson\n ? \"off\"\n : [\n \"error\",\n {\n order: [\n \"publisher\",\n \"name\",\n \"displayName\",\n \"type\",\n \"version\",\n \"private\",\n \"packageManager\",\n \"description\",\n \"author\",\n \"license\",\n \"funding\",\n \"homepage\",\n \"repository\",\n \"bugs\",\n \"keywords\",\n \"categories\",\n \"sideEffects\",\n \"exports\",\n \"main\",\n \"module\",\n \"unpkg\",\n \"jsdelivr\",\n \"types\",\n \"typesVersions\",\n \"bin\",\n \"icon\",\n \"files\",\n \"engines\",\n \"activationEvents\",\n \"contributes\",\n \"scripts\",\n \"peerDependencies\",\n \"peerDependenciesMeta\",\n \"dependencies\",\n \"optionalDependencies\",\n \"devDependencies\",\n \"pnpm\",\n \"overrides\",\n \"resolutions\",\n \"husky\",\n \"simple-git-hooks\",\n \"lint-staged\",\n \"eslintConfig\",\n ],\n pathPattern: \"^$\",\n },\n {\n order: { type: \"asc\" },\n pathPattern: \"^(?:dev|peer|optional|bundled)?[Dd]ependencies$\",\n },\n {\n order: [\"types\", \"require\", \"import\"],\n pathPattern: \"^exports.*$\",\n },\n ],\n },\n },\n ],\n};\n\nexport default config;\n"]}
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
+ require('../../chunk-3NVDJZNH.js');
3
4
  var packageJsonUtils = require('@anolilab/package-json-utils');
4
5
 
5
- !global.hasAnolilabEsLintConfigJsyA11yStorybook&&(packageJsonUtils.hasDevDependency("storybook")||packageJsonUtils.hasDependency("storybook"))&&(global.hasAnolilabEsLintConfigJsyA11yStorybook=!0);var o={plugins:["jsx-a11y","react"],parserOptions:{ecmaFeatures:{jsx:!0}},rules:{"jsx-a11y/anchor-has-content":["error",{components:[]}],"jsx-a11y/aria-role":["error",{ignoreNonDOM:!1}],"jsx-a11y/aria-props":"error","jsx-a11y/aria-proptypes":"error","jsx-a11y/aria-unsupported-elements":"error","jsx-a11y/alt-text":["error",{elements:["img","object","area",'input[type="image"]'],img:[],object:[],area:[],'input[type="image"]':[]}],"jsx-a11y/img-redundant-alt":"error","jsx-a11y/label-has-for":["off",{components:[],required:{every:["nesting","id"]},allowChildren:!1}],"jsx-a11y/label-has-associated-control":["error",{labelComponents:[],labelAttributes:[],controlComponents:[],assert:"both",depth:25}],"jsx-a11y/control-has-associated-label":["error",{labelAttributes:["label"],controlComponents:[],ignoreElements:["audio","canvas","embed","input","textarea","tr","video"],ignoreRoles:["grid","listbox","menu","menubar","radiogroup","row","tablist","toolbar","tree","treegrid"],depth:5}],"jsx-a11y/mouse-events-have-key-events":"error","jsx-a11y/no-access-key":"error","jsx-a11y/no-onchange":"off","jsx-a11y/interactive-supports-focus":"error","jsx-a11y/role-has-required-aria-props":"error","jsx-a11y/role-supports-aria-props":"error","jsx-a11y/tabindex-no-positive":"error","jsx-a11y/heading-has-content":["error",{components:[""]}],"jsx-a11y/html-has-lang":"error","jsx-a11y/lang":"error","jsx-a11y/no-distracting-elements":["error",{elements:["marquee","blink"]}],"jsx-a11y/scope":"error","jsx-a11y/click-events-have-key-events":"error","jsx-a11y/no-static-element-interactions":["error",{handlers:["onClick","onMouseDown","onMouseUp","onKeyPress","onKeyDown","onKeyUp"]}],"jsx-a11y/no-noninteractive-element-interactions":["error",{handlers:["onClick","onMouseDown","onMouseUp","onKeyPress","onKeyDown","onKeyUp"]}],"jsx-a11y/accessible-emoji":"off","jsx-a11y/aria-activedescendant-has-tabindex":"error","jsx-a11y/iframe-has-title":"error","jsx-a11y/no-autofocus":["error",{ignoreNonDOM:!0}],"jsx-a11y/no-redundant-roles":"error","jsx-a11y/media-has-caption":["error",{audio:[],video:[],track:[]}],"jsx-a11y/no-interactive-element-to-noninteractive-role":["error",{tr:["none","presentation"]}],"jsx-a11y/no-noninteractive-element-to-interactive-role":["error",{ul:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],ol:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],li:["menuitem","option","row","tab","treeitem"],table:["grid"],td:["gridcell"]}],"jsx-a11y/no-noninteractive-tabindex":["error",{tags:[],roles:["tabpanel"]}],"jsx-a11y/anchor-is-valid":["error",{components:["A","LinkTo","Link"],specialLink:["to"],aspects:["noHref","invalidHref","preferButton",...global.hasAnolilabEsLintConfigJsyA11yStorybook?["overrideParams","kind","story","to"]:[]]}],"jsx-a11y/autocomplete-valid":["off",{inputComponents:[]}]}},n=o;
6
+ !global.hasAnolilabEsLintConfigJsyA11yStorybook&&(packageJsonUtils.hasDevDependency("storybook")||packageJsonUtils.hasDependency("storybook"))&&(global.hasAnolilabEsLintConfigJsyA11yStorybook=!0);var o={parserOptions:{ecmaFeatures:{jsx:!0}},plugins:["jsx-a11y","react"],rules:{"jsx-a11y/accessible-emoji":"off","jsx-a11y/alt-text":["error",{area:[],elements:["img","object","area",'input[type="image"]'],img:[],'input[type="image"]':[],object:[]}],"jsx-a11y/anchor-has-content":["error",{components:[]}],"jsx-a11y/anchor-is-valid":["error",{aspects:["noHref","invalidHref","preferButton",...global.hasAnolilabEsLintConfigJsyA11yStorybook?["overrideParams","kind","story","to"]:[]],components:["A","LinkTo","Link"],specialLink:["to"]}],"jsx-a11y/aria-activedescendant-has-tabindex":"error","jsx-a11y/aria-props":"error","jsx-a11y/aria-proptypes":"error","jsx-a11y/aria-role":["error",{ignoreNonDOM:!1}],"jsx-a11y/aria-unsupported-elements":"error","jsx-a11y/autocomplete-valid":["off",{inputComponents:[]}],"jsx-a11y/click-events-have-key-events":"error","jsx-a11y/control-has-associated-label":["error",{controlComponents:[],depth:5,ignoreElements:["audio","canvas","embed","input","textarea","tr","video"],ignoreRoles:["grid","listbox","menu","menubar","radiogroup","row","tablist","toolbar","tree","treegrid"],labelAttributes:["label"]}],"jsx-a11y/heading-has-content":["error",{components:[""]}],"jsx-a11y/html-has-lang":"error","jsx-a11y/iframe-has-title":"error","jsx-a11y/img-redundant-alt":"error","jsx-a11y/interactive-supports-focus":"error","jsx-a11y/label-has-associated-control":["error",{assert:"both",controlComponents:[],depth:25,labelAttributes:[],labelComponents:[]}],"jsx-a11y/label-has-for":["off",{allowChildren:!1,components:[],required:{every:["nesting","id"]}}],"jsx-a11y/lang":"error","jsx-a11y/media-has-caption":["error",{audio:[],track:[],video:[]}],"jsx-a11y/mouse-events-have-key-events":"error","jsx-a11y/no-access-key":"error","jsx-a11y/no-autofocus":["error",{ignoreNonDOM:!0}],"jsx-a11y/no-distracting-elements":["error",{elements:["marquee","blink"]}],"jsx-a11y/no-interactive-element-to-noninteractive-role":["error",{tr:["none","presentation"]}],"jsx-a11y/no-noninteractive-element-interactions":["error",{handlers:["onClick","onMouseDown","onMouseUp","onKeyPress","onKeyDown","onKeyUp"]}],"jsx-a11y/no-noninteractive-element-to-interactive-role":["error",{li:["menuitem","option","row","tab","treeitem"],ol:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],table:["grid"],td:["gridcell"],ul:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"]}],"jsx-a11y/no-noninteractive-tabindex":["error",{roles:["tabpanel"],tags:[]}],"jsx-a11y/no-onchange":"off","jsx-a11y/no-redundant-roles":"error","jsx-a11y/no-static-element-interactions":["error",{handlers:["onClick","onMouseDown","onMouseUp","onKeyPress","onKeyDown","onKeyUp"]}],"jsx-a11y/role-has-required-aria-props":"error","jsx-a11y/role-supports-aria-props":"error","jsx-a11y/scope":"error","jsx-a11y/tabindex-no-positive":"error"}},n=o;
6
7
 
7
8
  module.exports = n;
8
9
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/jsx-a11y.ts"],"names":["hasDependency","hasDevDependency","config","jsx_a11y_default"],"mappings":"AAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAG5C,CAAC,OAAO,0CAA4CA,EAAiB,WAAW,GAAKD,EAAc,WAAW,KAC9G,OAAO,wCAA0C,IAGrD,IAAME,EAAwB,CAC1B,QAAS,CAAC,WAAY,OAAO,EAE7B,cAAe,CACX,aAAc,CACV,IAAK,EACT,CACJ,EAEA,MAAO,CAGH,8BAA+B,CAAC,QAAS,CAAE,WAAY,CAAC,CAAE,CAAC,EAI3D,qBAAsB,CAAC,QAAS,CAAE,aAAc,EAAM,CAAC,EAIvD,sBAAuB,QAIvB,0BAA2B,QAK3B,qCAAsC,QAItC,oBAAqB,CACjB,QACA,CACI,SAAU,CAAC,MAAO,SAAU,OAAQ,qBAAqB,EACzD,IAAK,CAAC,EACN,OAAQ,CAAC,EACT,KAAM,CAAC,EACP,sBAAuB,CAAC,CAC5B,CACJ,EAIA,6BAA8B,QAK9B,yBAA0B,CACtB,MACA,CACI,WAAY,CAAC,EACb,SAAU,CACN,MAAO,CAAC,UAAW,IAAI,CAC3B,EACA,cAAe,EACnB,CACJ,EAIA,wCAAyC,CACrC,QACA,CACI,gBAAiB,CAAC,EAClB,gBAAiB,CAAC,EAClB,kBAAmB,CAAC,EACpB,OAAQ,OACR,MAAO,EACX,CACJ,EAIA,wCAAyC,CACrC,QACA,CACI,gBAAiB,CAAC,OAAO,EACzB,kBAAmB,CAAC,EACpB,eAAgB,CAAC,QAAS,SAAU,QAAS,QAAS,WAAY,KAAM,OAAO,EAC/E,YAAa,CAAC,OAAQ,UAAW,OAAQ,UAAW,aAAc,MAAO,UAAW,UAAW,OAAQ,UAAU,EACjH,MAAO,CACX,CACJ,EAIA,wCAAyC,QAIzC,yBAA0B,QAI1B,uBAAwB,MAIxB,sCAAuC,QAKvC,wCAAyC,QAKzC,oCAAqC,QAIrC,gCAAiC,QAIjC,+BAAgC,CAAC,QAAS,CAAE,WAAY,CAAC,EAAE,CAAE,CAAC,EAI9D,yBAA0B,QAI1B,gBAAiB,QAIjB,mCAAoC,CAChC,QACA,CACI,SAAU,CAAC,UAAW,OAAO,CACjC,CACJ,EAIA,iBAAkB,QAIlB,wCAAyC,QAIzC,0CAA2C,CACvC,QACA,CACI,SAAU,CAAC,UAAW,cAAe,YAAa,aAAc,YAAa,SAAS,CAC1F,CACJ,EAIA,kDAAmD,CAC/C,QACA,CACI,SAAU,CAAC,UAAW,cAAe,YAAa,aAAc,YAAa,SAAS,CAC1F,CACJ,EAKA,4BAA6B,MAI7B,8CAA+C,QAI/C,4BAA6B,QAI7B,wBAAyB,CAAC,QAAS,CAAE,aAAc,EAAK,CAAC,EAIzD,8BAA+B,QAI/B,6BAA8B,CAC1B,QACA,CACI,MAAO,CAAC,EACR,MAAO,CAAC,EACR,MAAO,CAAC,CACZ,CACJ,EAIA,yDAA0D,CACtD,QACA,CACI,GAAI,CAAC,OAAQ,cAAc,CAC/B,CACJ,EAIA,yDAA0D,CACtD,QACA,CACI,GAAI,CAAC,UAAW,OAAQ,UAAW,aAAc,UAAW,OAAQ,UAAU,EAC9E,GAAI,CAAC,UAAW,OAAQ,UAAW,aAAc,UAAW,OAAQ,UAAU,EAC9E,GAAI,CAAC,WAAY,SAAU,MAAO,MAAO,UAAU,EACnD,MAAO,CAAC,MAAM,EACd,GAAI,CAAC,UAAU,CACnB,CACJ,EAIA,sCAAuC,CACnC,QACA,CACI,KAAM,CAAC,EACP,MAAO,CAAC,UAAU,CACtB,CACJ,EAIA,2BAA4B,CACxB,QACA,CACI,WAAY,CAAC,IAAK,SAAU,MAAM,EAClC,YAAa,CAAC,IAAI,EAClB,QAAS,CAAC,SAAU,cAAe,eAAgB,GAAI,OAAO,wCAA0C,CAAC,iBAAkB,OAAQ,QAAS,IAAI,EAAI,CAAC,CAAE,CAC3J,CACJ,EAIA,8BAA+B,CAC3B,MACA,CACI,gBAAiB,CAAC,CACtB,CACJ,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nif (!global.hasAnolilabEsLintConfigJsyA11yStorybook && (hasDevDependency(\"storybook\") || hasDependency(\"storybook\"))) {\n global.hasAnolilabEsLintConfigJsyA11yStorybook = true;\n}\n\nconst config: Linter.Config = {\n plugins: [\"jsx-a11y\", \"react\"],\n\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n\n rules: {\n // Enforce that anchors have content\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-has-content.md\n \"jsx-a11y/anchor-has-content\": [\"error\", { components: [] }],\n\n // Require ARIA roles to be valid and non-abstract\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md\n \"jsx-a11y/aria-role\": [\"error\", { ignoreNonDOM: false }],\n\n // Enforce all aria-* props are valid.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-props.md\n \"jsx-a11y/aria-props\": \"error\",\n\n // Enforce ARIA state and property values are valid.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-proptypes.md\n \"jsx-a11y/aria-proptypes\": \"error\",\n\n // Enforce that elements that do not support ARIA roles, states, and\n // properties do not have those attributes.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-unsupported-elements.md\n \"jsx-a11y/aria-unsupported-elements\": \"error\",\n\n // Enforce that all elements that require alternative text have meaningful information\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/alt-text.md\n \"jsx-a11y/alt-text\": [\n \"error\",\n {\n elements: [\"img\", \"object\", \"area\", 'input[type=\"image\"]'],\n img: [],\n object: [],\n area: [],\n 'input[type=\"image\"]': [],\n },\n ],\n\n // Prevent img alt text from containing redundant words like \"image\", \"picture\", or \"photo\"\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/img-redundant-alt.md\n \"jsx-a11y/img-redundant-alt\": \"error\",\n\n // require that JSX labels use \"htmlFor\"\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/label-has-for.md\n // deprecated: replaced by `label-has-associated-control` rule\n \"jsx-a11y/label-has-for\": [\n \"off\",\n {\n components: [],\n required: {\n every: [\"nesting\", \"id\"],\n },\n allowChildren: false,\n },\n ],\n\n // Enforce that a label tag has a text label and an associated control.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/b800f40a2a69ad48015ae9226fbe879f946757ed/docs/rules/label-has-associated-control.md\n \"jsx-a11y/label-has-associated-control\": [\n \"error\",\n {\n labelComponents: [],\n labelAttributes: [],\n controlComponents: [],\n assert: \"both\",\n depth: 25,\n },\n ],\n\n // Enforce that a control (an interactive element) has a text label.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/control-has-associated-label.md\n \"jsx-a11y/control-has-associated-label\": [\n \"error\",\n {\n labelAttributes: [\"label\"],\n controlComponents: [],\n ignoreElements: [\"audio\", \"canvas\", \"embed\", \"input\", \"textarea\", \"tr\", \"video\"],\n ignoreRoles: [\"grid\", \"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"row\", \"tablist\", \"toolbar\", \"tree\", \"treegrid\"],\n depth: 5,\n },\n ],\n\n // require that mouseover/out come with focus/blur, for keyboard-only users\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/mouse-events-have-key-events.md\n \"jsx-a11y/mouse-events-have-key-events\": \"error\",\n\n // Prevent use of `accessKey`\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-access-key.md\n \"jsx-a11y/no-access-key\": \"error\",\n\n // require onBlur instead of onChange\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-onchange.md\n \"jsx-a11y/no-onchange\": \"off\",\n\n // Elements with an interactive role and interaction handlers must be focusable\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/interactive-supports-focus.md\n \"jsx-a11y/interactive-supports-focus\": \"error\",\n\n // Enforce that elements with ARIA roles must have all required attributes\n // for that role.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-has-required-aria-props.md\n \"jsx-a11y/role-has-required-aria-props\": \"error\",\n\n // Enforce that elements with explicit or implicit roles defined contain\n // only aria-* properties supported by that role.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-supports-aria-props.md\n \"jsx-a11y/role-supports-aria-props\": \"error\",\n\n // Enforce tabIndex value is not greater than zero.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/tabindex-no-positive.md\n \"jsx-a11y/tabindex-no-positive\": \"error\",\n\n // ensure <hX> tags have content and are not aria-hidden\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/heading-has-content.md\n \"jsx-a11y/heading-has-content\": [\"error\", { components: [\"\"] }],\n\n // require HTML elements to have a \"lang\" prop\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/html-has-lang.md\n \"jsx-a11y/html-has-lang\": \"error\",\n\n // require HTML element's lang prop to be valid\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/lang.md\n \"jsx-a11y/lang\": \"error\",\n\n // prevent distracting elements, like <marquee> and <blink>\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-distracting-elements.md\n \"jsx-a11y/no-distracting-elements\": [\n \"error\",\n {\n elements: [\"marquee\", \"blink\"],\n },\n ],\n\n // only allow <th> to have the \"scope\" attr\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/scope.md\n \"jsx-a11y/scope\": \"error\",\n\n // require onClick be accompanied by onKeyUp/onKeyDown/onKeyPress\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/click-events-have-key-events.md\n \"jsx-a11y/click-events-have-key-events\": \"error\",\n\n // Enforce that DOM elements without semantic behavior not have interaction handlers\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md\n \"jsx-a11y/no-static-element-interactions\": [\n \"error\",\n {\n handlers: [\"onClick\", \"onMouseDown\", \"onMouseUp\", \"onKeyPress\", \"onKeyDown\", \"onKeyUp\"],\n },\n ],\n\n // A non-interactive element does not support event handlers (mouse and key handlers)\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-element-interactions.md\n \"jsx-a11y/no-noninteractive-element-interactions\": [\n \"error\",\n {\n handlers: [\"onClick\", \"onMouseDown\", \"onMouseUp\", \"onKeyPress\", \"onKeyDown\", \"onKeyUp\"],\n },\n ],\n\n // ensure emoji are accessible\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/accessible-emoji.md\n // disabled; rule is deprecated\n \"jsx-a11y/accessible-emoji\": \"off\",\n\n // elements with aria-activedescendant must be tabbable\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-activedescendant-has-tabindex.md\n \"jsx-a11y/aria-activedescendant-has-tabindex\": \"error\",\n\n // ensure iframe elements have a unique title\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/iframe-has-title.md\n \"jsx-a11y/iframe-has-title\": \"error\",\n\n // prohibit autoFocus prop\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-autofocus.md\n \"jsx-a11y/no-autofocus\": [\"error\", { ignoreNonDOM: true }],\n\n // ensure HTML elements do not specify redundant ARIA roles\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-redundant-roles.md\n \"jsx-a11y/no-redundant-roles\": \"error\",\n\n // media elements must have captions\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/media-has-caption.md\n \"jsx-a11y/media-has-caption\": [\n \"error\",\n {\n audio: [],\n video: [],\n track: [],\n },\n ],\n\n // WAI-ARIA roles should not be used to convert an interactive element to non-interactive\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-interactive-element-to-noninteractive-role.md\n \"jsx-a11y/no-interactive-element-to-noninteractive-role\": [\n \"error\",\n {\n tr: [\"none\", \"presentation\"],\n },\n ],\n\n // WAI-ARIA roles should not be used to convert a non-interactive element to interactive\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-element-to-interactive-role.md\n \"jsx-a11y/no-noninteractive-element-to-interactive-role\": [\n \"error\",\n {\n ul: [\"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"tablist\", \"tree\", \"treegrid\"],\n ol: [\"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"tablist\", \"tree\", \"treegrid\"],\n li: [\"menuitem\", \"option\", \"row\", \"tab\", \"treeitem\"],\n table: [\"grid\"],\n td: [\"gridcell\"],\n },\n ],\n\n // Tab key navigation should be limited to elements on the page that can be interacted with.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-tabindex.md\n \"jsx-a11y/no-noninteractive-tabindex\": [\n \"error\",\n {\n tags: [],\n roles: [\"tabpanel\"],\n },\n ],\n\n // ensure <a> tags are valid\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/0745af376cdc8686d85a361ce36952b1fb1ccf6e/docs/rules/anchor-is-valid.md\n \"jsx-a11y/anchor-is-valid\": [\n \"error\",\n {\n components: [\"A\", \"LinkTo\", \"Link\"],\n specialLink: [\"to\"],\n aspects: [\"noHref\", \"invalidHref\", \"preferButton\", ...(global.hasAnolilabEsLintConfigJsyA11yStorybook ? [\"overrideParams\", \"kind\", \"story\", \"to\"] : [])],\n },\n ],\n\n // Ensure the autocomplete attribute is correct and suitable for the form field it is used with\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/29c68596b15c4ff0a40daae6d4a2670e36e37d35/docs/rules/autocomplete-valid.md\n \"jsx-a11y/autocomplete-valid\": [\n \"off\",\n {\n inputComponents: [],\n },\n ],\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/jsx-a11y.ts"],"names":["hasDependency","hasDevDependency","config","jsx_a11y_default"],"mappings":"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","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nif (!global.hasAnolilabEsLintConfigJsyA11yStorybook && (hasDevDependency(\"storybook\") || hasDependency(\"storybook\"))) {\n global.hasAnolilabEsLintConfigJsyA11yStorybook = true;\n}\n\nconst config: Linter.Config = {\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n\n plugins: [\"jsx-a11y\", \"react\"],\n\n rules: {\n // Enforce that anchors have content\n // disabled; rule is deprecated\n \"jsx-a11y/accessible-emoji\": \"off\",\n\n // Require ARIA roles to be valid and non-abstract\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/alt-text.md\n \"jsx-a11y/alt-text\": [\n \"error\",\n {\n area: [],\n elements: [\"img\", \"object\", \"area\", 'input[type=\"image\"]'],\n img: [],\n 'input[type=\"image\"]': [],\n object: [],\n },\n ],\n\n // Enforce all aria-* props are valid.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-has-content.md\n \"jsx-a11y/anchor-has-content\": [\"error\", { components: [] }],\n\n // Enforce ARIA state and property values are valid.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/0745af376cdc8686d85a361ce36952b1fb1ccf6e/docs/rules/anchor-is-valid.md\n \"jsx-a11y/anchor-is-valid\": [\n \"error\",\n {\n aspects: [\n \"noHref\",\n \"invalidHref\",\n \"preferButton\",\n ...(global.hasAnolilabEsLintConfigJsyA11yStorybook ? [\"overrideParams\", \"kind\", \"story\", \"to\"] : []),\n ],\n components: [\"A\", \"LinkTo\", \"Link\"],\n specialLink: [\"to\"],\n },\n ],\n\n // Enforce that elements that do not support ARIA roles, states, and\n // properties do not have those attributes.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-activedescendant-has-tabindex.md\n \"jsx-a11y/aria-activedescendant-has-tabindex\": \"error\",\n\n // Enforce that all elements that require alternative text have meaningful information\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-props.md\n \"jsx-a11y/aria-props\": \"error\",\n\n // Prevent img alt text from containing redundant words like \"image\", \"picture\", or \"photo\"\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-proptypes.md\n \"jsx-a11y/aria-proptypes\": \"error\",\n\n // require that JSX labels use \"htmlFor\"\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/label-has-for.md\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md\n \"jsx-a11y/aria-role\": [\"error\", { ignoreNonDOM: false }],\n\n // Enforce that a label tag has a text label and an associated control.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-unsupported-elements.md\n \"jsx-a11y/aria-unsupported-elements\": \"error\",\n\n // Enforce that a control (an interactive element) has a text label.\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/29c68596b15c4ff0a40daae6d4a2670e36e37d35/docs/rules/autocomplete-valid.md\n \"jsx-a11y/autocomplete-valid\": [\n \"off\",\n {\n inputComponents: [],\n },\n ],\n\n // require that mouseover/out come with focus/blur, for keyboard-only users\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/click-events-have-key-events.md\n \"jsx-a11y/click-events-have-key-events\": \"error\",\n\n // Prevent use of `accessKey`\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/control-has-associated-label.md\n \"jsx-a11y/control-has-associated-label\": [\n \"error\",\n {\n controlComponents: [],\n depth: 5,\n ignoreElements: [\"audio\", \"canvas\", \"embed\", \"input\", \"textarea\", \"tr\", \"video\"],\n ignoreRoles: [\"grid\", \"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"row\", \"tablist\", \"toolbar\", \"tree\", \"treegrid\"],\n labelAttributes: [\"label\"],\n },\n ],\n\n // require onBlur instead of onChange\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/heading-has-content.md\n \"jsx-a11y/heading-has-content\": [\"error\", { components: [\"\"] }],\n\n // Elements with an interactive role and interaction handlers must be focusable\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/html-has-lang.md\n \"jsx-a11y/html-has-lang\": \"error\",\n\n // Enforce that elements with ARIA roles must have all required attributes\n // for that role.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/iframe-has-title.md\n \"jsx-a11y/iframe-has-title\": \"error\",\n\n // Enforce that elements with explicit or implicit roles defined contain\n // only aria-* properties supported by that role.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/img-redundant-alt.md\n \"jsx-a11y/img-redundant-alt\": \"error\",\n\n // Enforce tabIndex value is not greater than zero.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/interactive-supports-focus.md\n \"jsx-a11y/interactive-supports-focus\": \"error\",\n\n // ensure <hX> tags have content and are not aria-hidden\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/b800f40a2a69ad48015ae9226fbe879f946757ed/docs/rules/label-has-associated-control.md\n \"jsx-a11y/label-has-associated-control\": [\n \"error\",\n {\n assert: \"both\",\n controlComponents: [],\n depth: 25,\n labelAttributes: [],\n labelComponents: [],\n },\n ],\n\n // require HTML elements to have a \"lang\" prop\n // deprecated: replaced by `label-has-associated-control` rule\n \"jsx-a11y/label-has-for\": [\n \"off\",\n {\n allowChildren: false,\n components: [],\n required: {\n every: [\"nesting\", \"id\"],\n },\n },\n ],\n\n // require HTML element's lang prop to be valid\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/lang.md\n \"jsx-a11y/lang\": \"error\",\n\n // prevent distracting elements, like <marquee> and <blink>\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/media-has-caption.md\n \"jsx-a11y/media-has-caption\": [\n \"error\",\n {\n audio: [],\n track: [],\n video: [],\n },\n ],\n\n // only allow <th> to have the \"scope\" attr\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/mouse-events-have-key-events.md\n \"jsx-a11y/mouse-events-have-key-events\": \"error\",\n\n // require onClick be accompanied by onKeyUp/onKeyDown/onKeyPress\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-access-key.md\n \"jsx-a11y/no-access-key\": \"error\",\n\n // Enforce that DOM elements without semantic behavior not have interaction handlers\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-autofocus.md\n \"jsx-a11y/no-autofocus\": [\"error\", { ignoreNonDOM: true }],\n\n // A non-interactive element does not support event handlers (mouse and key handlers)\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-distracting-elements.md\n \"jsx-a11y/no-distracting-elements\": [\n \"error\",\n {\n elements: [\"marquee\", \"blink\"],\n },\n ],\n\n // ensure emoji are accessible\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/accessible-emoji.md\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-interactive-element-to-noninteractive-role.md\n \"jsx-a11y/no-interactive-element-to-noninteractive-role\": [\n \"error\",\n {\n tr: [\"none\", \"presentation\"],\n },\n ],\n\n // elements with aria-activedescendant must be tabbable\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-element-interactions.md\n \"jsx-a11y/no-noninteractive-element-interactions\": [\n \"error\",\n {\n handlers: [\"onClick\", \"onMouseDown\", \"onMouseUp\", \"onKeyPress\", \"onKeyDown\", \"onKeyUp\"],\n },\n ],\n\n // ensure iframe elements have a unique title\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-element-to-interactive-role.md\n \"jsx-a11y/no-noninteractive-element-to-interactive-role\": [\n \"error\",\n {\n li: [\"menuitem\", \"option\", \"row\", \"tab\", \"treeitem\"],\n ol: [\"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"tablist\", \"tree\", \"treegrid\"],\n table: [\"grid\"],\n td: [\"gridcell\"],\n ul: [\"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"tablist\", \"tree\", \"treegrid\"],\n },\n ],\n\n // prohibit autoFocus prop\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-tabindex.md\n \"jsx-a11y/no-noninteractive-tabindex\": [\n \"error\",\n {\n roles: [\"tabpanel\"],\n tags: [],\n },\n ],\n\n // ensure HTML elements do not specify redundant ARIA roles\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-onchange.md\n \"jsx-a11y/no-onchange\": \"off\",\n\n // media elements must have captions\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-redundant-roles.md\n \"jsx-a11y/no-redundant-roles\": \"error\",\n\n // WAI-ARIA roles should not be used to convert an interactive element to non-interactive\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md\n \"jsx-a11y/no-static-element-interactions\": [\n \"error\",\n {\n handlers: [\"onClick\", \"onMouseDown\", \"onMouseUp\", \"onKeyPress\", \"onKeyDown\", \"onKeyUp\"],\n },\n ],\n\n // WAI-ARIA roles should not be used to convert a non-interactive element to interactive\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-has-required-aria-props.md\n \"jsx-a11y/role-has-required-aria-props\": \"error\",\n\n // Tab key navigation should be limited to elements on the page that can be interacted with.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-supports-aria-props.md\n \"jsx-a11y/role-supports-aria-props\": \"error\",\n\n // ensure <a> tags are valid\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/scope.md\n \"jsx-a11y/scope\": \"error\",\n\n // Ensure the autocomplete attribute is correct and suitable for the form field it is used with\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/tabindex-no-positive.md\n \"jsx-a11y/tabindex-no-positive\": \"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:lodash-fp/recommended"],plugins:["lodash-fp"],rules:{"lodash-fp/use-fp":"off"}},o=e;
4
6
 
5
7
  module.exports = o;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/lodash-fp.ts"],"names":["config","lodash_fp_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,8BAA8B,EACxC,QAAS,CAAC,WAAW,EACrB,MAAO,CACH,mBAAoB,KACxB,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n extends: [\"plugin:lodash-fp/recommended\"],\n plugins: [\"lodash-fp\"],\n rules: {\n \"lodash-fp/use-fp\": \"off\",\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/lodash-fp.ts"],"names":["config","lodash_fp_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,8BAA8B,EACxC,QAAS,CAAC,WAAW,EACrB,MAAO,CACH,mBAAoB,KACxB,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n extends: [\"plugin:lodash-fp/recommended\"],\n plugins: [\"lodash-fp\"],\n rules: {\n \"lodash-fp/use-fp\": \"off\",\n },\n};\n\nexport default config;\n"]}
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var e={plugins:["lodash"],rules:{"lodash/callback-binding":2,"lodash/collection-method-value":2,"lodash/collection-return":2,"lodash/no-double-unwrap":2,"lodash/no-extra-args":2,"lodash/no-unbound-this":2,"lodash/unwrap":2,"lodash/chain-style":[2,"as-needed"],"lodash/chaining":2,"lodash/collection-ordering":2,"lodash/consistent-compose":[2,"flow"],"lodash/identity-shorthand":[2,"always"],"lodash/import-scope":[2],"lodash/matches-prop-shorthand":[2,"always"],"lodash/matches-shorthand":[2,"always",3],"lodash/no-commit":2,"lodash/path-style":[2,"string"],"lodash/prefer-compact":2,"lodash/prefer-filter":[2,3],"lodash/prefer-find":2,"lodash/prefer-flat-map":2,"lodash/prefer-immutable-method":2,"lodash/prefer-invoke-map":2,"lodash/prefer-map":2,"lodash/prefer-noop":2,"lodash/prefer-reject":[2,3],"lodash/prefer-thru":2,"lodash/prefer-wrapper-method":2,"lodash/preferred-alias":2,"lodash/prop-shorthand":[2,"always"],"lodash/prefer-constant":0,"lodash/prefer-get":0,"lodash/prefer-includes":0,"lodash/prefer-is-nil":0,"lodash/prefer-lodash-chain":0,"lodash/prefer-lodash-method":0,"lodash/prefer-lodash-typecheck":0,"lodash/prefer-matches":0,"lodash/prefer-over-quantifier":0,"lodash/prefer-some":0,"lodash/prefer-startswith":0,"lodash/prefer-times":0}},o=e;
3
+ require('../../chunk-3NVDJZNH.js');
4
+
5
+ var e={plugins:["lodash"],rules:{"lodash/callback-binding":2,"lodash/chain-style":[2,"as-needed"],"lodash/chaining":2,"lodash/collection-method-value":2,"lodash/collection-ordering":2,"lodash/collection-return":2,"lodash/consistent-compose":[2,"flow"],"lodash/identity-shorthand":[2,"always"],"lodash/import-scope":[2],"lodash/matches-prop-shorthand":[2,"always"],"lodash/matches-shorthand":[2,"always",3],"lodash/no-commit":2,"lodash/no-double-unwrap":2,"lodash/no-extra-args":2,"lodash/no-unbound-this":2,"lodash/path-style":[2,"string"],"lodash/prefer-compact":2,"lodash/prefer-constant":0,"lodash/prefer-filter":[2,3],"lodash/prefer-find":2,"lodash/prefer-flat-map":2,"lodash/prefer-get":0,"lodash/prefer-immutable-method":2,"lodash/prefer-includes":0,"lodash/prefer-invoke-map":2,"lodash/prefer-is-nil":0,"lodash/prefer-lodash-chain":0,"lodash/prefer-lodash-method":0,"lodash/prefer-lodash-typecheck":0,"lodash/prefer-map":2,"lodash/prefer-matches":0,"lodash/prefer-noop":2,"lodash/prefer-over-quantifier":0,"lodash/prefer-reject":[2,3],"lodash/prefer-some":0,"lodash/prefer-startswith":0,"lodash/prefer-thru":2,"lodash/prefer-times":0,"lodash/prefer-wrapper-method":2,"lodash/preferred-alias":2,"lodash/prop-shorthand":[2,"always"],"lodash/unwrap":2}},o=e;
4
6
 
5
7
  module.exports = o;
6
8
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/lodash.ts"],"names":["config","lodash_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,QAAQ,EAClB,MAAO,CAEH,0BAA2B,EAC3B,iCAAkC,EAClC,2BAA4B,EAC5B,0BAA2B,EAC3B,uBAAwB,EACxB,yBAA0B,EAC1B,gBAAiB,EAGjB,qBAAsB,CAAC,EAAG,WAAW,EACrC,kBAAmB,EACnB,6BAA8B,EAC9B,4BAA6B,CAAC,EAAG,MAAM,EACvC,4BAA6B,CAAC,EAAG,QAAQ,EACzC,sBAAuB,CAAC,CAAC,EACzB,gCAAiC,CAAC,EAAG,QAAQ,EAC7C,2BAA4B,CAAC,EAAG,SAAU,CAAC,EAC3C,mBAAoB,EACpB,oBAAqB,CAAC,EAAG,QAAQ,EACjC,wBAAyB,EACzB,uBAAwB,CAAC,EAAG,CAAC,EAC7B,qBAAsB,EACtB,yBAA0B,EAC1B,iCAAkC,EAClC,2BAA4B,EAC5B,oBAAqB,EACrB,qBAAsB,EACtB,uBAAwB,CAAC,EAAG,CAAC,EAC7B,qBAAsB,EACtB,+BAAgC,EAChC,yBAA0B,EAC1B,wBAAyB,CAAC,EAAG,QAAQ,EAGrC,yBAA0B,EAC1B,oBAAqB,EACrB,yBAA0B,EAC1B,uBAAwB,EACxB,6BAA8B,EAC9B,8BAA+B,EAC/B,iCAAkC,EAClC,wBAAyB,EACzB,gCAAiC,EACjC,qBAAsB,EACtB,2BAA4B,EAC5B,sBAAuB,CAC3B,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n plugins: [\"lodash\"],\n rules: {\n // Possible Errors\n \"lodash/callback-binding\": 2,\n \"lodash/collection-method-value\": 2,\n \"lodash/collection-return\": 2,\n \"lodash/no-double-unwrap\": 2,\n \"lodash/no-extra-args\": 2,\n \"lodash/no-unbound-this\": 2,\n \"lodash/unwrap\": 2,\n\n // Disable stylistic rules = Use prettier\n \"lodash/chain-style\": [2, \"as-needed\"],\n \"lodash/chaining\": 2,\n \"lodash/collection-ordering\": 2,\n \"lodash/consistent-compose\": [2, \"flow\"],\n \"lodash/identity-shorthand\": [2, \"always\"],\n \"lodash/import-scope\": [2],\n \"lodash/matches-prop-shorthand\": [2, \"always\"],\n \"lodash/matches-shorthand\": [2, \"always\", 3],\n \"lodash/no-commit\": 2,\n \"lodash/path-style\": [2, \"string\"],\n \"lodash/prefer-compact\": 2,\n \"lodash/prefer-filter\": [2, 3],\n \"lodash/prefer-find\": 2,\n \"lodash/prefer-flat-map\": 2,\n \"lodash/prefer-immutable-method\": 2,\n \"lodash/prefer-invoke-map\": 2,\n \"lodash/prefer-map\": 2,\n \"lodash/prefer-noop\": 2,\n \"lodash/prefer-reject\": [2, 3],\n \"lodash/prefer-thru\": 2,\n \"lodash/prefer-wrapper-method\": 2,\n \"lodash/preferred-alias\": 2,\n \"lodash/prop-shorthand\": [2, \"always\"],\n\n // Prefer over Native - DISABLED\n \"lodash/prefer-constant\": 0,\n \"lodash/prefer-get\": 0,\n \"lodash/prefer-includes\": 0,\n \"lodash/prefer-is-nil\": 0,\n \"lodash/prefer-lodash-chain\": 0,\n \"lodash/prefer-lodash-method\": 0,\n \"lodash/prefer-lodash-typecheck\": 0,\n \"lodash/prefer-matches\": 0,\n \"lodash/prefer-over-quantifier\": 0,\n \"lodash/prefer-some\": 0,\n \"lodash/prefer-startswith\": 0,\n \"lodash/prefer-times\": 0,\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/lodash.ts"],"names":["config","lodash_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,QAAQ,EAClB,MAAO,CAEH,0BAA2B,EAE3B,qBAAsB,CAAC,EAAG,WAAW,EACrC,kBAAmB,EACnB,iCAAkC,EAClC,6BAA8B,EAC9B,2BAA4B,EAC5B,4BAA6B,CAAC,EAAG,MAAM,EAEvC,4BAA6B,CAAC,EAAG,QAAQ,EACzC,sBAAuB,CAAC,CAAC,EACzB,gCAAiC,CAAC,EAAG,QAAQ,EAC7C,2BAA4B,CAAC,EAAG,SAAU,CAAC,EAC3C,mBAAoB,EACpB,0BAA2B,EAC3B,uBAAwB,EACxB,yBAA0B,EAC1B,oBAAqB,CAAC,EAAG,QAAQ,EACjC,wBAAyB,EAEzB,yBAA0B,EAC1B,uBAAwB,CAAC,EAAG,CAAC,EAC7B,qBAAsB,EACtB,yBAA0B,EAC1B,oBAAqB,EACrB,iCAAkC,EAClC,yBAA0B,EAC1B,2BAA4B,EAC5B,uBAAwB,EACxB,6BAA8B,EAC9B,8BAA+B,EAC/B,iCAAkC,EAClC,oBAAqB,EAErB,wBAAyB,EACzB,qBAAsB,EACtB,gCAAiC,EACjC,uBAAwB,CAAC,EAAG,CAAC,EAC7B,qBAAsB,EACtB,2BAA4B,EAC5B,qBAAsB,EACtB,sBAAuB,EACvB,+BAAgC,EAChC,yBAA0B,EAC1B,wBAAyB,CAAC,EAAG,QAAQ,EACrC,gBAAiB,CACrB,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n plugins: [\"lodash\"],\n rules: {\n // Possible Errors\n \"lodash/callback-binding\": 2,\n // Disable stylistic rules = Use prettier\n \"lodash/chain-style\": [2, \"as-needed\"],\n \"lodash/chaining\": 2,\n \"lodash/collection-method-value\": 2,\n \"lodash/collection-ordering\": 2,\n \"lodash/collection-return\": 2,\n \"lodash/consistent-compose\": [2, \"flow\"],\n\n \"lodash/identity-shorthand\": [2, \"always\"],\n \"lodash/import-scope\": [2],\n \"lodash/matches-prop-shorthand\": [2, \"always\"],\n \"lodash/matches-shorthand\": [2, \"always\", 3],\n \"lodash/no-commit\": 2,\n \"lodash/no-double-unwrap\": 2,\n \"lodash/no-extra-args\": 2,\n \"lodash/no-unbound-this\": 2,\n \"lodash/path-style\": [2, \"string\"],\n \"lodash/prefer-compact\": 2,\n // Prefer over Native - DISABLED\n \"lodash/prefer-constant\": 0,\n \"lodash/prefer-filter\": [2, 3],\n \"lodash/prefer-find\": 2,\n \"lodash/prefer-flat-map\": 2,\n \"lodash/prefer-get\": 0,\n \"lodash/prefer-immutable-method\": 2,\n \"lodash/prefer-includes\": 0,\n \"lodash/prefer-invoke-map\": 2,\n \"lodash/prefer-is-nil\": 0,\n \"lodash/prefer-lodash-chain\": 0,\n \"lodash/prefer-lodash-method\": 0,\n \"lodash/prefer-lodash-typecheck\": 0,\n \"lodash/prefer-map\": 2,\n\n \"lodash/prefer-matches\": 0,\n \"lodash/prefer-noop\": 2,\n \"lodash/prefer-over-quantifier\": 0,\n \"lodash/prefer-reject\": [2, 3],\n \"lodash/prefer-some\": 0,\n \"lodash/prefer-startswith\": 0,\n \"lodash/prefer-thru\": 2,\n \"lodash/prefer-times\": 0,\n \"lodash/prefer-wrapper-method\": 2,\n \"lodash/preferred-alias\": 2,\n \"lodash/prop-shorthand\": [2, \"always\"],\n \"lodash/unwrap\": 2,\n },\n};\n\nexport default config;\n"]}
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var e={plugins:["markdown"],overrides:[{files:["*.md","**/*.md"],processor:"markdown/markdown",parserOptions:{ecmacFeatures:{impliedStrict:!0}},rules:{"@typescript-eslint/no-redeclare":"off","@typescript-eslint/no-unused-vars":"off","@typescript-eslint/no-use-before-define":"off","@typescript-eslint/no-var-requires":"off","@typescript-eslint/comma-dangle":"off","no-alert":"off","no-restricted-imports":"off","no-unused-expressions":"off","global-require":"off","import/no-unresolved":"off","import/order":"off","no-undef":"off","no-console":"off","no-unused-vars":"off","prefer-reflect":"off",strict:"off"}}]},o=e;
3
+ require('../../chunk-3NVDJZNH.js');
4
+
5
+ var e={overrides:[{files:["*.md"],parserOptions:{ecmacFeatures:{impliedStrict:!0}},processor:"markdown/markdown",rules:{"@typescript-eslint/comma-dangle":"off","@typescript-eslint/no-redeclare":"off","@typescript-eslint/no-unused-vars":"off","@typescript-eslint/no-use-before-define":"off","@typescript-eslint/no-var-requires":"off","global-require":"off","import/no-unresolved":"off","import/order":"off","no-alert":"off","no-console":"off","no-restricted-imports":"off","no-undef":"off","no-unused-expressions":"off","no-unused-vars":"off","prefer-reflect":"off",strict:"off"}}],plugins:["markdown"]},o=e;
4
6
 
5
7
  module.exports = o;
6
8
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/markdown.ts"],"names":["config","markdown_default"],"mappings":"AAEA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,UAAU,EACpB,UAAW,CACP,CACI,MAAO,CAAC,OAAQ,SAAS,EACzB,UAAW,oBACX,cAAe,CACX,cAAe,CACX,cAAe,EACnB,CACJ,EACA,MAAO,CACH,kCAAmC,MACnC,oCAAqC,MACrC,0CAA2C,MAC3C,qCAAsC,MACtC,kCAAmC,MACnC,WAAY,MACZ,wBAAyB,MACzB,wBAAyB,MACzB,iBAAkB,MAClB,uBAAwB,MACxB,eAAgB,MAChB,WAAY,MACZ,aAAc,MACd,iBAAkB,MAClB,iBAAkB,MAClB,OAAQ,KACZ,CACJ,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n plugins: [\"markdown\"],\n overrides: [\n {\n files: [\"*.md\", \"**/*.md\"],\n processor: \"markdown/markdown\",\n parserOptions: {\n ecmacFeatures: {\n impliedStrict: true,\n },\n },\n rules: {\n \"@typescript-eslint/no-redeclare\": \"off\",\n \"@typescript-eslint/no-unused-vars\": \"off\",\n \"@typescript-eslint/no-use-before-define\": \"off\",\n \"@typescript-eslint/no-var-requires\": \"off\",\n \"@typescript-eslint/comma-dangle\": \"off\",\n \"no-alert\": \"off\",\n \"no-restricted-imports\": \"off\",\n \"no-unused-expressions\": \"off\",\n \"global-require\": \"off\",\n \"import/no-unresolved\": \"off\",\n \"import/order\": \"off\",\n \"no-undef\": \"off\",\n \"no-console\": \"off\",\n \"no-unused-vars\": \"off\",\n \"prefer-reflect\": \"off\",\n strict: \"off\",\n },\n },\n ],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/markdown.ts"],"names":["config","markdown_default"],"mappings":"gCAEA,IAAMA,EAAwB,CAC1B,UAAW,CACP,CACI,MAAO,CAAC,MAAM,EACd,cAAe,CACX,cAAe,CACX,cAAe,EACnB,CACJ,EACA,UAAW,oBACX,MAAO,CACH,kCAAmC,MACnC,kCAAmC,MACnC,oCAAqC,MACrC,0CAA2C,MAC3C,qCAAsC,MACtC,iBAAkB,MAClB,uBAAwB,MACxB,eAAgB,MAChB,WAAY,MACZ,aAAc,MACd,wBAAyB,MACzB,WAAY,MACZ,wBAAyB,MACzB,iBAAkB,MAClB,iBAAkB,MAClB,OAAQ,KACZ,CACJ,CACJ,EACA,QAAS,CAAC,UAAU,CACxB,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\nconst config: Linter.Config = {\n overrides: [\n {\n files: [\"*.md\"],\n parserOptions: {\n ecmacFeatures: {\n impliedStrict: true,\n },\n },\n processor: \"markdown/markdown\",\n rules: {\n \"@typescript-eslint/comma-dangle\": \"off\",\n \"@typescript-eslint/no-redeclare\": \"off\",\n \"@typescript-eslint/no-unused-vars\": \"off\",\n \"@typescript-eslint/no-use-before-define\": \"off\",\n \"@typescript-eslint/no-var-requires\": \"off\",\n \"global-require\": \"off\",\n \"import/no-unresolved\": \"off\",\n \"import/order\": \"off\",\n \"no-alert\": \"off\",\n \"no-console\": \"off\",\n \"no-restricted-imports\": \"off\",\n \"no-undef\": \"off\",\n \"no-unused-expressions\": \"off\",\n \"no-unused-vars\": \"off\",\n \"prefer-reflect\": \"off\",\n strict: \"off\",\n },\n },\n ],\n plugins: [\"markdown\"],\n};\n\nexport default config;\n"]}
@@ -1,7 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var e={overrides:[{files:["*.mdx"],extends:["plugin:mdx/recommended"],parser:"eslint-mdx",parserOptions:{ecmaVersion:"latest"},rules:{"import/namespace":"off","import/order":"off","@typescript-eslint/naming-convention":"off","@typescript-eslint/explicit-module-boundary-types":"off","@typescript-eslint/consistent-type-exports":"off","@typescript-eslint/no-unused-vars":"off"}}]},t=e;
3
+ require('../../chunk-3NVDJZNH.js');
4
4
 
5
- module.exports = t;
5
+ var e={overrides:[{extends:["plugin:mdx/recommended"],files:["*.mdx"],parser:"eslint-mdx",parserOptions:{ecmaVersion:"latest"},processor:"mdx/remark",rules:{"@typescript-eslint/consistent-type-exports":"off","@typescript-eslint/explicit-module-boundary-types":"off","@typescript-eslint/naming-convention":"off","@typescript-eslint/no-unused-vars":"off","import/namespace":"off","import/no-extraneous-dependencies":"off","import/no-unresolved":"off","import/order":"off","no-console":"off","no-undef":"off","react/jsx-no-undef":"off","react-hooks/rules-of-hooks":"off","sonar/no-dead-store":"off"},settings:{"mdx/code-blocks":!0}}]},o=e;
6
+
7
+ module.exports = o;
6
8
  //# sourceMappingURL=out.js.map
7
9
  //# sourceMappingURL=mdx.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/mdx.ts"],"names":["config","mdx_default"],"mappings":"AAGA,IAAMA,EAAwB,CAC1B,UAAW,CACP,CACI,MAAO,CAAC,OAAO,EACf,QAAS,CAAC,wBAAwB,EAClC,OAAQ,aACR,cAAe,CACX,YAAa,QACjB,EACA,MAAO,CACH,mBAAoB,MACpB,eAAgB,MAChB,uCAAwC,MACxC,oDAAqD,MACrD,6CAA8C,MAC9C,oCAAqC,KACzC,CACJ,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/mdx-js/eslint-mdx/tree/master/packages/eslint-plugin-mdx\nconst config: Linter.Config = {\n overrides: [\n {\n files: [\"*.mdx\"],\n extends: [\"plugin:mdx/recommended\"],\n parser: \"eslint-mdx\",\n parserOptions: {\n ecmaVersion: \"latest\",\n },\n rules: {\n \"import/namespace\": \"off\",\n \"import/order\": \"off\",\n \"@typescript-eslint/naming-convention\": \"off\",\n \"@typescript-eslint/explicit-module-boundary-types\": \"off\",\n \"@typescript-eslint/consistent-type-exports\": \"off\",\n \"@typescript-eslint/no-unused-vars\": \"off\",\n },\n },\n ],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/mdx.ts"],"names":["config","mdx_default"],"mappings":"gCAGA,IAAMA,EAAwB,CAC1B,UAAW,CACP,CACI,QAAS,CAAC,wBAAwB,EAClC,MAAO,CAAC,OAAO,EACf,OAAQ,aACR,cAAe,CACX,YAAa,QACjB,EACA,UAAW,aACX,MAAO,CACH,6CAA8C,MAC9C,oDAAqD,MACrD,uCAAwC,MACxC,oCAAqC,MACrC,mBAAoB,MACpB,oCAAqC,MACrC,uBAAwB,MACxB,eAAgB,MAChB,aAAc,MACd,WAAY,MACZ,qBAAsB,MACtB,6BAA8B,MAC9B,sBAAuB,KAC3B,EACA,SAAU,CACN,kBAAmB,EACvB,CACJ,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/mdx-js/eslint-mdx/tree/master/packages/eslint-plugin-mdx\nconst config: Linter.Config = {\n overrides: [\n {\n extends: [\"plugin:mdx/recommended\"],\n files: [\"*.mdx\"],\n parser: \"eslint-mdx\",\n parserOptions: {\n ecmaVersion: \"latest\",\n },\n processor: \"mdx/remark\",\n rules: {\n \"@typescript-eslint/consistent-type-exports\": \"off\",\n \"@typescript-eslint/explicit-module-boundary-types\": \"off\",\n \"@typescript-eslint/naming-convention\": \"off\",\n \"@typescript-eslint/no-unused-vars\": \"off\",\n \"import/namespace\": \"off\",\n \"import/no-extraneous-dependencies\": \"off\",\n \"import/no-unresolved\": \"off\",\n \"import/order\": \"off\",\n \"no-console\": \"off\",\n \"no-undef\": \"off\",\n \"react/jsx-no-undef\": \"off\",\n \"react-hooks/rules-of-hooks\": \"off\",\n \"sonar/no-dead-store\": \"off\",\n },\n settings: {\n \"mdx/code-blocks\": true,\n },\n },\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={plugins:["no-use-extend-native"],rules:{"no-use-extend-native/no-use-extend-native":"error"}},n=e;
4
6
 
5
7
  module.exports = n;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/no-extend-native.ts"],"names":["config","no_extend_native_default"],"mappings":"AAGA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,sBAAsB,EAChC,MAAO,CACH,4CAA6C,OACjD,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/dustinspecker/eslint-plugin-no-use-extend-native\nconst config: Linter.Config = {\n plugins: [\"no-use-extend-native\"],\n rules: {\n \"no-use-extend-native/no-use-extend-native\": \"error\",\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/no-extend-native.ts"],"names":["config","no_extend_native_default"],"mappings":"gCAGA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,sBAAsB,EAChC,MAAO,CACH,4CAA6C,OACjD,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/dustinspecker/eslint-plugin-no-use-extend-native\nconst config: Linter.Config = {\n plugins: [\"no-use-extend-native\"],\n rules: {\n \"no-use-extend-native/no-use-extend-native\": \"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 o={plugins:["no-loops"],rules:{"no-loops/no-loops":2}},n=o;
4
6
 
5
7
  module.exports = n;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/no-loops.ts"],"names":["config","no_loops_default"],"mappings":"AAGA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,UAAU,EACpB,MAAO,CACH,oBAAqB,CACzB,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/buildo/eslint-plugin-no-loops\nconst config: Linter.Config = {\n plugins: [\"no-loops\"],\n rules: {\n \"no-loops/no-loops\": 2,\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/no-loops.ts"],"names":["config","no_loops_default"],"mappings":"gCAGA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,UAAU,EACpB,MAAO,CACH,oBAAqB,CACzB,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/buildo/eslint-plugin-no-loops\nconst config: Linter.Config = {\n plugins: [\"no-loops\"],\n rules: {\n \"no-loops/no-loops\": 2,\n },\n};\n\nexport default config;\n"]}
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var e={overrides:[{plugins:["no-secrets"],rules:{"no-secrets/no-secrets":"error"},files:["*","*/**"],excludedFiles:["package.json","**/package.json","package-lock.json","**/package-lock.json","tsconfig.json","**/tsconfig.json"]}]},o=e;
3
+ require('../../chunk-3NVDJZNH.js');
4
+
5
+ var e={overrides:[{excludedFiles:["package.json","**/package.json","package-lock.json","**/package-lock.json","tsconfig.json","**/tsconfig.json"],files:["*","*/**"],plugins:["no-secrets"],rules:{"no-secrets/no-secrets":"error"}}]},o=e;
4
6
 
5
7
  module.exports = o;
6
8
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/no-secrets.ts"],"names":["config","no_secrets_default"],"mappings":"AAGA,IAAMA,EAAwB,CAC1B,UAAW,CACP,CACI,QAAS,CAAC,YAAY,EACtB,MAAO,CACH,wBAAyB,OAC7B,EACA,MAAO,CAAC,IAAK,MAAM,EACnB,cAAe,CAAC,eAAgB,kBAAmB,oBAAqB,uBAAwB,gBAAiB,kBAAkB,CACvI,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/nickdeis/eslint-plugin-no-secrets\nconst config: Linter.Config = {\n overrides: [\n {\n plugins: [\"no-secrets\"],\n rules: {\n \"no-secrets/no-secrets\": \"error\",\n },\n files: [\"*\", \"*/**\"],\n excludedFiles: [\"package.json\", \"**/package.json\", \"package-lock.json\", \"**/package-lock.json\", \"tsconfig.json\", \"**/tsconfig.json\"],\n },\n ],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/no-secrets.ts"],"names":["config","no_secrets_default"],"mappings":"gCAGA,IAAMA,EAAwB,CAC1B,UAAW,CACP,CACI,cAAe,CAAC,eAAgB,kBAAmB,oBAAqB,uBAAwB,gBAAiB,kBAAkB,EACnI,MAAO,CAAC,IAAK,MAAM,EACnB,QAAS,CAAC,YAAY,EACtB,MAAO,CACH,wBAAyB,OAC7B,CACJ,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/nickdeis/eslint-plugin-no-secrets\nconst config: Linter.Config = {\n overrides: [\n {\n excludedFiles: [\"package.json\", \"**/package.json\", \"package-lock.json\", \"**/package-lock.json\", \"tsconfig.json\", \"**/tsconfig.json\"],\n files: [\"*\", \"*/**\"],\n plugins: [\"no-secrets\"],\n rules: {\n \"no-secrets/no-secrets\": \"error\",\n },\n },\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 n={plugins:["no-unsanitized"],rules:{"no-unsanitized/method":"error","no-unsanitized/property":"error"}},e=n;
4
6
 
5
7
  module.exports = e;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/no-unsanitized.ts"],"names":["config","no_unsanitized_default"],"mappings":"AAGA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,gBAAgB,EAC1B,MAAO,CACH,wBAAyB,QACzB,0BAA2B,OAC/B,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/mozilla/eslint-plugin-no-unsanitized\nconst config: Linter.Config = {\n plugins: [\"no-unsanitized\"],\n rules: {\n \"no-unsanitized/method\": \"error\",\n \"no-unsanitized/property\": \"error\",\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/no-unsanitized.ts"],"names":["config","no_unsanitized_default"],"mappings":"gCAGA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,gBAAgB,EAC1B,MAAO,CACH,wBAAyB,QACzB,0BAA2B,OAC/B,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/mozilla/eslint-plugin-no-unsanitized\nconst config: Linter.Config = {\n plugins: [\"no-unsanitized\"],\n rules: {\n \"no-unsanitized/method\": \"error\",\n \"no-unsanitized/property\": \"error\",\n },\n};\n\nexport default config;\n"]}
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
+ require('../../chunk-3NVDJZNH.js');
3
4
  var packageJsonUtils = require('@anolilab/package-json-utils');
4
5
 
5
- if(global.anolilabEslintConfigNodeRules===void 0&&packageJsonUtils.pkg?.engines?.node){let e=packageJsonUtils.pkg?.engines?.node;global.anolilabEslintConfigNodeRules={"n/no-unsupported-features/es-builtins":["error",{version:e}],"n/no-unsupported-features/es-syntax":["error",{version:e,ignores:["modules"]}],"n/no-unsupported-features/node-builtins":["error",{version:e}]};}var o={extends:["plugin:n/recommended"],plugins:["n"],env:{node:!0},parserOptions:{ecmaVersion:2021},rules:{"n/no-extraneous-import":"off","n/no-extraneous-require":"off","n/no-missing-import":"off","n/no-missing-require":"off","n/no-unpublished-bin":"error","n/callback-return":"off","global-require":"error","n/handle-callback-err":"off","no-buffer-constructor":"error","n/no-mixed-requires":["error",{grouping:!0,allowCall:!0}],"n/no-new-require":"error","no-path-concat":"error","n/no-process-env":"off","n/no-process-exit":"off","n/no-restricted-modules":"off","n/no-sync":"off","n/process-exit-as-throw":"error","n/file-extension-in-import":"off",...global.anolilabEslintConfigNodeRules},overrides:[{files:["*.js","*.mjs","*.cjs"],rules:{"n/file-extension-in-import":["error","always"]}}]},s=o;
6
+ if(global.anolilabEslintConfigNodeRules===void 0&&packageJsonUtils.pkg?.engines?.node){let e=packageJsonUtils.pkg?.engines?.node;global.anolilabEslintConfigNodeRules={"n/no-unsupported-features/es-builtins":["error",{version:e}],"n/no-unsupported-features/es-syntax":["error",{ignores:["modules"],version:e}],"n/no-unsupported-features/node-builtins":["error",{version:e}]};}var o={env:{node:!0},extends:["plugin:n/recommended"],overrides:[{files:["*.js","*.mjs","*.cjs"],rules:{"n/file-extension-in-import":["error","always"]}}],parserOptions:{ecmaVersion:2021},plugins:["n"],rules:{"global-require":"error","n/callback-return":"off","n/file-extension-in-import":"off","n/handle-callback-err":"off","n/no-extraneous-import":"off","n/no-extraneous-require":"off","n/no-missing-import":"off","n/no-missing-require":"off","n/no-mixed-requires":["error",{allowCall:!0,grouping:!0}],"n/no-new-require":"error","n/no-process-env":"off","n/no-process-exit":"off","n/no-restricted-modules":"off","n/no-sync":"off","n/no-unpublished-bin":"error","n/process-exit-as-throw":"error","no-buffer-constructor":"error","no-path-concat":"error",...global.anolilabEslintConfigNodeRules}},s=o;
6
7
 
7
8
  module.exports = s;
8
9
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/node.ts"],"names":["pkg","version","config","node_default"],"mappings":"AAAA,OAAS,OAAAA,MAAW,+BAGpB,GAAI,OAAO,gCAAkC,QAAaA,GAAK,SAAU,KAAS,CAC9E,IAAMC,EAAkBD,GAAK,SAAU,KAEvC,OAAO,8BAAgC,CACnC,wCAAyC,CAAC,QAAS,CAAE,QAAAC,CAAQ,CAAC,EAC9D,sCAAuC,CAAC,QAAS,CAAE,QAAAA,EAAS,QAAS,CAAC,SAAS,CAAE,CAAC,EAClF,0CAA2C,CAAC,QAAS,CAAE,QAAAA,CAAQ,CAAC,CACpE,CACJ,CAGA,IAAMC,EAAwB,CAC1B,QAAS,CAAC,sBAAsB,EAChC,QAAS,CAAC,GAAG,EACb,IAAK,CACD,KAAM,EACV,EACA,cAAe,CACX,YAAa,IACjB,EACA,MAAO,CAEH,yBAA0B,MAC1B,0BAA2B,MAG3B,sBAAuB,MACvB,uBAAwB,MAExB,uBAAwB,QAGxB,oBAAqB,MAIrB,iBAAkB,QAGlB,wBAAyB,MAIzB,wBAAyB,QAGzB,sBAAuB,CACnB,QACA,CACI,SAAU,GACV,UAAW,EACf,CACJ,EAGA,mBAAoB,QAIpB,iBAAkB,QAGlB,mBAAoB,MAIpB,oBAAqB,MAGrB,0BAA2B,MAG3B,YAAa,MAEb,0BAA2B,QAE3B,6BAA8B,MAE9B,GAAG,OAAO,6BACd,EACA,UAAW,CACP,CACI,MAAO,CAAC,OAAQ,QAAS,OAAO,EAChC,MAAO,CAEH,6BAA8B,CAAC,QAAS,QAAQ,CACpD,CACJ,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import { pkg } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nif (global.anolilabEslintConfigNodeRules === undefined && pkg?.engines?.[\"node\"]) {\n const version: string = pkg?.engines?.[\"node\"];\n\n global.anolilabEslintConfigNodeRules = {\n \"n/no-unsupported-features/es-builtins\": [\"error\", { version }],\n \"n/no-unsupported-features/es-syntax\": [\"error\", { version, ignores: [\"modules\"] }],\n \"n/no-unsupported-features/node-builtins\": [\"error\", { version }],\n };\n}\n\n// @see https://github.com/eslint-community/eslint-plugin-n\nconst config: Linter.Config = {\n extends: [\"plugin:n/recommended\"],\n plugins: [\"n\"],\n env: {\n node: true,\n },\n parserOptions: {\n ecmaVersion: 2021,\n },\n rules: {\n // Redundant with `import/no-extraneous-dependencies`.\n \"n/no-extraneous-import\": \"off\",\n \"n/no-extraneous-require\": \"off\",\n\n // Redundant with `import/no-unresolved`.\n \"n/no-missing-import\": \"off\", // This rule is also buggy and doesn't support `node:`.\n \"n/no-missing-require\": \"off\",\n\n \"n/no-unpublished-bin\": \"error\",\n\n // enforce return after a callback\n \"n/callback-return\": \"off\",\n\n // require all requires be top-level\n // https://eslint.org/docs/rules/global-require\n \"global-require\": \"error\",\n\n // enforces error handling in callbacks (node environment)\n \"n/handle-callback-err\": \"off\",\n\n // disallow use of the Buffer() constructor\n // https://eslint.org/docs/rules/no-buffer-constructor\n \"no-buffer-constructor\": \"error\",\n\n // disallow mixing regular variable and require declarations\n \"n/no-mixed-requires\": [\n \"error\",\n {\n grouping: true,\n allowCall: true,\n },\n ],\n\n // disallow use of new operator with the require function\n \"n/no-new-require\": \"error\",\n\n // disallow string concatenation with __dirname and __filename\n // https://eslint.org/docs/rules/no-path-concat\n \"no-path-concat\": \"error\",\n\n // disallow use of process.env\n \"n/no-process-env\": \"off\",\n\n // disallow process.exit()\n // unicorn/no-process-exit is enabled instead.\n \"n/no-process-exit\": \"off\",\n\n // restrict usage of specified node modules\n \"n/no-restricted-modules\": \"off\",\n\n // disallow use of synchronous methods (off by default)\n \"n/no-sync\": \"off\",\n\n \"n/process-exit-as-throw\": \"error\",\n\n \"n/file-extension-in-import\": \"off\",\n\n ...global.anolilabEslintConfigNodeRules,\n },\n overrides: [\n {\n files: [\"*.js\", \"*.mjs\", \"*.cjs\"],\n rules: {\n // We have this enabled in addition to `import/extensions` as this one has an auto-fix.\n \"n/file-extension-in-import\": [\"error\", \"always\"],\n },\n },\n ],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/node.ts"],"names":["pkg","version","config","node_default"],"mappings":"gCAAA,OAAS,OAAAA,MAAW,+BAGpB,GAAI,OAAO,gCAAkC,QAAaA,GAAK,SAAU,KAAS,CAC9E,IAAMC,EAAkBD,GAAK,SAAU,KAEvC,OAAO,8BAAgC,CACnC,wCAAyC,CAAC,QAAS,CAAE,QAAAC,CAAQ,CAAC,EAC9D,sCAAuC,CAAC,QAAS,CAAE,QAAS,CAAC,SAAS,EAAG,QAAAA,CAAQ,CAAC,EAClF,0CAA2C,CAAC,QAAS,CAAE,QAAAA,CAAQ,CAAC,CACpE,CACJ,CAGA,IAAMC,EAAwB,CAC1B,IAAK,CACD,KAAM,EACV,EACA,QAAS,CAAC,sBAAsB,EAChC,UAAW,CACP,CACI,MAAO,CAAC,OAAQ,QAAS,OAAO,EAChC,MAAO,CAEH,6BAA8B,CAAC,QAAS,QAAQ,CACpD,CACJ,CACJ,EACA,cAAe,CACX,YAAa,IACjB,EACA,QAAS,CAAC,GAAG,EACb,MAAO,CAEH,iBAAkB,QAElB,oBAAqB,MAErB,6BAA8B,MAE9B,wBAAyB,MAGzB,yBAA0B,MAE1B,0BAA2B,MAI3B,sBAAuB,MAEvB,uBAAwB,MAIxB,sBAAuB,CACnB,QACA,CACI,UAAW,GACX,SAAU,EACd,CACJ,EAGA,mBAAoB,QAGpB,mBAAoB,MAIpB,oBAAqB,MAGrB,0BAA2B,MAI3B,YAAa,MAEb,uBAAwB,QAExB,0BAA2B,QAG3B,wBAAyB,QAGzB,iBAAkB,QAElB,GAAG,OAAO,6BACd,CACJ,EAEOC,EAAQD","sourcesContent":["import { pkg } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nif (global.anolilabEslintConfigNodeRules === undefined && pkg?.engines?.[\"node\"]) {\n const version: string = pkg?.engines?.[\"node\"];\n\n global.anolilabEslintConfigNodeRules = {\n \"n/no-unsupported-features/es-builtins\": [\"error\", { version }],\n \"n/no-unsupported-features/es-syntax\": [\"error\", { ignores: [\"modules\"], version }],\n \"n/no-unsupported-features/node-builtins\": [\"error\", { version }],\n };\n}\n\n// @see https://github.com/eslint-community/eslint-plugin-n\nconst config: Linter.Config = {\n env: {\n node: true,\n },\n extends: [\"plugin:n/recommended\"],\n overrides: [\n {\n files: [\"*.js\", \"*.mjs\", \"*.cjs\"],\n rules: {\n // We have this enabled in addition to `import/extensions` as this one has an auto-fix.\n \"n/file-extension-in-import\": [\"error\", \"always\"],\n },\n },\n ],\n parserOptions: {\n ecmaVersion: 2021,\n },\n plugins: [\"n\"],\n rules: {\n // https://eslint.org/docs/rules/global-require\n \"global-require\": \"error\",\n // enforce return after a callback\n \"n/callback-return\": \"off\",\n\n \"n/file-extension-in-import\": \"off\",\n // enforces error handling in callbacks (node environment)\n \"n/handle-callback-err\": \"off\",\n\n // Redundant with `import/no-extraneous-dependencies`.\n \"n/no-extraneous-import\": \"off\",\n\n \"n/no-extraneous-require\": \"off\",\n\n // require all requires be top-level\n // Redundant with `import/no-unresolved`.\n \"n/no-missing-import\": \"off\", // This rule is also buggy and doesn't support `node:`.\n\n \"n/no-missing-require\": \"off\",\n\n // disallow use of the Buffer() constructor\n // disallow mixing regular variable and require declarations\n \"n/no-mixed-requires\": [\n \"error\",\n {\n allowCall: true,\n grouping: true,\n },\n ],\n\n // disallow use of new operator with the require function\n \"n/no-new-require\": \"error\",\n\n // disallow use of process.env\n \"n/no-process-env\": \"off\",\n\n // disallow string concatenation with __dirname and __filename\n // unicorn/no-process-exit is enabled instead.\n \"n/no-process-exit\": \"off\",\n\n // restrict usage of specified node modules\n \"n/no-restricted-modules\": \"off\",\n\n // disallow process.exit()\n // disallow use of synchronous methods (off by default)\n \"n/no-sync\": \"off\",\n\n \"n/no-unpublished-bin\": \"error\",\n\n \"n/process-exit-as-throw\": \"error\",\n\n // https://eslint.org/docs/rules/no-buffer-constructor\n \"no-buffer-constructor\": \"error\",\n\n // https://eslint.org/docs/rules/no-path-concat\n \"no-path-concat\": \"error\",\n\n ...global.anolilabEslintConfigNodeRules,\n },\n};\n\nexport default config;\n"]}
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var chunkSEYYGHPU_js = require('../../chunk-SEYYGHPU.js');
4
+ var chunkH7VQP3ZD_js = require('../../chunk-H7VQP3ZD.js');
5
+ require('../../chunk-3NVDJZNH.js');
6
+ var packageJsonUtils = require('@anolilab/package-json-utils');
7
+
8
+ !global.hasAnolilabEsLintConfigPerfectionistTypescriptSortKeys&&(packageJsonUtils.hasDependency("eslint-plugin-typescript-sort-keys")||packageJsonUtils.hasDevDependency("eslint-plugin-typescript-sort-keys"))&&(global.hasAnolilabEsLintConfigPerfectionistTypescriptSortKeys=!0,chunkSEYYGHPU_js.b(`
9
+ Please remove "eslint-plugin-typescript-sort-keys" from your package.json, it conflicts with "eslint-plugin-perfectionist".
10
+ `));var s=chunkH7VQP3ZD_js.a("all",{extends:["plugin:perfectionist/recommended-natural"],plugins:["perfectionist"],rules:{"perfectionist/sort-imports":"off","perfectionist/sort-union-types":"off","sort-keys":"off"}}),l=s;
11
+
12
+ module.exports = l;
13
+ //# sourceMappingURL=out.js.map
14
+ //# sourceMappingURL=perfectionist.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/config/plugins/perfectionist.ts"],"names":["hasDependency","hasDevDependency","consoleLog","config","createConfig","perfectionist_default"],"mappings":"wHAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAO5C,CAAC,OAAO,yDACPD,EAAc,oCAAoC,GAAKC,EAAiB,oCAAoC,KAE7G,OAAO,uDAAyD,GAEhEC,EAAW;AAAA;AAAA,CAAiI,GAIhJ,IAAMC,EAAwBC,EAAa,MAAO,CAC9C,QAAS,CAAC,0CAA0C,EACpD,QAAS,CAAC,eAAe,EACzB,MAAO,CAEH,6BAA8B,MAE9B,iCAAkC,MAGlC,YAAa,KACjB,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\nimport { consoleLog } from \"../../utils/loggers\";\n\nif (\n !global.hasAnolilabEsLintConfigPerfectionistTypescriptSortKeys &&\n (hasDependency(\"eslint-plugin-typescript-sort-keys\") || hasDevDependency(\"eslint-plugin-typescript-sort-keys\"))\n) {\n global.hasAnolilabEsLintConfigPerfectionistTypescriptSortKeys = true;\n\n consoleLog('\\nPlease remove \"eslint-plugin-typescript-sort-keys\" from your package.json, it conflicts with \"eslint-plugin-perfectionist\".\\n');\n}\n\n// @see https://github.com/azat-io/eslint-plugin-perfectionist\nconst config: Linter.Config = createConfig(\"all\", {\n extends: [\"plugin:perfectionist/recommended-natural\"],\n plugins: [\"perfectionist\"],\n rules: {\n // Disabled because of sort-imports\n \"perfectionist/sort-imports\": \"off\",\n // Disabled because of @typescript-eslint/sort-type-constituents\n \"perfectionist/sort-union-types\": \"off\",\n\n // Disabled because of perfectionist/sort-objects\n \"sort-keys\": \"off\",\n },\n});\n\nexport default config;\n"]}
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
+ require('../../chunk-3NVDJZNH.js');
3
4
  var packageJsonUtils = require('@anolilab/package-json-utils');
4
5
 
5
- !global.hasAnolilabEsLintConfigPlaywrightJest&&(packageJsonUtils.hasDependency("jest")||packageJsonUtils.hasDevDependency("jest")||packageJsonUtils.hasDevDependency("eslint-plugin-jest")||packageJsonUtils.hasDevDependency("eslint-plugin-jest")||packageJsonUtils.hasDevDependency("@types/jest")||packageJsonUtils.hasDevDependency("@types/jest"))&&(global.hasAnolilabEsLintConfigPlaywrightJest=!0);var s={env:{browser:!0,es6:!0,node:!0},overrides:[{files:["**/e2e/**/*.test.{js,ts}"],extends:[global.hasAnolilabEsLintConfigPlaywrightJest?"plugin:playwright/jest-playwright":"plugin:playwright/recommended"],rules:{"@typescript-eslint/no-non-null-assertion":"off","@typescript-eslint/no-object-literal-type-assertion":"off","@typescript-eslint/no-empty-function":"off"}}]},i=s;
6
+ !global.hasAnolilabEsLintConfigPlaywrightJest&&(packageJsonUtils.hasDependency("jest")||packageJsonUtils.hasDevDependency("jest")||packageJsonUtils.hasDevDependency("eslint-plugin-jest")||packageJsonUtils.hasDevDependency("eslint-plugin-jest")||packageJsonUtils.hasDevDependency("@types/jest")||packageJsonUtils.hasDevDependency("@types/jest"))&&(global.hasAnolilabEsLintConfigPlaywrightJest=!0);var s={env:{browser:!0,es6:!0,node:!0},overrides:[{extends:[global.hasAnolilabEsLintConfigPlaywrightJest?"plugin:playwright/jest-playwright":"plugin:playwright/recommended"],files:["**/e2e/**/*.test.{js,ts}"],rules:{"@typescript-eslint/no-empty-function":"off","@typescript-eslint/no-non-null-assertion":"off","@typescript-eslint/no-object-literal-type-assertion":"off"}}]},i=s;
6
7
 
7
8
  module.exports = i;
8
9
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/playwright.ts"],"names":["hasDependency","hasDevDependency","config","playwright_default"],"mappings":"AAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAI5C,CAAC,OAAO,wCACJD,EAAc,MAAM,GACjBC,EAAiB,MAAM,GACvBA,EAAiB,oBAAoB,GACrCA,EAAiB,oBAAoB,GACrCA,EAAiB,aAAa,GAC9BA,EAAiB,aAAa,KAErC,OAAO,sCAAwC,IAInD,IAAMC,EAAwB,CAC1B,IAAK,CACD,QAAS,GACT,IAAK,GACL,KAAM,EACV,EACA,UAAW,CACP,CAEI,MAAO,CAAC,0BAA0B,EAClC,QAAS,CAAC,OAAO,sCAAwC,oCAAsC,+BAA+B,EAC9H,MAAO,CACH,2CAA4C,MAC5C,sDAAuD,MACvD,uCAAwC,KAC5C,CACJ,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nif (\n !global.hasAnolilabEsLintConfigPlaywrightJest\n && (hasDependency(\"jest\")\n || hasDevDependency(\"jest\")\n || hasDevDependency(\"eslint-plugin-jest\")\n || hasDevDependency(\"eslint-plugin-jest\")\n || hasDevDependency(\"@types/jest\")\n || hasDevDependency(\"@types/jest\"))\n) {\n global.hasAnolilabEsLintConfigPlaywrightJest = true;\n}\n\n// @see https://github.com/playwright-community/eslint-plugin-playwright\nconst config: Linter.Config = {\n env: {\n browser: true,\n es6: true,\n node: true,\n },\n overrides: [\n {\n // To ensure best performance enable only on e2e test files\n files: [\"**/e2e/**/*.test.{js,ts}\"],\n extends: [global.hasAnolilabEsLintConfigPlaywrightJest ? \"plugin:playwright/jest-playwright\" : \"plugin:playwright/recommended\"],\n rules: {\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 },\n },\n ],\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/playwright.ts"],"names":["hasDependency","hasDevDependency","config","playwright_default"],"mappings":"gCAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAI5C,CAAC,OAAO,wCACPD,EAAc,MAAM,GACjBC,EAAiB,MAAM,GACvBA,EAAiB,oBAAoB,GACrCA,EAAiB,oBAAoB,GACrCA,EAAiB,aAAa,GAC9BA,EAAiB,aAAa,KAElC,OAAO,sCAAwC,IAInD,IAAMC,EAAwB,CAC1B,IAAK,CACD,QAAS,GACT,IAAK,GACL,KAAM,EACV,EACA,UAAW,CACP,CACI,QAAS,CAAC,OAAO,sCAAwC,oCAAsC,+BAA+B,EAE9H,MAAO,CAAC,0BAA0B,EAClC,MAAO,CACH,uCAAwC,MACxC,2CAA4C,MAC5C,sDAAuD,KAC3D,CACJ,CACJ,CACJ,EAEOC,EAAQD","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nif (\n !global.hasAnolilabEsLintConfigPlaywrightJest &&\n (hasDependency(\"jest\") ||\n hasDevDependency(\"jest\") ||\n hasDevDependency(\"eslint-plugin-jest\") ||\n hasDevDependency(\"eslint-plugin-jest\") ||\n hasDevDependency(\"@types/jest\") ||\n hasDevDependency(\"@types/jest\"))\n) {\n global.hasAnolilabEsLintConfigPlaywrightJest = true;\n}\n\n// @see https://github.com/playwright-community/eslint-plugin-playwright\nconst config: Linter.Config = {\n env: {\n browser: true,\n es6: true,\n node: true,\n },\n overrides: [\n {\n extends: [global.hasAnolilabEsLintConfigPlaywrightJest ? \"plugin:playwright/jest-playwright\" : \"plugin:playwright/recommended\"],\n // To ensure best performance enable only on e2e test files\n files: [\"**/e2e/**/*.test.{js,ts}\"],\n rules: {\n \"@typescript-eslint/no-empty-function\": \"off\",\n \"@typescript-eslint/no-non-null-assertion\": \"off\",\n \"@typescript-eslint/no-object-literal-type-assertion\": \"off\",\n },\n },\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:promise/recommended"],plugins:["promise"],rules:{"promise/prefer-await-to-callbacks":"off","promise/prefer-await-to-then":"off"}},o=e;
4
6
 
5
7
  module.exports = o;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/promise.ts"],"names":["config","promise_default"],"mappings":"AAGA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,4BAA4B,EACtC,QAAS,CAAC,SAAS,EACnB,MAAO,CACH,oCAAqC,MACrC,+BAAgC,KACpC,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/xjamundx/eslint-plugin-promise#readme\nconst config: Linter.Config = {\n extends: [\"plugin:promise/recommended\"],\n plugins: [\"promise\"],\n rules: {\n \"promise/prefer-await-to-callbacks\": \"off\",\n \"promise/prefer-await-to-then\": \"off\",\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/promise.ts"],"names":["config","promise_default"],"mappings":"gCAGA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,4BAA4B,EACtC,QAAS,CAAC,SAAS,EACnB,MAAO,CACH,oCAAqC,MACrC,+BAAgC,KACpC,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/xjamundx/eslint-plugin-promise#readme\nconst config: Linter.Config = {\n extends: [\"plugin:promise/recommended\"],\n plugins: [\"promise\"],\n rules: {\n \"promise/prefer-await-to-callbacks\": \"off\",\n \"promise/prefer-await-to-then\": \"off\",\n },\n};\n\nexport default config;\n"]}
@@ -1,7 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var e={plugins:["react-hooks"],parserOptions:{ecmaFeatures:{jsx:!0}},rules:{"react-hooks/rules-of-hooks":"error","react-hooks/exhaustive-deps":"error"}},r=e;
3
+ var chunkH7VQP3ZD_js = require('../../chunk-H7VQP3ZD.js');
4
+ require('../../chunk-3NVDJZNH.js');
4
5
 
5
- module.exports = r;
6
+ var r=chunkH7VQP3ZD_js.a("jsx_and_tsx",{parserOptions:{ecmaFeatures:{jsx:!0}},plugins:["react-hooks"],rules:{"react-hooks/exhaustive-deps":"error","react-hooks/rules-of-hooks":"error"}}),t=r;
7
+
8
+ module.exports = t;
6
9
  //# sourceMappingURL=out.js.map
7
10
  //# sourceMappingURL=react-hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/react-hooks.ts"],"names":["config","react_hooks_default"],"mappings":"AAGA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,aAAa,EAEvB,cAAe,CACX,aAAc,CACV,IAAK,EACT,CACJ,EAEA,MAAO,CAGH,6BAA8B,QAI9B,8BAA+B,OACnC,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/yannickcr/eslint-plugin-react\nconst config: Linter.Config = {\n plugins: [\"react-hooks\"],\n\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n\n rules: {\n // Enforce Rules of Hooks\n // https://github.com/facebook/react/blob/c11015ff4f610ac2924d1fc6d569a17657a404fd/packages/eslint-plugin-react-hooks/src/RulesOfHooks.js\n \"react-hooks/rules-of-hooks\": \"error\",\n\n // Verify the list of the dependencies for Hooks like useEffect and similar\n // https://github.com/facebook/react/blob/1204c789776cb01fbaf3e9f032e7e2ba85a44137/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js\n \"react-hooks/exhaustive-deps\": \"error\",\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/react-hooks.ts"],"names":["config","createConfig","react_hooks_default"],"mappings":"4EAKA,IAAMA,EAAwBC,EAAa,cAAe,CACtD,cAAe,CACX,aAAc,CACV,IAAK,EACT,CACJ,EACA,QAAS,CAAC,aAAa,EACvB,MAAO,CAGH,8BAA+B,QAI/B,6BAA8B,OAClC,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\n// @see https://github.com/yannickcr/eslint-plugin-react\nconst config: Linter.Config = createConfig(\"jsx_and_tsx\", {\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n plugins: [\"react-hooks\"],\n rules: {\n // Enforce Rules of Hooks\n // https://github.com/facebook/react/blob/1204c789776cb01fbaf3e9f032e7e2ba85a44137/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js\n \"react-hooks/exhaustive-deps\": \"error\",\n\n // Verify the list of the dependencies for Hooks like useEffect and similar\n // https://github.com/facebook/react/blob/c11015ff4f610ac2924d1fc6d569a17657a404fd/packages/eslint-plugin-react-hooks/src/RulesOfHooks.js\n \"react-hooks/rules-of-hooks\": \"error\",\n },\n});\n\nexport default config;\n"]}
@@ -1,7 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var e={extends:["plugin:react-redux/recommended"],plugins:["react-redux"],rules:{"react-redux/prefer-separate-component-file":"off","react-redux/mapStateToProps-prefer-selectors":"off"}},r=e;
3
+ var chunkH7VQP3ZD_js = require('../../chunk-H7VQP3ZD.js');
4
+ require('../../chunk-3NVDJZNH.js');
4
5
 
5
- module.exports = r;
6
+ var r=chunkH7VQP3ZD_js.a("jsx_and_tsx",{extends:["plugin:react-redux/recommended"],plugins:["react-redux"],rules:{"react-redux/mapStateToProps-prefer-selectors":"off","react-redux/prefer-separate-component-file":"off"}}),o=r;
7
+
8
+ module.exports = o;
6
9
  //# sourceMappingURL=out.js.map
7
10
  //# sourceMappingURL=react-redux.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/react-redux.ts"],"names":["config","react_redux_default"],"mappings":"AAGA,IAAMA,EAAwB,CAC1B,QAAS,CAAC,gCAAgC,EAC1C,QAAS,CAAC,aAAa,EACvB,MAAO,CACH,6CAA8C,MAC9C,+CAAgD,KACpD,CACJ,EAEOC,EAAQD","sourcesContent":["import type { Linter } from \"eslint\";\n\n// @see https://github.com/DianaSuvorova/eslint-plugin-react-redux#readme\nconst config: Linter.Config = {\n extends: [\"plugin:react-redux/recommended\"],\n plugins: [\"react-redux\"],\n rules: {\n \"react-redux/prefer-separate-component-file\": \"off\",\n \"react-redux/mapStateToProps-prefer-selectors\": \"off\",\n },\n};\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/react-redux.ts"],"names":["config","createConfig","react_redux_default"],"mappings":"4EAKA,IAAMA,EAAwBC,EAAa,cAAe,CACtD,QAAS,CAAC,gCAAgC,EAC1C,QAAS,CAAC,aAAa,EACvB,MAAO,CACH,+CAAgD,MAChD,6CAA8C,KAClD,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\n// @see https://github.com/DianaSuvorova/eslint-plugin-react-redux#readme\nconst config: Linter.Config = createConfig(\"jsx_and_tsx\", {\n extends: [\"plugin:react-redux/recommended\"],\n plugins: [\"react-redux\"],\n rules: {\n \"react-redux/mapStateToProps-prefer-selectors\": \"off\",\n \"react-redux/prefer-separate-component-file\": \"off\",\n },\n});\n\nexport default config;\n"]}
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var chunkH7VQP3ZD_js = require('../../chunk-H7VQP3ZD.js');
4
+ require('../../chunk-3NVDJZNH.js');
5
+
6
+ var r=chunkH7VQP3ZD_js.a("jsx_and_tsx",{parserOptions:{ecmaFeatures:{jsx:!0}},plugins:["@arthurgeron/react-usememo"],rules:{"@arthurgeron/react-usememo/require-usememo":"error"}}),o=r;
7
+
8
+ module.exports = o;
9
+ //# sourceMappingURL=out.js.map
10
+ //# sourceMappingURL=react-usememo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/config/plugins/react-usememo.ts"],"names":["config","createConfig","react_usememo_default"],"mappings":"4EAKA,IAAMA,EAAwBC,EAAa,cAAe,CACtD,cAAe,CACX,aAAc,CACV,IAAK,EACT,CACJ,EACA,QAAS,CAAC,4BAA4B,EACtC,MAAO,CACH,6CAA8C,OAClD,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\n// @see https://www.npmjs.com/package/@arthurgeron/eslint-plugin-react-usememo\nconst config: Linter.Config = createConfig(\"jsx_and_tsx\", {\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n plugins: [\"@arthurgeron/react-usememo\"],\n rules: {\n \"@arthurgeron/react-usememo/require-usememo\": \"error\",\n },\n});\n\nexport default config;\n"]}