@moso/eslint-config 3.6.1 → 3.7.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.
- package/README.md +67 -33
- package/dist/index.d.mts +3161 -810
- package/dist/index.mjs +435 -531
- package/package.json +52 -49
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moso/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.7.0",
|
|
5
5
|
"description": "@moso's sharable ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Morten Sørensen",
|
|
@@ -58,11 +58,14 @@
|
|
|
58
58
|
"build:inspector": "bun run build && bunx @eslint/config-inspector build --stats --config eslint-inspector.config.ts --out-dir ./.eslint-config-inspector",
|
|
59
59
|
"dev": "bunx @eslint/config-inspector --config eslint-inspector.config.ts",
|
|
60
60
|
"lint": "eslint",
|
|
61
|
-
"
|
|
61
|
+
"lint:cc": "eslint --cache --concurrency=auto",
|
|
62
|
+
"lint:fix": "eslint --fix",
|
|
62
63
|
"prepack": "bun run build",
|
|
63
|
-
"prepare": "bun run simple-git-hooks",
|
|
64
|
+
"prepare": "bun scripts/bun-version.ts && bun run simple-git-hooks",
|
|
64
65
|
"release": "bumpp --recursive && bun publish",
|
|
65
66
|
"test": "vitest run",
|
|
67
|
+
"test:changed": "bun run test --changed",
|
|
68
|
+
"test:coverage": "bun run test --coverage",
|
|
66
69
|
"test:update-snapshots": "bun run test --update",
|
|
67
70
|
"typecheck": "tsc --noEmit",
|
|
68
71
|
"typegen": "tsx scripts/typegen.ts",
|
|
@@ -72,21 +75,21 @@
|
|
|
72
75
|
"src/rules"
|
|
73
76
|
],
|
|
74
77
|
"peerDependencies": {
|
|
75
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
78
|
+
"@eslint-react/eslint-plugin": "^5.30.0",
|
|
76
79
|
"@next/eslint-plugin-next": "^16.4.0",
|
|
77
80
|
"astro-eslint-parser": "^3.2.0",
|
|
78
81
|
"eslint": "^10.10.0",
|
|
79
|
-
"eslint-plugin-astro": "^3.2.
|
|
80
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
81
|
-
"eslint-plugin-erasable-syntax-only": "^0.7.
|
|
82
|
+
"eslint-plugin-astro": "^3.2.3",
|
|
83
|
+
"eslint-plugin-better-tailwindcss": "^4.11.0",
|
|
84
|
+
"eslint-plugin-erasable-syntax-only": "^0.7.3",
|
|
82
85
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
83
86
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
84
87
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
85
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "^1.
|
|
86
|
-
"eslint-plugin-svelte": "^3.
|
|
87
|
-
"eslint-plugin-vue": "^10.
|
|
88
|
+
"eslint-plugin-react-you-might-not-need-an-effect": "^1.3.4",
|
|
89
|
+
"eslint-plugin-svelte": "^3.24.0",
|
|
90
|
+
"eslint-plugin-vue": "^10.13.0",
|
|
88
91
|
"eslint-plugin-vuejs-accessibility": "^2.6.0",
|
|
89
|
-
"svelte-eslint-parser": "^1.
|
|
92
|
+
"svelte-eslint-parser": "^1.13.0",
|
|
90
93
|
"typescript": "^6.0.0 || ^7.0.0"
|
|
91
94
|
},
|
|
92
95
|
"peerDependenciesMeta": {
|
|
@@ -138,78 +141,78 @@
|
|
|
138
141
|
},
|
|
139
142
|
"dependencies": {
|
|
140
143
|
"@antfu/install-pkg": "^2.1.0",
|
|
141
|
-
"@clack/prompts": "^1.
|
|
144
|
+
"@clack/prompts": "^1.9.0",
|
|
142
145
|
"@e18e/eslint-plugin": "^0.8.1",
|
|
143
146
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
|
|
144
147
|
"@eslint/js": "^10.0.1",
|
|
145
|
-
"@stylistic/eslint-plugin": "^
|
|
146
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
147
|
-
"@typescript-eslint/parser": "^8.
|
|
148
|
-
"@typescript-eslint/utils": "^8.
|
|
148
|
+
"@stylistic/eslint-plugin": "^6.0.1",
|
|
149
|
+
"@typescript-eslint/eslint-plugin": "^8.74.0",
|
|
150
|
+
"@typescript-eslint/parser": "^8.74.0",
|
|
151
|
+
"@typescript-eslint/utils": "^8.74.0",
|
|
149
152
|
"@vitest/eslint-plugin": "^1.6.28",
|
|
150
153
|
"eslint-config-flat-gitignore": "^2.4.0",
|
|
151
154
|
"eslint-flat-config-utils": "^3.2.0",
|
|
152
155
|
"eslint-merge-processors": "^2.0.0",
|
|
153
|
-
"eslint-plugin-baseline-js": "^0.7.
|
|
156
|
+
"eslint-plugin-baseline-js": "^0.7.7",
|
|
154
157
|
"eslint-plugin-de-morgan": "^2.3.0",
|
|
155
158
|
"eslint-plugin-functional": "^10.0.1",
|
|
156
159
|
"eslint-plugin-import-lite": "^0.6.0",
|
|
157
|
-
"eslint-plugin-jsdoc": "^65.
|
|
160
|
+
"eslint-plugin-jsdoc": "^65.6.3",
|
|
158
161
|
"eslint-plugin-jsonc": "^3.4.2",
|
|
159
|
-
"eslint-plugin-n": "^18.
|
|
162
|
+
"eslint-plugin-n": "^18.6.0",
|
|
160
163
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
161
|
-
"eslint-plugin-perfectionist": "^5.
|
|
164
|
+
"eslint-plugin-perfectionist": "^5.14.0",
|
|
162
165
|
"eslint-plugin-promise": "^7.3.0",
|
|
163
|
-
"eslint-plugin-regexp": "^3.3.
|
|
164
|
-
"eslint-plugin-security": "^4.2.
|
|
165
|
-
"eslint-plugin-toml": "^1.5.
|
|
166
|
-
"eslint-plugin-unicorn": "^
|
|
166
|
+
"eslint-plugin-regexp": "^3.3.3",
|
|
167
|
+
"eslint-plugin-security": "^4.2.1",
|
|
168
|
+
"eslint-plugin-toml": "^1.5.1",
|
|
169
|
+
"eslint-plugin-unicorn": "^80.0.0",
|
|
167
170
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
168
|
-
"eslint-plugin-yml": "^3.
|
|
171
|
+
"eslint-plugin-yml": "^3.10.1",
|
|
169
172
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
170
|
-
"globals": "^17.
|
|
171
|
-
"jsonc-eslint-parser": "^3.3.
|
|
172
|
-
"local-pkg": "^
|
|
173
|
+
"globals": "^17.15.0",
|
|
174
|
+
"jsonc-eslint-parser": "^3.3.2",
|
|
175
|
+
"local-pkg": "^2.0.0",
|
|
173
176
|
"toml-eslint-parser": "^1.0.3",
|
|
174
|
-
"vue-eslint-parser": "^10.
|
|
177
|
+
"vue-eslint-parser": "^10.5.1",
|
|
175
178
|
"yaml-eslint-parser": "^2.1.0"
|
|
176
179
|
},
|
|
177
180
|
"devDependencies": {
|
|
178
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
181
|
+
"@eslint-react/eslint-plugin": "^5.30.7",
|
|
179
182
|
"@eslint/compat": "^2.1.1",
|
|
180
183
|
"@eslint/config-inspector": "^3.5.0",
|
|
181
|
-
"@moso/eslint-plugin": "3.
|
|
182
|
-
"@next/eslint-plugin-next": "^16.4.
|
|
184
|
+
"@moso/eslint-plugin": "3.7.0",
|
|
185
|
+
"@next/eslint-plugin-next": "^16.4.6",
|
|
183
186
|
"@socketsecurity/bun-security-scanner": "^1.1.3",
|
|
184
187
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
185
|
-
"@types/bun": "^1.4.
|
|
186
|
-
"@types/node": "^26.6.
|
|
187
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
188
|
-
"@vitest/coverage-v8": "^5.
|
|
188
|
+
"@types/bun": "^1.4.5",
|
|
189
|
+
"@types/node": "^26.6.11",
|
|
190
|
+
"@typescript-eslint/rule-tester": "^8.74.0",
|
|
191
|
+
"@vitest/coverage-v8": "^5.1.2",
|
|
189
192
|
"astro-eslint-parser": "^3.2.0",
|
|
190
193
|
"bumpp": "^12.3.0",
|
|
191
|
-
"eslint": "^10.
|
|
192
|
-
"eslint-plugin-astro": "^3.2.
|
|
193
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
194
|
-
"eslint-plugin-erasable-syntax-only": "^0.7.
|
|
194
|
+
"eslint": "^10.16.0",
|
|
195
|
+
"eslint-plugin-astro": "^3.2.3",
|
|
196
|
+
"eslint-plugin-better-tailwindcss": "^4.11.0",
|
|
197
|
+
"eslint-plugin-erasable-syntax-only": "^0.7.3",
|
|
195
198
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
196
199
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
197
|
-
"eslint-plugin-react-refresh": "^0.5.
|
|
198
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "^1.
|
|
199
|
-
"eslint-plugin-svelte": "^3.
|
|
200
|
-
"eslint-plugin-vue": "^10.
|
|
200
|
+
"eslint-plugin-react-refresh": "^0.5.8",
|
|
201
|
+
"eslint-plugin-react-you-might-not-need-an-effect": "^1.3.4",
|
|
202
|
+
"eslint-plugin-svelte": "^3.24.1",
|
|
203
|
+
"eslint-plugin-vue": "^10.13.0",
|
|
201
204
|
"eslint-plugin-vuejs-accessibility": "^2.6.3",
|
|
202
|
-
"eslint-typegen": "^2.3.
|
|
205
|
+
"eslint-typegen": "^2.3.2",
|
|
203
206
|
"jiti": "^2.7.0",
|
|
204
207
|
"nano-staged": "^1.0.2",
|
|
205
208
|
"simple-git-hooks": "^2.14.0",
|
|
206
|
-
"svelte": "^5.
|
|
207
|
-
"svelte-eslint-parser": "^1.
|
|
209
|
+
"svelte": "^5.59.2",
|
|
210
|
+
"svelte-eslint-parser": "^1.13.0",
|
|
208
211
|
"ts-dedent": "^2.3.0",
|
|
209
|
-
"tsdown": "^0.23.
|
|
212
|
+
"tsdown": "^0.23.8",
|
|
210
213
|
"tsx": "^4.23.15",
|
|
211
214
|
"typescript": "^6.0.3",
|
|
212
|
-
"vitest": "^5.
|
|
215
|
+
"vitest": "^5.1.2"
|
|
213
216
|
},
|
|
214
217
|
"simple-git-hooks": {
|
|
215
218
|
"pre-commit": "bunx nano-staged"
|