@moso/eslint-config 3.4.0 → 3.6.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 +86 -1
- package/dist/index.d.mts +1729 -544
- package/dist/index.mjs +492 -266
- package/package.json +41 -27
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.6.0",
|
|
5
5
|
"description": "@moso's sharable ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Morten Sørensen",
|
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
"perfectionist",
|
|
28
28
|
"stylistic",
|
|
29
29
|
"typescript",
|
|
30
|
+
"preact",
|
|
30
31
|
"react",
|
|
32
|
+
"svelte",
|
|
31
33
|
"vue"
|
|
32
34
|
],
|
|
33
35
|
"exports": {
|
|
@@ -62,19 +64,21 @@
|
|
|
62
64
|
"src/rules"
|
|
63
65
|
],
|
|
64
66
|
"peerDependencies": {
|
|
65
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
66
|
-
"@next/eslint-plugin-next": "^16.
|
|
67
|
+
"@eslint-react/eslint-plugin": "^5.28.0",
|
|
68
|
+
"@next/eslint-plugin-next": "^16.4.0",
|
|
67
69
|
"astro-eslint-parser": "^3.2.0",
|
|
68
|
-
"eslint": "^10.
|
|
70
|
+
"eslint": "^10.10.0",
|
|
69
71
|
"eslint-plugin-astro": "^3.2.1",
|
|
70
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
72
|
+
"eslint-plugin-better-tailwindcss": "^4.10.0",
|
|
71
73
|
"eslint-plugin-erasable-syntax-only": "^0.7.2",
|
|
72
74
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
73
75
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
74
76
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
75
77
|
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.2",
|
|
78
|
+
"eslint-plugin-svelte": "^3.23.0",
|
|
76
79
|
"eslint-plugin-vue": "^10.11.0",
|
|
77
80
|
"eslint-plugin-vuejs-accessibility": "^2.6.0",
|
|
81
|
+
"svelte-eslint-parser": "^1.9.0",
|
|
78
82
|
"typescript": "^6.0.0 || ^7.0.0"
|
|
79
83
|
},
|
|
80
84
|
"peerDependenciesMeta": {
|
|
@@ -108,12 +112,18 @@
|
|
|
108
112
|
"eslint-plugin-react-you-might-not-need-an-effect": {
|
|
109
113
|
"optional": true
|
|
110
114
|
},
|
|
115
|
+
"eslint-plugin-svelte": {
|
|
116
|
+
"optional": true
|
|
117
|
+
},
|
|
111
118
|
"eslint-plugin-vue": {
|
|
112
119
|
"optional": true
|
|
113
120
|
},
|
|
114
121
|
"eslint-plugin-vuejs-accessibility": {
|
|
115
122
|
"optional": true
|
|
116
123
|
},
|
|
124
|
+
"svelte-eslint-parser": {
|
|
125
|
+
"optional": true
|
|
126
|
+
},
|
|
117
127
|
"typescript": {
|
|
118
128
|
"optional": true
|
|
119
129
|
}
|
|
@@ -125,30 +135,31 @@
|
|
|
125
135
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
|
|
126
136
|
"@eslint/js": "^10.0.1",
|
|
127
137
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
128
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
129
|
-
"@typescript-eslint/parser": "^8.
|
|
130
|
-
"@typescript-eslint/utils": "^8.
|
|
138
|
+
"@typescript-eslint/eslint-plugin": "^8.72.0",
|
|
139
|
+
"@typescript-eslint/parser": "^8.72.0",
|
|
140
|
+
"@typescript-eslint/utils": "^8.72.0",
|
|
131
141
|
"@vitest/eslint-plugin": "^1.6.27",
|
|
132
142
|
"eslint-config-flat-gitignore": "^2.4.0",
|
|
133
143
|
"eslint-flat-config-utils": "^3.2.0",
|
|
134
144
|
"eslint-merge-processors": "^2.0.0",
|
|
135
|
-
"eslint-plugin-baseline-js": "^0.7.
|
|
136
|
-
"eslint-plugin-de-morgan": "^2.2.
|
|
145
|
+
"eslint-plugin-baseline-js": "^0.7.5",
|
|
146
|
+
"eslint-plugin-de-morgan": "^2.2.1",
|
|
137
147
|
"eslint-plugin-functional": "^10.0.1",
|
|
138
148
|
"eslint-plugin-import-lite": "^0.6.0",
|
|
139
|
-
"eslint-plugin-jsdoc": "^
|
|
149
|
+
"eslint-plugin-jsdoc": "^65.4.1",
|
|
140
150
|
"eslint-plugin-jsonc": "^3.4.2",
|
|
141
|
-
"eslint-plugin-n": "^18.
|
|
151
|
+
"eslint-plugin-n": "^18.5.0",
|
|
142
152
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
143
|
-
"eslint-plugin-perfectionist": "^5.
|
|
153
|
+
"eslint-plugin-perfectionist": "^5.13.0",
|
|
144
154
|
"eslint-plugin-promise": "^7.3.0",
|
|
145
155
|
"eslint-plugin-regexp": "^3.3.1",
|
|
156
|
+
"eslint-plugin-security": "^4.2.0",
|
|
146
157
|
"eslint-plugin-toml": "^1.5.0",
|
|
147
|
-
"eslint-plugin-unicorn": "^
|
|
158
|
+
"eslint-plugin-unicorn": "^78.0.0",
|
|
148
159
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
149
|
-
"eslint-plugin-yml": "^3.
|
|
160
|
+
"eslint-plugin-yml": "^3.9.0",
|
|
150
161
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
151
|
-
"globals": "^17.
|
|
162
|
+
"globals": "^17.13.0",
|
|
152
163
|
"jsonc-eslint-parser": "^3.3.0",
|
|
153
164
|
"local-pkg": "^1.2.1",
|
|
154
165
|
"toml-eslint-parser": "^1.0.3",
|
|
@@ -156,37 +167,40 @@
|
|
|
156
167
|
"yaml-eslint-parser": "^2.1.0"
|
|
157
168
|
},
|
|
158
169
|
"devDependencies": {
|
|
159
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
170
|
+
"@eslint-react/eslint-plugin": "^5.28.6",
|
|
160
171
|
"@eslint/compat": "^2.1.1",
|
|
161
172
|
"@eslint/config-inspector": "^3.5.0",
|
|
162
|
-
"@moso/eslint-plugin": "3.
|
|
163
|
-
"@next/eslint-plugin-next": "^16.
|
|
173
|
+
"@moso/eslint-plugin": "3.5.0",
|
|
174
|
+
"@next/eslint-plugin-next": "^16.4.2",
|
|
164
175
|
"@socketsecurity/bun-security-scanner": "^1.1.3",
|
|
165
176
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
166
|
-
"@types/node": "^26.6.
|
|
167
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
168
|
-
"@vitest/coverage-v8": "^5.0.
|
|
177
|
+
"@types/node": "^26.6.5",
|
|
178
|
+
"@typescript-eslint/rule-tester": "^8.72.0",
|
|
179
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
169
180
|
"astro-eslint-parser": "^3.2.0",
|
|
170
181
|
"bumpp": "^12.3.0",
|
|
171
|
-
"eslint": "^10.
|
|
182
|
+
"eslint": "^10.13.0",
|
|
172
183
|
"eslint-plugin-astro": "^3.2.1",
|
|
173
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
184
|
+
"eslint-plugin-better-tailwindcss": "^4.10.0",
|
|
174
185
|
"eslint-plugin-erasable-syntax-only": "^0.7.2",
|
|
175
186
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
176
187
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
177
188
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
178
189
|
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.2",
|
|
190
|
+
"eslint-plugin-svelte": "^3.23.1",
|
|
179
191
|
"eslint-plugin-vue": "^10.11.1",
|
|
180
|
-
"eslint-plugin-vuejs-accessibility": "^2.6.
|
|
192
|
+
"eslint-plugin-vuejs-accessibility": "^2.6.3",
|
|
181
193
|
"eslint-typegen": "^2.3.1",
|
|
182
194
|
"jiti": "^2.7.0",
|
|
183
195
|
"nano-staged": "^1.0.2",
|
|
184
196
|
"simple-git-hooks": "^2.14.0",
|
|
197
|
+
"svelte": "^5.57.2",
|
|
198
|
+
"svelte-eslint-parser": "^1.9.0",
|
|
185
199
|
"ts-dedent": "^2.3.0",
|
|
186
|
-
"tsdown": "^0.23.
|
|
200
|
+
"tsdown": "^0.23.1",
|
|
187
201
|
"tsx": "^4.23.15",
|
|
188
202
|
"typescript": "^6.0.3",
|
|
189
|
-
"vitest": "^5.0.
|
|
203
|
+
"vitest": "^5.0.5"
|
|
190
204
|
},
|
|
191
205
|
"simple-git-hooks": {
|
|
192
206
|
"pre-commit": "bunx nano-staged"
|