@anolilab/eslint-config 15.0.3 → 16.0.1

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 (224) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +386 -466
  3. package/dist/index.cjs +20 -0
  4. package/dist/index.d.cts +16370 -0
  5. package/dist/index.d.mts +16370 -0
  6. package/dist/index.d.ts +16367 -2
  7. package/dist/index.mjs +20 -0
  8. package/package.json +95 -271
  9. package/bin/generate-eslint-cofig.js +0 -3
  10. package/dist/chunk-5RAVHY5O.js +0 -8
  11. package/dist/chunk-5RAVHY5O.js.map +0 -1
  12. package/dist/chunk-A6LXZAWN.js +0 -9
  13. package/dist/chunk-A6LXZAWN.js.map +0 -1
  14. package/dist/chunk-MKL3NIXX.js +0 -9
  15. package/dist/chunk-MKL3NIXX.js.map +0 -1
  16. package/dist/chunk-R26SPKXH.js +0 -9
  17. package/dist/chunk-R26SPKXH.js.map +0 -1
  18. package/dist/chunk-RG6NJDJA.js +0 -9
  19. package/dist/chunk-RG6NJDJA.js.map +0 -1
  20. package/dist/chunk-SEYYGHPU.js +0 -8
  21. package/dist/chunk-SEYYGHPU.js.map +0 -1
  22. package/dist/chunk-SLM5UENV.js +0 -14
  23. package/dist/chunk-SLM5UENV.js.map +0 -1
  24. package/dist/chunk-UGG52B5H.js +0 -11
  25. package/dist/chunk-UGG52B5H.js.map +0 -1
  26. package/dist/chunk-WG6GTAIA.js +0 -8
  27. package/dist/chunk-WG6GTAIA.js.map +0 -1
  28. package/dist/chunk-WW4PDMXQ.js +0 -9
  29. package/dist/chunk-WW4PDMXQ.js.map +0 -1
  30. package/dist/config/best-practices.d.ts +0 -5
  31. package/dist/config/best-practices.js +0 -11
  32. package/dist/config/best-practices.js.map +0 -1
  33. package/dist/config/errors.d.ts +0 -5
  34. package/dist/config/errors.js +0 -11
  35. package/dist/config/errors.js.map +0 -1
  36. package/dist/config/es6.d.ts +0 -5
  37. package/dist/config/es6.js +0 -11
  38. package/dist/config/es6.js.map +0 -1
  39. package/dist/config/plugins/antfu.d.ts +0 -5
  40. package/dist/config/plugins/antfu.js +0 -11
  41. package/dist/config/plugins/antfu.js.map +0 -1
  42. package/dist/config/plugins/array-func.d.ts +0 -5
  43. package/dist/config/plugins/array-func.js +0 -10
  44. package/dist/config/plugins/array-func.js.map +0 -1
  45. package/dist/config/plugins/ava.d.ts +0 -5
  46. package/dist/config/plugins/ava.js +0 -9
  47. package/dist/config/plugins/ava.js.map +0 -1
  48. package/dist/config/plugins/babel.d.ts +0 -5
  49. package/dist/config/plugins/babel.js +0 -16
  50. package/dist/config/plugins/babel.js.map +0 -1
  51. package/dist/config/plugins/compat.d.ts +0 -5
  52. package/dist/config/plugins/compat.js +0 -9
  53. package/dist/config/plugins/compat.js.map +0 -1
  54. package/dist/config/plugins/cypress.d.ts +0 -5
  55. package/dist/config/plugins/cypress.js +0 -9
  56. package/dist/config/plugins/cypress.js.map +0 -1
  57. package/dist/config/plugins/deprecation.d.ts +0 -5
  58. package/dist/config/plugins/deprecation.js +0 -10
  59. package/dist/config/plugins/deprecation.js.map +0 -1
  60. package/dist/config/plugins/editorconfig.d.ts +0 -5
  61. package/dist/config/plugins/editorconfig.js +0 -10
  62. package/dist/config/plugins/editorconfig.js.map +0 -1
  63. package/dist/config/plugins/es.d.ts +0 -5
  64. package/dist/config/plugins/es.js +0 -10
  65. package/dist/config/plugins/es.js.map +0 -1
  66. package/dist/config/plugins/eslint-comments.d.ts +0 -5
  67. package/dist/config/plugins/eslint-comments.js +0 -10
  68. package/dist/config/plugins/eslint-comments.js.map +0 -1
  69. package/dist/config/plugins/etc.d.ts +0 -5
  70. package/dist/config/plugins/etc.js +0 -18
  71. package/dist/config/plugins/etc.js.map +0 -1
  72. package/dist/config/plugins/html.d.ts +0 -5
  73. package/dist/config/plugins/html.js +0 -12
  74. package/dist/config/plugins/html.js.map +0 -1
  75. package/dist/config/plugins/import.d.ts +0 -5
  76. package/dist/config/plugins/import.js +0 -12
  77. package/dist/config/plugins/import.js.map +0 -1
  78. package/dist/config/plugins/jest-async.d.ts +0 -5
  79. package/dist/config/plugins/jest-async.js +0 -9
  80. package/dist/config/plugins/jest-async.js.map +0 -1
  81. package/dist/config/plugins/jest-dom.d.ts +0 -5
  82. package/dist/config/plugins/jest-dom.js +0 -9
  83. package/dist/config/plugins/jest-dom.js.map +0 -1
  84. package/dist/config/plugins/jest-formatting.d.ts +0 -5
  85. package/dist/config/plugins/jest-formatting.js +0 -9
  86. package/dist/config/plugins/jest-formatting.js.map +0 -1
  87. package/dist/config/plugins/jest.d.ts +0 -5
  88. package/dist/config/plugins/jest.js +0 -14
  89. package/dist/config/plugins/jest.js.map +0 -1
  90. package/dist/config/plugins/jsdoc.d.ts +0 -5
  91. package/dist/config/plugins/jsdoc.js +0 -12
  92. package/dist/config/plugins/jsdoc.js.map +0 -1
  93. package/dist/config/plugins/jsonc.d.ts +0 -5
  94. package/dist/config/plugins/jsonc.js +0 -17
  95. package/dist/config/plugins/jsonc.js.map +0 -1
  96. package/dist/config/plugins/jsx-a11y.d.ts +0 -5
  97. package/dist/config/plugins/jsx-a11y.js +0 -10
  98. package/dist/config/plugins/jsx-a11y.js.map +0 -1
  99. package/dist/config/plugins/markdown.d.ts +0 -5
  100. package/dist/config/plugins/markdown.js +0 -10
  101. package/dist/config/plugins/markdown.js.map +0 -1
  102. package/dist/config/plugins/mdx.d.ts +0 -5
  103. package/dist/config/plugins/mdx.js +0 -10
  104. package/dist/config/plugins/mdx.js.map +0 -1
  105. package/dist/config/plugins/no-extend-native.d.ts +0 -5
  106. package/dist/config/plugins/no-extend-native.js +0 -9
  107. package/dist/config/plugins/no-extend-native.js.map +0 -1
  108. package/dist/config/plugins/no-loops.d.ts +0 -5
  109. package/dist/config/plugins/no-loops.js +0 -9
  110. package/dist/config/plugins/no-loops.js.map +0 -1
  111. package/dist/config/plugins/no-only-tests.d.ts +0 -5
  112. package/dist/config/plugins/no-only-tests.js +0 -10
  113. package/dist/config/plugins/no-only-tests.js.map +0 -1
  114. package/dist/config/plugins/no-secrets.d.ts +0 -5
  115. package/dist/config/plugins/no-secrets.js +0 -9
  116. package/dist/config/plugins/no-secrets.js.map +0 -1
  117. package/dist/config/plugins/no-unsanitized.d.ts +0 -5
  118. package/dist/config/plugins/no-unsanitized.js +0 -9
  119. package/dist/config/plugins/no-unsanitized.js.map +0 -1
  120. package/dist/config/plugins/node.d.ts +0 -5
  121. package/dist/config/plugins/node.js +0 -10
  122. package/dist/config/plugins/node.js.map +0 -1
  123. package/dist/config/plugins/perfectionist.d.ts +0 -5
  124. package/dist/config/plugins/perfectionist.js +0 -14
  125. package/dist/config/plugins/perfectionist.js.map +0 -1
  126. package/dist/config/plugins/playwright.d.ts +0 -5
  127. package/dist/config/plugins/playwright.js +0 -10
  128. package/dist/config/plugins/playwright.js.map +0 -1
  129. package/dist/config/plugins/promise.d.ts +0 -5
  130. package/dist/config/plugins/promise.js +0 -9
  131. package/dist/config/plugins/promise.js.map +0 -1
  132. package/dist/config/plugins/react-hooks.d.ts +0 -5
  133. package/dist/config/plugins/react-hooks.js +0 -10
  134. package/dist/config/plugins/react-hooks.js.map +0 -1
  135. package/dist/config/plugins/react-redux.d.ts +0 -5
  136. package/dist/config/plugins/react-redux.js +0 -10
  137. package/dist/config/plugins/react-redux.js.map +0 -1
  138. package/dist/config/plugins/react-usememo.d.ts +0 -5
  139. package/dist/config/plugins/react-usememo.js +0 -10
  140. package/dist/config/plugins/react-usememo.js.map +0 -1
  141. package/dist/config/plugins/react.d.ts +0 -5
  142. package/dist/config/plugins/react.js +0 -29
  143. package/dist/config/plugins/react.js.map +0 -1
  144. package/dist/config/plugins/regexp.d.ts +0 -5
  145. package/dist/config/plugins/regexp.js +0 -10
  146. package/dist/config/plugins/regexp.js.map +0 -1
  147. package/dist/config/plugins/security.d.ts +0 -5
  148. package/dist/config/plugins/security.js +0 -9
  149. package/dist/config/plugins/security.js.map +0 -1
  150. package/dist/config/plugins/simple-import-sort.d.ts +0 -5
  151. package/dist/config/plugins/simple-import-sort.js +0 -10
  152. package/dist/config/plugins/simple-import-sort.js.map +0 -1
  153. package/dist/config/plugins/sonarjs.d.ts +0 -5
  154. package/dist/config/plugins/sonarjs.js +0 -10
  155. package/dist/config/plugins/sonarjs.js.map +0 -1
  156. package/dist/config/plugins/ssr-friendly.d.ts +0 -5
  157. package/dist/config/plugins/ssr-friendly.js +0 -10
  158. package/dist/config/plugins/ssr-friendly.js.map +0 -1
  159. package/dist/config/plugins/storybook.d.ts +0 -5
  160. package/dist/config/plugins/storybook.js +0 -9
  161. package/dist/config/plugins/storybook.js.map +0 -1
  162. package/dist/config/plugins/tailwindcss.d.ts +0 -5
  163. package/dist/config/plugins/tailwindcss.js +0 -10
  164. package/dist/config/plugins/tailwindcss.js.map +0 -1
  165. package/dist/config/plugins/tanstack-query.d.ts +0 -5
  166. package/dist/config/plugins/tanstack-query.js +0 -10
  167. package/dist/config/plugins/tanstack-query.js.map +0 -1
  168. package/dist/config/plugins/testing-library-dom.d.ts +0 -5
  169. package/dist/config/plugins/testing-library-dom.js +0 -12
  170. package/dist/config/plugins/testing-library-dom.js.map +0 -1
  171. package/dist/config/plugins/testing-library-react.d.ts +0 -5
  172. package/dist/config/plugins/testing-library-react.js +0 -12
  173. package/dist/config/plugins/testing-library-react.js.map +0 -1
  174. package/dist/config/plugins/toml.d.ts +0 -5
  175. package/dist/config/plugins/toml.js +0 -9
  176. package/dist/config/plugins/toml.js.map +0 -1
  177. package/dist/config/plugins/tsdoc.d.ts +0 -5
  178. package/dist/config/plugins/tsdoc.js +0 -10
  179. package/dist/config/plugins/tsdoc.js.map +0 -1
  180. package/dist/config/plugins/typescript.d.ts +0 -5
  181. package/dist/config/plugins/typescript.js +0 -19
  182. package/dist/config/plugins/typescript.js.map +0 -1
  183. package/dist/config/plugins/unicorn.d.ts +0 -5
  184. package/dist/config/plugins/unicorn.js +0 -12
  185. package/dist/config/plugins/unicorn.js.map +0 -1
  186. package/dist/config/plugins/validate-jsx-nesting.d.ts +0 -5
  187. package/dist/config/plugins/validate-jsx-nesting.js +0 -10
  188. package/dist/config/plugins/validate-jsx-nesting.js.map +0 -1
  189. package/dist/config/plugins/vitest.d.ts +0 -5
  190. package/dist/config/plugins/vitest.js +0 -10
  191. package/dist/config/plugins/vitest.js.map +0 -1
  192. package/dist/config/plugins/yml.d.ts +0 -5
  193. package/dist/config/plugins/yml.js +0 -12
  194. package/dist/config/plugins/yml.js.map +0 -1
  195. package/dist/config/plugins/you-dont-need-lodash-underscore.d.ts +0 -5
  196. package/dist/config/plugins/you-dont-need-lodash-underscore.js +0 -10
  197. package/dist/config/plugins/you-dont-need-lodash-underscore.js.map +0 -1
  198. package/dist/config/plugins/you-dont-need-momentjs.d.ts +0 -5
  199. package/dist/config/plugins/you-dont-need-momentjs.js +0 -10
  200. package/dist/config/plugins/you-dont-need-momentjs.js.map +0 -1
  201. package/dist/config/plugins/zod.d.ts +0 -5
  202. package/dist/config/plugins/zod.js +0 -10
  203. package/dist/config/plugins/zod.js.map +0 -1
  204. package/dist/config/style.d.ts +0 -5
  205. package/dist/config/style.js +0 -13
  206. package/dist/config/style.js.map +0 -1
  207. package/dist/config/variables.d.ts +0 -5
  208. package/dist/config/variables.js +0 -11
  209. package/dist/config/variables.js.map +0 -1
  210. package/dist/define-config.d.ts +0 -1
  211. package/dist/define-config.js +0 -17
  212. package/dist/define-config.js.map +0 -1
  213. package/dist/globals.d.ts +0 -8
  214. package/dist/globals.js +0 -17
  215. package/dist/globals.js.map +0 -1
  216. package/dist/index.js +0 -26
  217. package/dist/index.js.map +0 -1
  218. package/dist/postinstall.d.ts +0 -1
  219. package/dist/postinstall.js +0 -79
  220. package/dist/postinstall.js.map +0 -1
  221. package/dist/typescript-type-checking.d.ts +0 -5
  222. package/dist/typescript-type-checking.js +0 -13
  223. package/dist/typescript-type-checking.js.map +0 -1
  224. package/skip.js +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/eslint-config",
3
- "version": "15.0.3",
3
+ "version": "16.0.1",
4
4
  "description": "ESLint shareable config for the Anolilab JavaScript style guide.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -22,46 +22,34 @@
22
22
  "eslint-plugin-antfu",
23
23
  "eslint-plugin-compat",
24
24
  "eslint-plugin-es",
25
+ "eslint-plugin-es-x",
25
26
  "eslint-plugin-eslint-comments",
26
27
  "eslint-plugin-html",
27
28
  "eslint-plugin-i",
29
+ "@tanstack/eslint-plugin-router",
28
30
  "eslint-plugin-jsonc",
29
- "eslint-plugin-markdown",
30
- "eslint-plugin-mdx",
31
- "eslint-plugin-no-loops",
31
+ "eslint-markdown",
32
32
  "eslint-plugin-no-secrets",
33
33
  "eslint-plugin-no-use-extend-native",
34
34
  "eslint-plugin-promise",
35
35
  "eslint-plugin-regexp",
36
- "eslint-plugin-simple-import-sort",
37
36
  "eslint-plugin-sonarjs",
38
37
  "eslint-plugin-toml",
39
38
  "eslint-plugin-unicorn",
40
39
  "eslint-plugin-yml",
41
- "eslint-plugin-array-func",
42
- "eslint-plugin-ava",
43
- "eslint-plugin-babel",
44
- "eslint-plugin-cypress",
45
- "eslint-plugin-jest",
46
- "eslint-plugin-jest-async",
47
- "eslint-plugin-jest-dom",
48
- "eslint-plugin-jest-formatting",
49
40
  "eslint-plugin-playwright",
50
41
  "eslint-plugin-jsdoc",
51
42
  "eslint-plugin-jsx-a11y",
52
43
  "eslint-plugin-n",
53
44
  "eslint-plugin-no-unsanitized",
54
- "eslint-plugin-prefer-object-spread",
55
45
  "eslint-plugin-react",
56
46
  "eslint-plugin-react-hooks",
57
- "eslint-plugin-react-redux",
58
47
  "eslint-plugin-storybook",
59
48
  "eslint-plugin-tailwindcss",
60
49
  "eslint-plugin-testing-library",
61
50
  "eslint-plugin-tsdoc",
62
- "eslint-plugin-etc",
63
- "eslint-plugin-you-dont-need-lodash-underscore",
64
- "eslint-plugin-you-dont-need-momentjs"
51
+ "eslint-plugin-no-for-of-array",
52
+ "eslint-plugin-you-dont-need-lodash-underscore"
65
53
  ],
66
54
  "homepage": "https://anolilab.com/nodejs/packages/eslint-config",
67
55
  "repository": {
@@ -84,206 +72,121 @@
84
72
  "name": "Daniel Bannert",
85
73
  "email": "d.bannert@anolilab.de"
86
74
  },
87
- "type": "commonjs",
75
+ "sideEffects": false,
76
+ "type": "module",
88
77
  "exports": {
89
78
  ".": {
90
- "types": "./dist/index.d.ts",
91
- "require": "./dist/index.js"
92
- },
93
- "./typescript-type-checking": {
94
- "types": "./dist/typescript-type-checking.d.ts",
95
- "require": "./dist/typescript-type-checking.js"
96
- },
97
- "./globals": {
98
- "types": "./dist/globals.d.ts",
99
- "require": "./dist/globals.js"
100
- },
101
- "./define-config": {
102
- "types": "./dist/define-config.d.ts",
103
- "require": "./dist/define-config.js"
79
+ "import": {
80
+ "types": "./dist/index.d.tjs",
81
+ "default": "./dist/index.mjs"
82
+ },
83
+ "require": {
84
+ "types": "./dist/index.d.cts",
85
+ "default": "./dist/index.cjs"
86
+ }
104
87
  },
105
88
  "./package.json": "./package.json"
106
89
  },
107
- "main": "dist/index.js",
90
+ "main": "dist/index.cjs",
91
+ "module": "dist/index.mjs",
108
92
  "types": "dist/index.d.ts",
109
- "bin": {
110
- "anolilab-eslint-config": "./bin/generate-eslint-cofig.js"
93
+ "typesVersions": {
94
+ ">=5.0": {
95
+ ".": [
96
+ "./dist/index.d.ts"
97
+ ]
98
+ }
111
99
  },
112
100
  "files": [
113
- "bin/generate-eslint-cofig.js",
114
- "dist",
115
- "skip.js",
116
- "globals.js",
117
- "typescript-type-checking.js",
118
- "README.md",
119
101
  "CHANGELOG.md",
120
- "LICENSE.md"
102
+ "LICENSE.md",
103
+ "README.md",
104
+ "dist"
121
105
  ],
122
- "scripts": {
123
- "build": "cross-env NODE_ENV=development tsup",
124
- "build:prod": "cross-env NODE_ENV=production tsup",
125
- "clean": "rimraf node_modules dist",
126
- "postinstall": "node ./skip.js || node ./dist/postinstall.js",
127
- "test": "vitest --config ./vitest.config.ts",
128
- "test:coverage": "vitest --config ./vitest.config.ts --run --coverage"
129
- },
130
106
  "dependencies": {
131
- "@anolilab/package-json-utils": "3.0.9",
132
- "@babel/eslint-parser": "^7.22.15",
133
- "@babel/plugin-syntax-import-assertions": "^7.22.5",
134
- "@eslint/js": "^8.52.0",
135
- "@html-eslint/eslint-plugin": "^0.20.0",
136
- "@html-eslint/parser": "^0.20.0",
137
- "@jsenv/eslint-import-resolver": ">=8.0.4",
138
- "@rushstack/eslint-patch": "^1.5.1",
139
- "@rushstack/eslint-plugin-security": "^0.7.1",
140
- "@typescript-eslint/eslint-plugin": ">=6.9.1",
141
- "@typescript-eslint/parser": "^6.9.1",
107
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
108
+ "@eslint/compat": "^1.2.9",
109
+ "@eslint/js": "^9.27.0",
110
+ "@eslint/markdown": "^6.4.0",
111
+ "@html-eslint/eslint-plugin": "^0.41.0",
112
+ "@html-eslint/parser": "^0.41.0",
113
+ "@stylistic/eslint-plugin": "^4.4.0",
114
+ "@stylistic/eslint-plugin-ts": "^4.4.0",
115
+ "@typescript-eslint/eslint-plugin": "^8.32.1",
116
+ "@typescript-eslint/parser": "^8.32.1",
117
+ "@visulima/package": "^3.5.4",
118
+ "@visulima/tsconfig": "^1.1.16",
119
+ "@vitest/eslint-plugin": "^1.2.1",
142
120
  "confusing-browser-globals": "^1.0.11",
143
- "eslint-define-config": "^1.24.1",
121
+ "eslint-config-flat-gitignore": "^2.1.0",
122
+ "eslint-flat-config-utils": "^2.1.0",
144
123
  "eslint-import-resolver-node": "^0.3.9",
145
- "eslint-import-resolver-typescript": "^3.6.1",
146
- "eslint-plugin-antfu": "^1.0.1",
147
- "eslint-plugin-compat": "^4.2.0",
148
- "eslint-plugin-es-x": "^7.2.0",
149
- "eslint-plugin-eslint-comments": "^3.2.0",
150
- "eslint-plugin-html": "^7.1.0",
151
- "eslint-plugin-i": "^2.29.0",
152
- "eslint-plugin-jsonc": "^2.10.0",
153
- "eslint-plugin-markdown": "^3.0.1",
154
- "eslint-plugin-mdx": "^2.2.0",
155
- "eslint-plugin-n": "^16.2.0",
156
- "eslint-plugin-no-loops": "^0.3.0",
157
- "eslint-plugin-no-only-tests": "^3.1.0",
158
- "eslint-plugin-no-secrets": "^0.8.9",
159
- "eslint-plugin-no-use-extend-native": "^0.5.0",
160
- "eslint-plugin-perfectionist": "^2.2.0",
161
- "eslint-plugin-promise": "^6.1.1",
162
- "eslint-plugin-regexp": "^2.1.1",
163
- "eslint-plugin-security": "^1.7.1",
164
- "eslint-plugin-simple-import-sort": "^10.0.0",
165
- "eslint-plugin-sonarjs": "^0.22.0",
166
- "eslint-plugin-toml": "^0.6.0",
167
- "eslint-plugin-unicorn": "^49.0.0",
168
- "eslint-plugin-yml": "^1.10.0",
169
- "find-up": "5.0.0",
170
- "globals": "^13.23.0",
124
+ "eslint-import-resolver-typescript": "^4.4.1",
125
+ "eslint-merge-processors": "^2.0.0",
126
+ "eslint-plugin-antfu": "^3.1.1",
127
+ "eslint-plugin-compat": "^6.0.2",
128
+ "eslint-plugin-es-x": "^8.6.2",
129
+ "eslint-plugin-html": "^8.1.3",
130
+ "eslint-plugin-import-x": "^4.13.3",
131
+ "eslint-plugin-jsdoc": "^50.6.17",
132
+ "eslint-plugin-jsonc": "^2.20.1",
133
+ "eslint-plugin-n": "^17.18.0",
134
+ "eslint-plugin-no-for-of-array": "^0.1.0",
135
+ "eslint-plugin-no-only-tests": "^3.3.0",
136
+ "eslint-plugin-no-secrets": "^2.2.1",
137
+ "eslint-plugin-no-unsanitized": "^4.1.2",
138
+ "eslint-plugin-perfectionist": "^4.13.0",
139
+ "eslint-plugin-promise": "^7.2.1",
140
+ "eslint-plugin-regexp": "^2.7.0",
141
+ "eslint-plugin-security": "^3.0.1",
142
+ "eslint-plugin-simple-import-sort": "^12.1.1",
143
+ "eslint-plugin-sonarjs": "^3.0.2",
144
+ "eslint-plugin-toml": "^0.12.0",
145
+ "eslint-plugin-unicorn": "^59.0.1",
146
+ "eslint-plugin-unused-imports": "^4.1.4",
147
+ "eslint-plugin-yml": "^1.18.0",
148
+ "globals": "^16.2.0",
171
149
  "jsonc-eslint-parser": "^2.4.0",
172
- "read-pkg-up": "^7.0.1",
173
- "semver": "^7.5.4",
174
- "toml-eslint-parser": "^0.6.0",
175
- "yaml-eslint-parser": "^1.2.2"
176
- },
177
- "devDependencies": {
178
- "@anolilab/semantic-release-preset": "8.0.3",
179
- "@arthurgeron/eslint-plugin-react-usememo": "^2.2.1",
180
- "@testing-library/dom": "^9.3.3",
181
- "@total-typescript/ts-reset": "^0.5.1",
182
- "@types/confusing-browser-globals": "^1.0.3",
183
- "@types/eslint": "^8.56.0",
184
- "@types/semver": "^7.5.6",
185
- "eslint": "^8.56.0",
186
- "eslint-find-rules": "^4.1.0",
187
- "eslint-plugin-babel": "^5.3.1",
188
- "eslint-plugin-cypress": "^2.15.1",
189
- "eslint-plugin-deprecation": "^2.0.0",
190
- "eslint-plugin-editorconfig": "^4.0.3",
191
- "eslint-plugin-etc": "^2.0.3",
192
- "eslint-plugin-jest": "^27.6.0",
193
- "eslint-plugin-jest-async": "^1.0.3",
194
- "eslint-plugin-jest-dom": "^5.1.0",
195
- "eslint-plugin-jest-formatting": "^3.1.0",
196
- "eslint-plugin-jsdoc": "^46.9.1",
197
- "eslint-plugin-jsx-a11y": "^6.8.0",
198
- "eslint-plugin-no-unsanitized": "^4.0.2",
199
- "eslint-plugin-prefer-object-spread": "^1.2.1",
200
- "eslint-plugin-react": "^7.33.2",
201
- "eslint-plugin-react-hooks": "^4.6.0",
202
- "eslint-plugin-react-redux": "^4.1.0",
203
- "eslint-plugin-ssr-friendly": "^1.3.0",
204
- "eslint-plugin-storybook": "^0.6.15",
205
- "eslint-plugin-tailwindcss": "^3.13.0",
206
- "eslint-plugin-testing-library": "^6.2.0",
207
- "eslint-plugin-validate-jsx-nesting": "^0.1.1",
208
- "eslint-plugin-vitest": "^0.3.18",
209
- "eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
210
- "eslint-plugin-you-dont-need-momentjs": "^1.6.0",
211
- "eslint-plugin-zod": "^1.4.0",
212
- "jest": "^29.7.0",
213
- "react": "^18.2.0",
214
- "rimraf": "^5.0.5",
215
- "semantic-release": "^22.0.12",
216
- "tsup": "^8.0.1",
217
- "type-fest": "^4.8.3",
218
- "typescript": "^5.3.3",
219
- "vitest": "^1.1.0"
150
+ "parse-gitignore": "^2.0.0",
151
+ "semver": "^7.7.2",
152
+ "toml-eslint-parser": "^0.10.0",
153
+ "typescript-eslint": "^8.32.1",
154
+ "yaml-eslint-parser": "^1.3.0"
220
155
  },
221
156
  "peerDependencies": {
222
- "@arthurgeron/eslint-plugin-react-usememo": "^2.0.1",
223
157
  "@babel/core": "^7.22.20",
224
- "@tanstack/eslint-plugin-query": "^4.34.1 || ^5.0.0",
225
- "eslint": "^8.15.0",
226
- "eslint-plugin-array-func": "^4.0.0",
227
- "eslint-plugin-ava": "^14.0.0",
228
- "eslint-plugin-babel": "^5.3.1",
229
- "eslint-plugin-cypress": "^2.15.1",
230
- "eslint-plugin-editorconfig": "^4.0.3",
231
- "eslint-plugin-jest": "^27.4.0",
232
- "eslint-plugin-jest-async": "^1.0.3",
233
- "eslint-plugin-jest-dom": "^5.1.0",
234
- "eslint-plugin-jest-formatting": "^3.1.0",
235
- "eslint-plugin-jsdoc": "^46.8.2",
158
+ "@eslint-react/eslint-plugin": "^1.22.1",
159
+ "@tanstack/eslint-plugin-query": "^5.0.0",
160
+ "@tanstack/eslint-plugin-router": "^1.92.7",
161
+ "@unocss/eslint-plugin": "^66.1.2",
162
+ "astro-eslint-parser": "^1.1.0",
163
+ "eslint": ">=9.5.0",
164
+ "eslint-plugin-astro": "^1.3.1",
165
+ "eslint-plugin-format": ">=0.1.0",
236
166
  "eslint-plugin-jsx-a11y": "^6.7.1",
237
- "eslint-plugin-no-unsanitized": "^4.0.2",
238
167
  "eslint-plugin-playwright": "^0.16.0 || ^0.18.0",
239
- "eslint-plugin-prefer-object-spread": "^1.2.1",
240
- "eslint-plugin-react": "^7.33.2",
241
- "eslint-plugin-react-hooks": "^4.6.0",
242
- "eslint-plugin-react-redux": "^4.0.0",
243
- "eslint-plugin-ssr-friendly": "^1.2.0",
244
- "eslint-plugin-storybook": "^0.6.14",
245
- "eslint-plugin-tailwindcss": "^3.13.0",
246
- "eslint-plugin-testing-library": "^6.0.1",
247
- "eslint-plugin-tsdoc": "^0.2.17",
168
+ "eslint-plugin-react": "^7.37.5",
169
+ "eslint-plugin-react-hooks": "^5.2.0",
170
+ "eslint-plugin-react-refresh": "^0.4.20",
171
+ "eslint-plugin-storybook": "^0.12.0",
172
+ "eslint-plugin-tailwindcss": "^3.18.0",
173
+ "eslint-plugin-testing-library": "^7.2.2",
174
+ "eslint-plugin-tsdoc": "^0.4.0",
248
175
  "eslint-plugin-validate-jsx-nesting": "^0.1.1",
249
- "eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
250
- "eslint-plugin-you-dont-need-momentjs": "^1.6.0"
176
+ "eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
177
+ "eslint-plugin-zod": "^1.4.0"
251
178
  },
252
179
  "peerDependenciesMeta": {
253
- "@arthurgeron/eslint-plugin-react-usememo": {
180
+ "@eslint-react/eslint-plugin": {
254
181
  "optional": true
255
182
  },
256
183
  "@tanstack/eslint-plugin-query": {
257
184
  "optional": true
258
185
  },
259
- "eslint-plugin-array-func": {
260
- "optional": true
261
- },
262
- "eslint-plugin-ava": {
263
- "optional": true
264
- },
265
- "eslint-plugin-babel": {
266
- "optional": true
267
- },
268
- "eslint-plugin-cypress": {
269
- "optional": true
270
- },
271
- "eslint-plugin-editorconfig": {
186
+ "@tanstack/eslint-plugin-router": {
272
187
  "optional": true
273
188
  },
274
- "eslint-plugin-jest": {
275
- "optional": true
276
- },
277
- "eslint-plugin-jest-async": {
278
- "optional": true
279
- },
280
- "eslint-plugin-jest-dom": {
281
- "optional": true
282
- },
283
- "eslint-plugin-jest-formatting": {
284
- "optional": true
285
- },
286
- "eslint-plugin-jsdoc": {
189
+ "@unocss/eslint-plugin": {
287
190
  "optional": true
288
191
  },
289
192
  "eslint-plugin-jsx-a11y": {
@@ -292,27 +195,15 @@
292
195
  "eslint-plugin-n": {
293
196
  "optional": true
294
197
  },
295
- "eslint-plugin-no-unsanitized": {
296
- "optional": true
297
- },
298
198
  "eslint-plugin-playwright": {
299
199
  "optional": true
300
200
  },
301
- "eslint-plugin-prefer-object-spread": {
302
- "optional": true
303
- },
304
201
  "eslint-plugin-react": {
305
202
  "optional": true
306
203
  },
307
204
  "eslint-plugin-react-hooks": {
308
205
  "optional": true
309
206
  },
310
- "eslint-plugin-react-redux": {
311
- "optional": true
312
- },
313
- "eslint-plugin-ssr-friendly": {
314
- "optional": true
315
- },
316
207
  "eslint-plugin-storybook": {
317
208
  "optional": true
318
209
  },
@@ -331,7 +222,7 @@
331
222
  "eslint-plugin-you-dont-need-lodash-underscore": {
332
223
  "optional": true
333
224
  },
334
- "eslint-plugin-you-dont-need-momentjs": {
225
+ "eslint-plugin-zod": {
335
226
  "optional": true
336
227
  },
337
228
  "typescript": {
@@ -339,77 +230,10 @@
339
230
  }
340
231
  },
341
232
  "engines": {
342
- "node": ">=18.* <=21.*"
233
+ "node": ">=20.18.* <=24.*"
343
234
  },
344
235
  "publishConfig": {
345
236
  "access": "public",
346
237
  "provenance": true
347
- },
348
- "sources": [
349
- "src/config/best-practices.ts",
350
- "src/config/errors.ts",
351
- "src/config/es6.ts",
352
- "src/config/plugins/antfu.ts",
353
- "src/config/plugins/array-func.ts",
354
- "src/config/plugins/ava.ts",
355
- "src/config/plugins/babel.ts",
356
- "src/config/plugins/compat.ts",
357
- "src/config/plugins/cypress.ts",
358
- "src/config/plugins/deprecation.ts",
359
- "src/config/plugins/es.ts",
360
- "src/config/plugins/eslint-comments.ts",
361
- "src/config/plugins/etc.ts",
362
- "src/config/plugins/editorconfig.ts",
363
- "src/config/plugins/html.ts",
364
- "src/config/plugins/import.ts",
365
- "src/config/plugins/jest-async.ts",
366
- "src/config/plugins/jest-dom.ts",
367
- "src/config/plugins/jest-formatting.ts",
368
- "src/config/plugins/jest.ts",
369
- "src/config/plugins/jsdoc.ts",
370
- "src/config/plugins/jsonc.ts",
371
- "src/config/plugins/jsx-a11y.ts",
372
- "src/config/plugins/markdown.ts",
373
- "src/config/plugins/mdx.ts",
374
- "src/config/plugins/no-extend-native.ts",
375
- "src/config/plugins/no-loops.ts",
376
- "src/config/plugins/no-only-tests.ts",
377
- "src/config/plugins/no-secrets.ts",
378
- "src/config/plugins/no-unsanitized.ts",
379
- "src/config/plugins/node.ts",
380
- "src/config/plugins/perfectionist.ts",
381
- "src/config/plugins/playwright.ts",
382
- "src/config/plugins/promise.ts",
383
- "src/config/plugins/regexp.ts",
384
- "src/config/plugins/react.ts",
385
- "src/config/plugins/react-hooks.ts",
386
- "src/config/plugins/react-redux.ts",
387
- "src/config/plugins/react-usememo.ts",
388
- "src/config/plugins/security.ts",
389
- "src/config/plugins/simple-import-sort.ts",
390
- "src/config/plugins/sonarjs.ts",
391
- "src/config/plugins/ssr-friendly.ts",
392
- "src/config/plugins/storybook.ts",
393
- "src/config/plugins/tailwindcss.ts",
394
- "src/config/plugins/tanstack-query.ts",
395
- "src/config/plugins/testing-library-dom.ts",
396
- "src/config/plugins/testing-library-react.ts",
397
- "src/config/plugins/toml.ts",
398
- "src/config/plugins/tsdoc.ts",
399
- "src/config/plugins/typescript.ts",
400
- "src/config/plugins/unicorn.ts",
401
- "src/config/plugins/validate-jsx-nesting.ts",
402
- "src/config/plugins/vitest.ts",
403
- "src/config/plugins/yml.ts",
404
- "src/config/plugins/you-dont-need-lodash-underscore.ts",
405
- "src/config/plugins/you-dont-need-momentjs.ts",
406
- "src/config/plugins/zod.ts",
407
- "src/config/style.ts",
408
- "src/config/variables.ts",
409
- "src/globals.ts",
410
- "src/index.ts",
411
- "src/postinstall.ts",
412
- "src/typescript-type-checking.ts",
413
- "src/define-config.ts"
414
- ]
238
+ }
415
239
  }
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- require("../dist/postinstall");
@@ -1,8 +0,0 @@
1
- 'use strict';
2
-
3
- var c=(b,a)=>()=>(b&&(a=b(b=0)),a);var d=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports);
4
-
5
- exports.a = c;
6
- exports.b = d;
7
- //# sourceMappingURL=out.js.map
8
- //# sourceMappingURL=chunk-5RAVHY5O.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkWG6GTAIA_js = require('./chunk-WG6GTAIA.js');
4
-
5
- var r=chunkWG6GTAIA_js.b([{config:{rules:{"accessor-pairs":"off","array-callback-return":["error",{allowImplicit:!0}],"block-scoped-var":"error","class-methods-use-this":["error",{exceptMethods:[]}],complexity:["off",11],"consistent-return":"error",curly:["error","multi-line"],"default-case":["error",{commentPattern:"^no default$"}],"default-case-last":"error","default-param-last":"error","dot-location":["error","property"],"dot-notation":["error",{allowKeywords:!0}],eqeqeq:["error","always",{null:"ignore"}],"grouped-accessor-pairs":"error","guard-for-in":"error","max-classes-per-file":["error",1],"no-alert":"error","no-caller":"error","no-case-declarations":"error","no-constructor-return":"error","no-div-regex":"off","no-else-return":["error",{allowElseIf:!1}],"no-empty-function":["error",{allow:["arrowFunctions","functions","methods"]}],"no-empty-pattern":"error","no-empty-static-block":"error","no-eq-null":"off","no-eval":"error","no-extend-native":"error","no-extra-bind":"error","no-extra-label":"error","no-fallthrough":"error","no-floating-decimal":"error","no-global-assign":["error",{exceptions:[]}],"no-implicit-coercion":["off",{allow:[],boolean:!1,number:!0,string:!0}],"no-implicit-globals":"off","no-implied-eval":"error","no-invalid-this":"off","no-iterator":"error","no-labels":["error",{allowLoop:!1,allowSwitch:!1}],"no-lone-blocks":"error","no-loop-func":"error","no-magic-numbers":["off",{detectObjects:!1,enforceConst:!0,ignore:[],ignoreArrayIndexes:!0}],"no-multi-spaces":["error",{ignoreEOLComments:!1}],"no-multi-str":"error","no-native-reassign":"off","no-new":"error","no-new-func":"error","no-new-wrappers":"error","no-nonoctal-decimal-escape":"error","no-octal":"error","no-octal-escape":"error","no-param-reassign":["error",{ignorePropertyModificationsFor:["acc","accumulator","e","ctx","context","req","request","res","response","$scope","staticContext"],props:!0}],"no-proto":"error","no-redeclare":"error","no-restricted-properties":["error",{message:"arguments.callee is deprecated",object:"arguments",property:"callee"},{message:"Please use Number.isFinite instead",object:"global",property:"isFinite"},{message:"Please use Number.isFinite instead",object:"self",property:"isFinite"},{message:"Please use Number.isFinite instead",object:"window",property:"isFinite"},{message:"Please use Number.isNaN instead",object:"global",property:"isNaN"},{message:"Please use Number.isNaN instead",object:"self",property:"isNaN"},{message:"Please use Number.isNaN instead",object:"window",property:"isNaN"},{message:"Please use Object.defineProperty instead.",property:"__defineGetter__"},{message:"Please use Object.defineProperty instead.",property:"__defineSetter__"},{message:"Use the exponentiation operator (**) instead.",object:"Math",property:"pow"},{message:"Use `Number.isNaN` instead.",object:"globalThis",property:"isNaN"},{message:"Use `Number.isFinite` instead.",object:"globalThis",property:"isFinite"},{message:"Use `Number.parseFloat` instead.",object:"globalThis",property:"parseFloat"},{message:"Use `Number.parseInt` instead.",object:"globalThis",property:"parseInt"},{message:"Use `Number.parseFloat` instead.",object:"window",property:"parseFloat"},{message:"Use `Number.parseInt` instead.",object:"window",property:"parseInt"},{message:"Use `Object.getPrototypeOf` instead.",property:"__proto__"},{message:"Use `Object.getOwnPropertyDescriptor` instead.",property:"__lookupGetter__"},{message:"Use `Object.getOwnPropertyDescriptor` instead.",property:"__lookupSetter__"}],"no-return-assign":["error","always"],"no-return-await":"error","no-script-url":"error","no-self-assign":["error",{props:!0}],"no-self-compare":"error","no-sequences":"error","no-throw-literal":"error","no-unmodified-loop-condition":"off","no-unused-expressions":["error",{allowShortCircuit:!1,allowTaggedTemplates:!1,allowTernary:!1}],"no-unused-labels":"error","no-useless-call":"off","no-useless-catch":"error","no-useless-concat":"error","no-useless-escape":"error","no-useless-return":"error","no-void":"error","no-warning-comments":["off",{location:"start",terms:["todo","fixme","xxx","@todo"]}],"no-with":"error","prefer-named-capture-group":"off","prefer-promise-reject-errors":["error",{allowEmptyReject:!0}],"prefer-regex-literals":"off",radix:"error","require-await":"off","require-unicode-regexp":"off","vars-on-top":"error","wrap-iife":["error","outside",{functionPrototypeMethods:!1}],yoda:"error"}},type:"all"},{config:{rules:{"no-return-await":"off","no-unused-expressions":"off","no-throw-literal":"off",strict:"off","dot-notation":"off","no-empty-function":"off","no-implied-eval":"off","no-new-func":"off","no-loop-func":"off","no-magic-numbers":"off","no-redeclare":"off"}},type:"typescript"}]),t=r;
6
-
7
- exports.a = t;
8
- //# sourceMappingURL=out.js.map
9
- //# sourceMappingURL=chunk-A6LXZAWN.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/config/best-practices.ts"],"names":["config","createConfigs","best_practices_default"],"mappings":"wCAIA,IAAMA,EAAwBC,EAAc,CACxC,CACI,OAAQ,CACJ,MAAO,CAEH,iBAAkB,MAIlB,wBAAyB,CAAC,QAAS,CAAE,cAAe,EAAK,CAAC,EAG1D,mBAAoB,QAGpB,yBAA0B,CACtB,QACA,CACI,cAAe,CAAC,CACpB,CACJ,EAIA,WAAY,CAAC,MAAO,EAAE,EAGtB,oBAAqB,QAGrB,MAAO,CAAC,QAAS,YAAY,EAG7B,eAAgB,CAAC,QAAS,CAAE,eAAgB,cAAe,CAAC,EAI5D,oBAAqB,QAGrB,qBAAsB,QAItB,eAAgB,CAAC,QAAS,UAAU,EAIpC,eAAgB,CAAC,QAAS,CAAE,cAAe,EAAK,CAAC,EAIjD,OAAQ,CAAC,QAAS,SAAU,CAAE,KAAM,QAAS,CAAC,EAG9C,yBAA0B,QAI1B,eAAgB,QAGhB,uBAAwB,CAAC,QAAS,CAAC,EAGnC,WAAY,QAIZ,YAAa,QAIb,uBAAwB,QAIxB,wBAAyB,QAIzB,eAAgB,MAIhB,iBAAkB,CAAC,QAAS,CAAE,YAAa,EAAM,CAAC,EAIlD,oBAAqB,CACjB,QACA,CACI,MAAO,CAAC,iBAAkB,YAAa,SAAS,CACpD,CACJ,EAIA,mBAAoB,QAGpB,wBAAyB,QAGzB,aAAc,MAGd,UAAW,QAGX,mBAAoB,QAIpB,gBAAiB,QAGjB,iBAAkB,QAGlB,iBAAkB,QAIlB,sBAAuB,QAEvB,mBAAoB,CAAC,QAAS,CAAE,WAAY,CAAC,CAAE,CAAC,EAIhD,uBAAwB,CACpB,MACA,CACI,MAAO,CAAC,EACR,QAAS,GACT,OAAQ,GACR,OAAQ,EACZ,CACJ,EAIA,sBAAuB,MAGvB,kBAAmB,QAGnB,kBAAmB,MAGnB,cAAe,QAGf,YAAa,CAAC,QAAS,CAAE,UAAW,GAAO,YAAa,EAAM,CAAC,EAG/D,iBAAkB,QAGlB,eAAgB,QAIhB,mBAAoB,CAChB,MACA,CACI,cAAe,GACf,aAAc,GACd,OAAQ,CAAC,EACT,mBAAoB,EACxB,CACJ,EAGA,kBAAmB,CACf,QACA,CACI,kBAAmB,EACvB,CACJ,EAGA,eAAgB,QAGhB,qBAAsB,MAGtB,SAAU,QAGV,cAAe,QAIf,kBAAmB,QAGnB,6BAA8B,QAI9B,WAAY,QAKZ,kBAAmB,QAGnB,oBAAqB,CACjB,QACA,CACI,+BAAgC,CAC5B,MACA,cACA,IACA,MACA,UACA,MACA,UACA,MACA,WACA,SACA,eACJ,EACA,MAAO,EACX,CACJ,EAGA,WAAY,QAIZ,eAAgB,QAGhB,2BAA4B,CACxB,QACA,CACI,QAAS,iCACT,OAAQ,YACR,SAAU,QACd,EACA,CACI,QAAS,qCACT,OAAQ,SACR,SAAU,UACd,EACA,CACI,QAAS,qCACT,OAAQ,OACR,SAAU,UACd,EACA,CACI,QAAS,qCACT,OAAQ,SACR,SAAU,UACd,EACA,CACI,QAAS,kCACT,OAAQ,SAER,SAAU,OACd,EACA,CACI,QAAS,kCACT,OAAQ,OACR,SAAU,OACd,EACA,CACI,QAAS,kCACT,OAAQ,SACR,SAAU,OACd,EACA,CACI,QAAS,4CACT,SAAU,kBACd,EACA,CACI,QAAS,4CACT,SAAU,kBACd,EACA,CACI,QAAS,gDACT,OAAQ,OACR,SAAU,KACd,EACA,CACI,QAAS,8BACT,OAAQ,aACR,SAAU,OACd,EACA,CACI,QAAS,iCACT,OAAQ,aACR,SAAU,UACd,EACA,CACI,QAAS,mCACT,OAAQ,aACR,SAAU,YACd,EACA,CACI,QAAS,iCACT,OAAQ,aACR,SAAU,UACd,EACA,CACI,QAAS,mCACT,OAAQ,SACR,SAAU,YACd,EACA,CACI,QAAS,iCACT,OAAQ,SACR,SAAU,UACd,EACA,CACI,QAAS,uCACT,SAAU,WACd,EACA,CACI,QAAS,iDACT,SAAU,kBACd,EACA,CACI,QAAS,iDACT,SAAU,kBACd,CACJ,EAGA,mBAAoB,CAAC,QAAS,QAAQ,EAGtC,kBAAmB,QAInB,gBAAiB,QAGjB,iBAAkB,CACd,QACA,CACI,MAAO,EACX,CACJ,EAGA,kBAAmB,QAGnB,eAAgB,QAIhB,mBAAoB,QAGpB,+BAAgC,MAIhC,wBAAyB,CACrB,QACA,CACI,kBAAmB,GACnB,qBAAsB,GACtB,aAAc,EAClB,CACJ,EAGA,mBAAoB,QAIpB,kBAAmB,MAInB,mBAAoB,QAIpB,oBAAqB,QAIrB,oBAAqB,QAIrB,oBAAqB,QAGrB,UAAW,QAGX,sBAAuB,CACnB,MACA,CACI,SAAU,QACV,MAAO,CAAC,OAAQ,QAAS,MAAO,OAAO,CAC3C,CACJ,EAIA,UAAW,QAIX,6BAA8B,MAG9B,+BAAgC,CAAC,QAAS,CAAE,iBAAkB,EAAK,CAAC,EAIpE,wBAAyB,MAIzB,MAAO,QAIP,gBAAiB,MAIjB,yBAA0B,MAI1B,cAAe,QAGf,YAAa,CAAC,QAAS,UAAW,CAAE,yBAA0B,EAAM,CAAC,EAErE,KAAM,OACV,CACJ,EACA,KAAM,KACV,EAGA,CACI,OAAQ,CACJ,MAAO,CAGH,kBAAmB,MAInB,wBAAyB,MAIzB,mBAAoB,MAIpB,OAAQ,MAGR,eAAgB,MAIhB,oBAAqB,MAIrB,kBAAmB,MACnB,cAAe,MAIf,eAAgB,MAIhB,mBAAoB,MAIpB,eAAgB,KACpB,CACJ,EACA,KAAM,YACV,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfigs } from \"../utils/create-config\";\n\nconst config: Linter.Config = createConfigs([\n {\n config: {\n rules: {\n // enforces getter/setter pairs in objects\n \"accessor-pairs\": \"off\",\n\n // enforces return statements in callbacks of array's methods\n // https://eslint.org/docs/rules/array-callback-return\n \"array-callback-return\": [\"error\", { allowImplicit: true }],\n\n // treat var statements as if they were block scoped\n \"block-scoped-var\": \"error\",\n\n // https://eslint.org/docs/rules/class-methods-use-this\n \"class-methods-use-this\": [\n \"error\",\n {\n exceptMethods: [],\n },\n ],\n\n // enforce that class methods use \"this\"\n // specify the maximum cyclomatic complexity allowed in a program\n complexity: [\"off\", 11],\n\n // require return statements to either always or never specify values\n \"consistent-return\": \"error\",\n\n // specify curly brace conventions for all control statements\n curly: [\"error\", \"multi-line\"],\n\n // require default case in switch statements\n \"default-case\": [\"error\", { commentPattern: \"^no default$\" }],\n\n // Enforce default clauses in switch statements to be last\n // https://eslint.org/docs/rules/default-case-last\n \"default-case-last\": \"error\",\n\n // https://eslint.org/docs/rules/default-param-last\n \"default-param-last\": \"error\",\n\n // enforces consistent newlines before or after dots\n // https://eslint.org/docs/rules/dot-location\n \"dot-location\": [\"error\", \"property\"],\n\n // require the use of === and !==\n // encourages use of dot notation whenever possible\n \"dot-notation\": [\"error\", { allowKeywords: true }],\n\n // Require grouped accessor pairs in object literals and classes\n // https://eslint.org/docs/rules/eqeqeq\n eqeqeq: [\"error\", \"always\", { null: \"ignore\" }],\n\n // https://eslint.org/docs/rules/grouped-accessor-pairs\n \"grouped-accessor-pairs\": \"error\",\n\n // enforce a maximum number of classes per file\n // make sure for-in loops have an if statement\n \"guard-for-in\": \"error\",\n\n // https://eslint.org/docs/rules/max-classes-per-file\n \"max-classes-per-file\": [\"error\", 1],\n\n // disallow the use of alert, confirm, and prompt\n \"no-alert\": \"error\",\n\n // disallow lexical declarations in case/default clauses\n // disallow use of arguments.caller or arguments.callee\n \"no-caller\": \"error\",\n\n // Disallow returning value in constructor\n // https://eslint.org/docs/rules/no-case-declarations.html\n \"no-case-declarations\": \"error\",\n\n // disallow division operators explicitly at beginning of regular expression\n // https://eslint.org/docs/rules/no-constructor-return\n \"no-constructor-return\": \"error\",\n\n // disallow else after a return in an if\n // https://eslint.org/docs/rules/no-div-regex\n \"no-div-regex\": \"off\",\n\n // disallow empty functions, except for standalone funcs/arrows\n // https://eslint.org/docs/rules/no-else-return\n \"no-else-return\": [\"error\", { allowElseIf: false }],\n\n // disallow empty destructuring patterns\n // https://eslint.org/docs/rules/no-empty-function\n \"no-empty-function\": [\n \"error\",\n {\n allow: [\"arrowFunctions\", \"functions\", \"methods\"],\n },\n ],\n\n // Disallow empty static blocks\n // https://eslint.org/docs/rules/no-empty-pattern\n \"no-empty-pattern\": \"error\",\n\n // https://eslint.org/docs/latest/rules/no-empty-static-block\n \"no-empty-static-block\": \"error\",\n\n // disallow comparisons to null without a type-checking operator\n \"no-eq-null\": \"off\",\n\n // disallow use of eval()\n \"no-eval\": \"error\",\n\n // disallow adding to native types\n \"no-extend-native\": \"error\",\n\n // disallow Unnecessary Labels\n // disallow unnecessary function binding\n \"no-extra-bind\": \"error\",\n\n // https://eslint.org/docs/rules/no-extra-label\n \"no-extra-label\": \"error\",\n\n // disallow fallthrough of case statements\n \"no-fallthrough\": \"error\",\n\n // disallow reassignments of native objects or read-only globals\n // disallow the use of leading or trailing decimal points in numeric literals\n \"no-floating-decimal\": \"error\",\n // https://eslint.org/docs/rules/no-global-assign\n \"no-global-assign\": [\"error\", { exceptions: [] }],\n\n // disallow implicit type conversions\n // https://eslint.org/docs/rules/no-implicit-coercion\n \"no-implicit-coercion\": [\n \"off\",\n {\n allow: [],\n boolean: false,\n number: true,\n string: true,\n },\n ],\n\n // disallow var and named functions in global scope\n // https://eslint.org/docs/rules/no-implicit-globals\n \"no-implicit-globals\": \"off\",\n\n // disallow use of eval()-like methods\n \"no-implied-eval\": \"error\",\n\n // disallow this keywords outside of classes or class-like objects\n \"no-invalid-this\": \"off\",\n\n // disallow usage of __iterator__ property\n \"no-iterator\": \"error\",\n\n // disallow use of labels for anything other than loops and switches\n \"no-labels\": [\"error\", { allowLoop: false, allowSwitch: false }],\n\n // disallow unnecessary nested blocks\n \"no-lone-blocks\": \"error\",\n\n // disallow creation of functions within loops\n \"no-loop-func\": \"error\",\n\n // disallow magic numbers\n // https://eslint.org/docs/rules/no-magic-numbers\n \"no-magic-numbers\": [\n \"off\",\n {\n detectObjects: false,\n enforceConst: true,\n ignore: [],\n ignoreArrayIndexes: true,\n },\n ],\n\n // disallow use of multiple spaces\n \"no-multi-spaces\": [\n \"error\",\n {\n ignoreEOLComments: false,\n },\n ],\n\n // disallow use of multiline strings\n \"no-multi-str\": \"error\",\n\n // deprecated in favor of no-global-assign\n \"no-native-reassign\": \"off\",\n\n // disallow use of new operator when not part of the assignment or comparison\n \"no-new\": \"error\",\n\n // disallow use of new operator for Function object\n \"no-new-func\": \"error\",\n\n // Disallow \\8 and \\9 escape sequences in string literals\n // disallows creating new instances of String, Number, and Boolean\n \"no-new-wrappers\": \"error\",\n\n // https://eslint.org/docs/rules/no-nonoctal-decimal-escape\n \"no-nonoctal-decimal-escape\": \"error\",\n\n // disallow use of octal escape sequences in string literals, such as\n // disallow use of (old style) octal literals\n \"no-octal\": \"error\",\n\n // disallow reassignment of function parameters\n // disallow parameter object manipulation except for specific exclusions\n // var foo = 'Copyright \\251';\n \"no-octal-escape\": \"error\",\n\n // rule: https://eslint.org/docs/rules/no-param-reassign.html\n \"no-param-reassign\": [\n \"error\",\n {\n ignorePropertyModificationsFor: [\n \"acc\", // for reduce accumulators\n \"accumulator\", // for reduce accumulators\n \"e\", // for e.returnvalue\n \"ctx\", // for Koa routing\n \"context\", // for Koa routing\n \"req\", // for Express requests\n \"request\", // for Express requests\n \"res\", // for Express responses\n \"response\", // for Express responses\n \"$scope\", // for Angular 1 scopes\n \"staticContext\", // for ReactRouter context\n ],\n props: true,\n },\n ],\n\n // disallow usage of __proto__ property\n \"no-proto\": \"error\",\n\n // disallow certain object properties\n // disallow declaring the same variable more than once\n \"no-redeclare\": \"error\",\n\n // https://eslint.org/docs/rules/no-restricted-properties\n \"no-restricted-properties\": [\n \"error\",\n {\n message: \"arguments.callee is deprecated\",\n object: \"arguments\",\n property: \"callee\",\n },\n {\n message: \"Please use Number.isFinite instead\",\n object: \"global\",\n property: \"isFinite\",\n },\n {\n message: \"Please use Number.isFinite instead\",\n object: \"self\",\n property: \"isFinite\",\n },\n {\n message: \"Please use Number.isFinite instead\",\n object: \"window\",\n property: \"isFinite\",\n },\n {\n message: \"Please use Number.isNaN instead\",\n object: \"global\",\n\n property: \"isNaN\",\n },\n {\n message: \"Please use Number.isNaN instead\",\n object: \"self\",\n property: \"isNaN\",\n },\n {\n message: \"Please use Number.isNaN instead\",\n object: \"window\",\n property: \"isNaN\",\n },\n {\n message: \"Please use Object.defineProperty instead.\",\n property: \"__defineGetter__\",\n },\n {\n message: \"Please use Object.defineProperty instead.\",\n property: \"__defineSetter__\",\n },\n {\n message: \"Use the exponentiation operator (**) instead.\",\n object: \"Math\",\n property: \"pow\",\n },\n {\n message: \"Use `Number.isNaN` instead.\",\n object: \"globalThis\",\n property: \"isNaN\",\n },\n {\n message: \"Use `Number.isFinite` instead.\",\n object: \"globalThis\",\n property: \"isFinite\",\n },\n {\n message: \"Use `Number.parseFloat` instead.\",\n object: \"globalThis\",\n property: \"parseFloat\",\n },\n {\n message: \"Use `Number.parseInt` instead.\",\n object: \"globalThis\",\n property: \"parseInt\",\n },\n {\n message: \"Use `Number.parseFloat` instead.\",\n object: \"window\",\n property: \"parseFloat\",\n },\n {\n message: \"Use `Number.parseInt` instead.\",\n object: \"window\",\n property: \"parseInt\",\n },\n {\n message: \"Use `Object.getPrototypeOf` instead.\",\n property: \"__proto__\",\n },\n {\n message: \"Use `Object.getOwnPropertyDescriptor` instead.\",\n property: \"__lookupGetter__\",\n },\n {\n message: \"Use `Object.getOwnPropertyDescriptor` instead.\",\n property: \"__lookupSetter__\",\n },\n ],\n\n // disallow use of assignment in return statement\n \"no-return-assign\": [\"error\", \"always\"],\n\n // disallow redundant `return await`\n \"no-return-await\": \"error\",\n\n // disallow self assignment\n // disallow use of `javascript:` urls.\n \"no-script-url\": \"error\",\n\n // https://eslint.org/docs/rules/no-self-assign\n \"no-self-assign\": [\n \"error\",\n {\n props: true,\n },\n ],\n\n // disallow comparisons where both sides are exactly the same\n \"no-self-compare\": \"error\",\n\n // disallow use of comma operator\n \"no-sequences\": \"error\",\n\n // disallow unmodified conditions of loops\n // restrict what can be thrown as an exception\n \"no-throw-literal\": \"error\",\n\n // https://eslint.org/docs/rules/no-unmodified-loop-condition\n \"no-unmodified-loop-condition\": \"off\",\n\n // disallow unused labels\n // disallow usage of expressions in statement position\n \"no-unused-expressions\": [\n \"error\",\n {\n allowShortCircuit: false,\n allowTaggedTemplates: false,\n allowTernary: false,\n },\n ],\n\n // https://eslint.org/docs/rules/no-unused-labels\n \"no-unused-labels\": \"error\",\n\n // Disallow unnecessary catch clauses\n // disallow unnecessary .call() and .apply()\n \"no-useless-call\": \"off\",\n\n // disallow useless string concatenation\n // https://eslint.org/docs/rules/no-useless-catch\n \"no-useless-catch\": \"error\",\n\n // disallow unnecessary string escaping\n // https://eslint.org/docs/rules/no-useless-concat\n \"no-useless-concat\": \"error\",\n\n // disallow redundant return; keywords\n // https://eslint.org/docs/rules/no-useless-escape\n \"no-useless-escape\": \"error\",\n\n // disallow use of void operator\n // https://eslint.org/docs/rules/no-useless-return\n \"no-useless-return\": \"error\",\n\n // https://eslint.org/docs/rules/no-void\n \"no-void\": \"error\",\n\n // disallow usage of configurable warning terms in comments: e.g. todo\n \"no-warning-comments\": [\n \"off\",\n {\n location: \"start\",\n terms: [\"todo\", \"fixme\", \"xxx\", \"@todo\"],\n },\n ],\n\n // require using Error objects as Promise rejection reasons\n // disallow use of the with statement\n \"no-with\": \"error\",\n\n // Suggest using named capture group in regular expression\n // https://eslint.org/docs/rules/prefer-named-capture-group\n \"prefer-named-capture-group\": \"off\",\n\n // https://eslint.org/docs/rules/prefer-promise-reject-errors\n \"prefer-promise-reject-errors\": [\"error\", { allowEmptyReject: true }],\n\n // Disabled because of eslint-plugin-regexp\n // https://eslint.org/docs/rules/prefer-regex-literals\n \"prefer-regex-literals\": \"off\",\n\n // require `await` in `async function` (note: this is a horrible rule that should never be used)\n // require use of the second argument for parseInt()\n radix: \"error\",\n\n // Enforce the use of u flag on RegExp\n // https://eslint.org/docs/rules/require-await\n \"require-await\": \"off\",\n\n // Disabled because of eslint-plugin-regexp\n // https://eslint.org/docs/rules/require-unicode-regexp\n \"require-unicode-regexp\": \"off\",\n\n // require immediate function invocation to be wrapped in parentheses\n // requires to declare all vars on top of their containing scope\n \"vars-on-top\": \"error\",\n\n // https://eslint.org/docs/rules/wrap-iife.html\n \"wrap-iife\": [\"error\", \"outside\", { functionPrototypeMethods: false }],\n // require or disallow Yoda conditions\n yoda: \"error\",\n },\n },\n type: \"all\",\n },\n // The following rules are enabled in config, but are already checked (more thoroughly) by the TypeScript compiler\n // Some rules also fail in TypeScript files, for example: https://github.com/typescript-eslint/typescript-eslint/issues/662#issuecomment-507081586\n {\n config: {\n rules: {\n // Disallow non-null assertions using the ! postfix operator.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/return-await.md\n \"no-return-await\": \"off\",\n\n // Disallow calling a value with type any.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-expressions.md\n \"no-unused-expressions\": \"off\",\n\n // Disallow type assertions that do not change the type of expression.\n // Disable the \"no-throw-literal\" rule, as it can report incorrect errors on TypeScript code\n \"no-throw-literal\": \"off\",\n\n // Disallow empty exports that don't change anything in a module file.\n // Breaks @typescript-eslint/parser\n strict: \"off\",\n\n // Disable the \"dot-notation\" rule, as it can report incorrect errors on TypeScript code\n \"dot-notation\": \"off\",\n\n // Require explicit return and argument types on exported functions' and classes' public class methods.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-empty-function.md\n \"no-empty-function\": \"off\",\n\n // Disallow using to delete operator on computed key expressions.\n // Disable the \"no-implied-eval\" and \"no-new-func\" rule, as it can report incorrect errors on TypeScript code\n \"no-implied-eval\": \"off\",\n \"no-new-func\": \"off\",\n\n // Disallow extra non-null assertions.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-loop-func.md\n \"no-loop-func\": \"off\",\n\n // Disallow void type outside of generic or return types.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-magic-numbers.md\n \"no-magic-numbers\": \"off\",\n\n // Disallow non-null assertions after an optional chain expression.\n // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-redeclare.md\n \"no-redeclare\": \"off\",\n },\n },\n type: \"typescript\",\n },\n]);\n\nexport default config;\n"]}
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkWG6GTAIA_js = require('./chunk-WG6GTAIA.js');
4
-
5
- var r=chunkWG6GTAIA_js.b([{config:{env:{es6:!0},parserOptions:{ecmaFeatures:{generators:!1,objectLiteralDuplicateProperties:!1},ecmaVersion:6,sourceType:"module"},rules:{"arrow-body-style":["error","as-needed",{requireReturnForObjectLiteral:!0}],"arrow-parens":["error","always"],"arrow-spacing":["error",{after:!0,before:!0}],"constructor-super":"error","generator-star-spacing":["error",{after:!0,before:!1}],"no-class-assign":"error","no-confusing-arrow":["error",{allowParens:!0}],"no-const-assign":"error","no-dupe-class-members":"error","no-duplicate-imports":"off","no-new-symbol":"error","no-restricted-exports":["error",{restrictDefaultExports:{defaultFrom:!1,direct:!1,named:!0,namedFrom:!1,namespaceFrom:!0},restrictedNamedExports:["then"]}],"no-restricted-imports":["error",{paths:[{message:"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead",name:"lodash.isequal"},{message:"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead",name:"lodash.uniqueId"},{message:"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead",name:"lodash.mergewith"},{message:"Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead",name:"lodash.pick"},{name:"error"},{name:"domain"},{name:"freelist"},{name:"smalloc"},{name:"punycode"},{name:"sys"},{message:'Is legacy, npm version got deprecated, migrate to URLSearchParams as recommended or try "qs" as a package',name:"querystring"},{message:"Please use one of the following instead: chalk, kleur, ansi-colors, @colors/colors",name:"colors"},{message:"node v10.12 mkdir supports recursive option",name:"mkdirp"},{message:'Please use "@faker-js/faker" as a replacement',name:"faker"},{message:"Please use Object.assign or spread { ...obj }",name:"xtend"},{message:"Please use Object.assign or spread { ...obj }",name:"object-assign"},{message:"Please use Object.assign or spread { ...obj }",name:"extend-shallow"},{message:"node supports recursive option now",name:"rimraf"},{message:'just use "".padStart() and "".padEnd()',name:"pad-left"},{message:'just use "".padStart() and "".padEnd()',name:"pad-right"},{message:'just use "".padStart() and "".padEnd()',name:"left-pad"},{message:'just use "".padStart() and "".padEnd()',name:"right-pad"},{message:'just use "".padStart() and "".padEnd()',name:"pad"},{name:"safe-buffer"},{name:"safer-buffer"},{message:"just use [].flat() or some other polyfill",name:"array-flatten"},{message:"Been deprecated",name:"request"},{message:"use async/await instead",name:"co"},{message:"Please use TextDecoder instead",name:"windows-1252"},{message:"Please use TextDecoder instead",name:"string_decoder"},{message:"Please use array.prototype.flatMap instead",name:"concat-map"},{name:"buffer-alloc"}],patterns:["lodash.*"]}],"no-this-before-super":"error","no-useless-computed-key":"error","no-useless-constructor":"error","no-useless-rename":["error",{ignoreDestructuring:!1,ignoreExport:!1,ignoreImport:!1}],"no-var":"error","object-shorthand":["error","always",{avoidQuotes:!0,ignoreConstructors:!1}],"prefer-arrow-callback":["error",{allowNamedFunctions:!1,allowUnboundThis:!0}],"prefer-const":["error",{destructuring:"any",ignoreReadBeforeAssign:!0}],"prefer-destructuring":["error",{AssignmentExpression:{array:!0,object:!1},VariableDeclarator:{array:!1,object:!0}},{enforceForRenamedProperties:!1}],"prefer-numeric-literals":"error","prefer-reflect":"off","prefer-rest-params":"error","prefer-spread":"error","prefer-template":"error","require-yield":"error","rest-spread-spacing":["error","never"],"sort-imports":["off",{ignoreCase:!1,ignoreDeclarationSort:!1,ignoreMemberSort:!1,memberSyntaxSortOrder:["none","all","multiple","single"]}],"symbol-description":"error","template-curly-spacing":"error","yield-star-spacing":["error","after"]}},type:"all"},{config:{rules:{"constructor-super":"off","no-useless-constructor":"off","no-dupe-class-members":"off","no-const-assign":"off","no-new-symbol":"off","no-this-before-super":"off"}},type:"typescript"}]),a=r;
6
-
7
- exports.a = a;
8
- //# sourceMappingURL=out.js.map
9
- //# sourceMappingURL=chunk-MKL3NIXX.js.map