@moso/eslint-config 3.1.0 → 3.3.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 +17 -16
- package/dist/index.d.mts +505 -462
- package/dist/index.mjs +324 -273
- package/package.json +35 -35
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.3.0",
|
|
5
5
|
"description": "@moso's sharable ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Morten Sørensen",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "bun run typegen && tsdown --clean --dts",
|
|
49
|
-
"build:inspector": "bun run build && bunx @eslint/config-inspector build --config eslint-inspector.config.ts --out-dir ./.eslint-config-inspector",
|
|
49
|
+
"build:inspector": "bun run build && bunx @eslint/config-inspector build --stats --config eslint-inspector.config.ts --out-dir ./.eslint-config-inspector",
|
|
50
50
|
"dev": "bunx @eslint/config-inspector --config eslint-inspector.config.ts",
|
|
51
51
|
"lint": "eslint",
|
|
52
52
|
"prepack": "bun run build",
|
|
53
53
|
"prepare": "bun run simple-git-hooks",
|
|
54
54
|
"release": "bumpp --recursive && bun publish",
|
|
55
55
|
"test": "vitest run",
|
|
56
|
-
"test:update-snapshots": "
|
|
56
|
+
"test:update-snapshots": "bun run test --update",
|
|
57
57
|
"typecheck": "tsc --noEmit",
|
|
58
58
|
"typegen": "tsx scripts/typegen.ts",
|
|
59
59
|
"watch": "tsdown --watch"
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"src/rules"
|
|
63
63
|
],
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
66
|
-
"@next/eslint-plugin-next": "^16.3.
|
|
65
|
+
"@eslint-react/eslint-plugin": "^5.19.0",
|
|
66
|
+
"@next/eslint-plugin-next": "^16.3.5",
|
|
67
67
|
"astro-eslint-parser": "^3.1.0",
|
|
68
68
|
"eslint": "^10.0.0",
|
|
69
69
|
"eslint-plugin-astro": "^3.1.0",
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
"eslint-plugin-erasable-syntax-only": "^0.7.1",
|
|
72
72
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
73
73
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
74
|
-
"eslint-plugin-react-refresh": "^0.5.
|
|
74
|
+
"eslint-plugin-react-refresh": "^0.5.6",
|
|
75
75
|
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.2",
|
|
76
|
-
"eslint-plugin-vue": "^10.
|
|
76
|
+
"eslint-plugin-vue": "^10.11.0",
|
|
77
77
|
"eslint-plugin-vuejs-accessibility": "^2.6.0",
|
|
78
|
-
"typescript": "^6.0.0"
|
|
78
|
+
"typescript": "^6.0.0 || ^7.0.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependenciesMeta": {
|
|
81
81
|
"@eslint-react/eslint-plugin": {
|
|
@@ -120,35 +120,35 @@
|
|
|
120
120
|
},
|
|
121
121
|
"dependencies": {
|
|
122
122
|
"@antfu/install-pkg": "^2.0.1",
|
|
123
|
-
"@clack/prompts": "^1.
|
|
123
|
+
"@clack/prompts": "^1.8.0",
|
|
124
124
|
"@e18e/eslint-plugin": "^0.8.0",
|
|
125
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.
|
|
125
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
|
|
126
126
|
"@eslint/js": "^10.0.1",
|
|
127
127
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
128
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
129
|
-
"@typescript-eslint/parser": "^8.
|
|
130
|
-
"@typescript-eslint/utils": "^8.
|
|
128
|
+
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
129
|
+
"@typescript-eslint/parser": "^8.70.0",
|
|
130
|
+
"@typescript-eslint/utils": "^8.70.0",
|
|
131
131
|
"@vitest/eslint-plugin": "^1.6.27",
|
|
132
|
-
"eslint-config-flat-gitignore": "^2.
|
|
132
|
+
"eslint-config-flat-gitignore": "^2.4.0",
|
|
133
133
|
"eslint-flat-config-utils": "^3.2.0",
|
|
134
134
|
"eslint-merge-processors": "^2.0.0",
|
|
135
135
|
"eslint-plugin-baseline-js": "^0.7.1",
|
|
136
136
|
"eslint-plugin-de-morgan": "^2.1.3",
|
|
137
137
|
"eslint-plugin-functional": "^10.0.0",
|
|
138
138
|
"eslint-plugin-import-lite": "^0.6.0",
|
|
139
|
-
"eslint-plugin-jsdoc": "^64.
|
|
139
|
+
"eslint-plugin-jsdoc": "^64.3.10",
|
|
140
140
|
"eslint-plugin-jsonc": "^3.4.2",
|
|
141
141
|
"eslint-plugin-n": "^18.3.0",
|
|
142
142
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
143
|
-
"eslint-plugin-perfectionist": "^5.
|
|
143
|
+
"eslint-plugin-perfectionist": "^5.11.0",
|
|
144
144
|
"eslint-plugin-promise": "^7.3.0",
|
|
145
|
-
"eslint-plugin-regexp": "^3.
|
|
145
|
+
"eslint-plugin-regexp": "^3.3.0",
|
|
146
146
|
"eslint-plugin-toml": "^1.5.0",
|
|
147
|
-
"eslint-plugin-unicorn": "^
|
|
147
|
+
"eslint-plugin-unicorn": "^74.0.0",
|
|
148
148
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
149
149
|
"eslint-plugin-yml": "^3.8.1",
|
|
150
150
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
151
|
-
"globals": "^17.
|
|
151
|
+
"globals": "^17.12.0",
|
|
152
152
|
"jsonc-eslint-parser": "^3.3.0",
|
|
153
153
|
"local-pkg": "^1.2.1",
|
|
154
154
|
"toml-eslint-parser": "^1.0.3",
|
|
@@ -156,37 +156,37 @@
|
|
|
156
156
|
"yaml-eslint-parser": "^2.1.0"
|
|
157
157
|
},
|
|
158
158
|
"devDependencies": {
|
|
159
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
160
|
-
"@eslint/compat": "^2.1.
|
|
161
|
-
"@eslint/config-inspector": "^3.
|
|
162
|
-
"@moso/eslint-plugin": "3.0
|
|
163
|
-
"@next/eslint-plugin-next": "^16.3.
|
|
159
|
+
"@eslint-react/eslint-plugin": "^5.19.0",
|
|
160
|
+
"@eslint/compat": "^2.1.1",
|
|
161
|
+
"@eslint/config-inspector": "^3.4.1",
|
|
162
|
+
"@moso/eslint-plugin": "3.2.0",
|
|
163
|
+
"@next/eslint-plugin-next": "^16.3.5",
|
|
164
164
|
"@socketsecurity/bun-security-scanner": "^1.1.2",
|
|
165
165
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
166
|
-
"@types/node": "^26.
|
|
167
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
168
|
-
"@vitest/coverage-v8": "^
|
|
166
|
+
"@types/node": "^26.5.1",
|
|
167
|
+
"@typescript-eslint/rule-tester": "^8.70.0",
|
|
168
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
169
169
|
"astro-eslint-parser": "^3.1.0",
|
|
170
|
-
"bumpp": "^12.
|
|
171
|
-
"eslint": "^10.
|
|
170
|
+
"bumpp": "^12.3.0",
|
|
171
|
+
"eslint": "^10.10.0",
|
|
172
172
|
"eslint-plugin-astro": "^3.1.0",
|
|
173
173
|
"eslint-plugin-better-tailwindcss": "^4.7.0",
|
|
174
174
|
"eslint-plugin-erasable-syntax-only": "^0.7.1",
|
|
175
175
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
176
176
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
177
|
-
"eslint-plugin-react-refresh": "^0.5.
|
|
177
|
+
"eslint-plugin-react-refresh": "^0.5.6",
|
|
178
178
|
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.2",
|
|
179
|
-
"eslint-plugin-vue": "^10.
|
|
179
|
+
"eslint-plugin-vue": "^10.11.0",
|
|
180
180
|
"eslint-plugin-vuejs-accessibility": "^2.6.0",
|
|
181
181
|
"eslint-typegen": "^2.3.1",
|
|
182
182
|
"jiti": "^2.7.0",
|
|
183
183
|
"nano-staged": "^1.0.2",
|
|
184
|
-
"simple-git-hooks": "^2.
|
|
184
|
+
"simple-git-hooks": "^2.14.0",
|
|
185
185
|
"ts-dedent": "^2.3.0",
|
|
186
|
-
"tsdown": "^0.
|
|
187
|
-
"tsx": "^4.23.
|
|
186
|
+
"tsdown": "^0.23.0",
|
|
187
|
+
"tsx": "^4.23.13",
|
|
188
188
|
"typescript": "^6.0.3",
|
|
189
|
-
"vitest": "^
|
|
189
|
+
"vitest": "^5.0.0"
|
|
190
190
|
},
|
|
191
191
|
"simple-git-hooks": {
|
|
192
192
|
"pre-commit": "bunx nano-staged"
|