@whoj/eslint-config 2.4.1 → 7.4.30
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 +731 -19
- package/bin/index.mjs +2 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +444 -0
- package/dist/index.d.mts +20584 -0
- package/dist/index.mjs +2654 -0
- package/dist/lib-DRA-mDV0.mjs +11181 -0
- package/package.json +184 -98
- package/bin/index.js +0 -2
- package/dist/cli.d.ts +0 -2
- package/dist/cli.js +0 -713
- package/dist/index.d.ts +0 -16953
- package/dist/index.js +0 -2708
package/package.json
CHANGED
|
@@ -1,30 +1,87 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whoj/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "7.4.30",
|
|
5
|
+
"packageManager": "pnpm@10.30.0",
|
|
5
6
|
"description": "ESLint config",
|
|
6
7
|
"license": "MIT",
|
|
7
8
|
"homepage": "https://github.com/who-jonson/eslint-config",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/who-jonson/eslint-config.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/who-jonson/eslint-config/issues"
|
|
15
|
+
},
|
|
8
16
|
"keywords": [
|
|
9
17
|
"eslint-config"
|
|
10
18
|
],
|
|
11
19
|
"exports": {
|
|
12
|
-
".": "./dist/index.
|
|
20
|
+
".": "./dist/index.mjs",
|
|
21
|
+
"./cli": "./dist/cli.mjs",
|
|
22
|
+
"./package.json": "./package.json"
|
|
13
23
|
},
|
|
14
|
-
"main": "./dist/index.
|
|
15
|
-
"
|
|
16
|
-
"
|
|
24
|
+
"main": "./dist/index.mjs",
|
|
25
|
+
"module": "./dist/index.mjs",
|
|
26
|
+
"types": "./dist/index.d.mts",
|
|
27
|
+
"bin": "./bin/index.mjs",
|
|
17
28
|
"files": [
|
|
18
29
|
"bin",
|
|
19
30
|
"dist"
|
|
20
31
|
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "nr typegen && tsdown --clean --dts",
|
|
34
|
+
"stub": "tsdown",
|
|
35
|
+
"dev": "npx @eslint/config-inspector --config eslint.config.ts",
|
|
36
|
+
"build:inspector": "pnpm build && npx @eslint/config-inspector build",
|
|
37
|
+
"watch": "tsdown --watch",
|
|
38
|
+
"lint": "eslint .",
|
|
39
|
+
"lint:fix": "eslint . --fix",
|
|
40
|
+
"typegen": "tsx scripts/typegen.ts && tsx scripts/versiongen.ts",
|
|
41
|
+
"prepack": "nr build",
|
|
42
|
+
"release": "bumpp && pnpm publish",
|
|
43
|
+
"test": "vitest",
|
|
44
|
+
"typecheck": "tsc --noEmit",
|
|
45
|
+
"prepare": "simple-git-hooks"
|
|
46
|
+
},
|
|
21
47
|
"peerDependencies": {
|
|
48
|
+
"@angular-eslint/eslint-plugin": "^21.1.0",
|
|
49
|
+
"@angular-eslint/eslint-plugin-template": "^21.1.0",
|
|
50
|
+
"@angular-eslint/template-parser": "^21.1.0",
|
|
51
|
+
"@eslint-react/eslint-plugin": "^2.11.0",
|
|
52
|
+
"@next/eslint-plugin-next": ">=15.0.0",
|
|
22
53
|
"@prettier/plugin-xml": "^3.4.1",
|
|
23
54
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
24
|
-
"eslint": "^
|
|
25
|
-
"eslint
|
|
55
|
+
"astro-eslint-parser": "^1.0.2",
|
|
56
|
+
"eslint": "^9.10.0 || ^10.0.0",
|
|
57
|
+
"eslint-plugin-astro": "^1.2.0",
|
|
58
|
+
"eslint-plugin-format": ">=0.1.0",
|
|
59
|
+
"eslint-plugin-jsx-a11y": ">=6.10.2",
|
|
60
|
+
"eslint-plugin-react-hooks": "^7.0.0",
|
|
61
|
+
"eslint-plugin-react-refresh": "^0.5.0",
|
|
62
|
+
"eslint-plugin-solid": "^0.14.3",
|
|
63
|
+
"eslint-plugin-svelte": ">=2.35.1",
|
|
64
|
+
"eslint-plugin-vuejs-accessibility": "^2.4.1",
|
|
65
|
+
"prettier-plugin-astro": "^0.14.0",
|
|
66
|
+
"prettier-plugin-slidev": "^1.0.5",
|
|
67
|
+
"svelte-eslint-parser": ">=0.37.0"
|
|
26
68
|
},
|
|
27
69
|
"peerDependenciesMeta": {
|
|
70
|
+
"@angular-eslint/eslint-plugin": {
|
|
71
|
+
"optional": true
|
|
72
|
+
},
|
|
73
|
+
"@angular-eslint/eslint-plugin-template": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
76
|
+
"@angular-eslint/template-parser": {
|
|
77
|
+
"optional": true
|
|
78
|
+
},
|
|
79
|
+
"@eslint-react/eslint-plugin": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"@next/eslint-plugin-next": {
|
|
83
|
+
"optional": true
|
|
84
|
+
},
|
|
28
85
|
"@prettier/plugin-xml": {
|
|
29
86
|
"optional": true
|
|
30
87
|
},
|
|
@@ -34,110 +91,139 @@
|
|
|
34
91
|
"astro-eslint-parser": {
|
|
35
92
|
"optional": true
|
|
36
93
|
},
|
|
94
|
+
"eslint-plugin-astro": {
|
|
95
|
+
"optional": true
|
|
96
|
+
},
|
|
37
97
|
"eslint-plugin-format": {
|
|
38
98
|
"optional": true
|
|
99
|
+
},
|
|
100
|
+
"eslint-plugin-jsx-a11y": {
|
|
101
|
+
"optional": true
|
|
102
|
+
},
|
|
103
|
+
"eslint-plugin-react-hooks": {
|
|
104
|
+
"optional": true
|
|
105
|
+
},
|
|
106
|
+
"eslint-plugin-react-refresh": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"eslint-plugin-solid": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"eslint-plugin-svelte": {
|
|
113
|
+
"optional": true
|
|
114
|
+
},
|
|
115
|
+
"eslint-plugin-vuejs-accessibility": {
|
|
116
|
+
"optional": true
|
|
117
|
+
},
|
|
118
|
+
"prettier-plugin-astro": {
|
|
119
|
+
"optional": true
|
|
120
|
+
},
|
|
121
|
+
"prettier-plugin-slidev": {
|
|
122
|
+
"optional": true
|
|
123
|
+
},
|
|
124
|
+
"svelte-eslint-parser": {
|
|
125
|
+
"optional": true
|
|
39
126
|
}
|
|
40
127
|
},
|
|
41
128
|
"dependencies": {
|
|
42
|
-
"@antfu/install-pkg": "
|
|
43
|
-
"@clack/prompts": "
|
|
44
|
-
"@eslint-community/eslint-plugin-eslint-comments": "
|
|
45
|
-
"@eslint/markdown": "
|
|
46
|
-
"@stylistic/eslint-plugin": "
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "
|
|
48
|
-
"@typescript-eslint/parser": "
|
|
49
|
-
"@vitest/eslint-plugin": "
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"eslint-
|
|
54
|
-
"eslint-
|
|
55
|
-
"eslint-
|
|
56
|
-
"eslint-plugin-
|
|
57
|
-
"eslint-plugin-
|
|
58
|
-
"eslint-plugin-
|
|
59
|
-
"eslint-plugin-
|
|
60
|
-
"eslint-plugin-
|
|
61
|
-
"eslint-plugin-
|
|
62
|
-
"eslint-plugin-
|
|
63
|
-
"eslint-plugin-
|
|
64
|
-
"eslint-plugin-
|
|
65
|
-
"eslint-plugin-
|
|
66
|
-
"eslint-plugin-
|
|
67
|
-
"eslint-
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
129
|
+
"@antfu/install-pkg": "catalog:prod",
|
|
130
|
+
"@clack/prompts": "catalog:prod",
|
|
131
|
+
"@eslint-community/eslint-plugin-eslint-comments": "catalog:prod",
|
|
132
|
+
"@eslint/markdown": "catalog:prod",
|
|
133
|
+
"@stylistic/eslint-plugin": "catalog:prod",
|
|
134
|
+
"@typescript-eslint/eslint-plugin": "catalog:prod",
|
|
135
|
+
"@typescript-eslint/parser": "catalog:prod",
|
|
136
|
+
"@vitest/eslint-plugin": "catalog:prod",
|
|
137
|
+
"@whoj/utils-core": "catalog:jetbrains",
|
|
138
|
+
"ansis": "catalog:prod",
|
|
139
|
+
"cac": "catalog:prod",
|
|
140
|
+
"eslint-config-flat-gitignore": "catalog:prod",
|
|
141
|
+
"eslint-flat-config-utils": "catalog:prod",
|
|
142
|
+
"eslint-merge-processors": "catalog:prod",
|
|
143
|
+
"eslint-plugin-antfu": "catalog:prod",
|
|
144
|
+
"eslint-plugin-command": "catalog:prod",
|
|
145
|
+
"eslint-plugin-import-lite": "catalog:prod",
|
|
146
|
+
"eslint-plugin-jsdoc": "catalog:prod",
|
|
147
|
+
"eslint-plugin-jsonc": "catalog:prod",
|
|
148
|
+
"eslint-plugin-n": "catalog:prod",
|
|
149
|
+
"eslint-plugin-no-only-tests": "catalog:prod",
|
|
150
|
+
"eslint-plugin-perfectionist": "catalog:prod",
|
|
151
|
+
"eslint-plugin-pnpm": "catalog:prod",
|
|
152
|
+
"eslint-plugin-regexp": "catalog:prod",
|
|
153
|
+
"eslint-plugin-toml": "catalog:prod",
|
|
154
|
+
"eslint-plugin-unicorn": "catalog:prod",
|
|
155
|
+
"eslint-plugin-unused-imports": "catalog:prod",
|
|
156
|
+
"eslint-plugin-vue": "catalog:prod",
|
|
157
|
+
"eslint-plugin-yml": "catalog:prod",
|
|
158
|
+
"eslint-processor-vue-blocks": "catalog:prod",
|
|
159
|
+
"fast-xml-parser": "catalog:jetbrains",
|
|
160
|
+
"globals": "catalog:prod",
|
|
161
|
+
"jsonc-eslint-parser": "catalog:prod",
|
|
162
|
+
"local-pkg": "catalog:prod",
|
|
163
|
+
"parse-gitignore": "catalog:prod",
|
|
164
|
+
"toml-eslint-parser": "catalog:prod",
|
|
165
|
+
"vue-eslint-parser": "catalog:prod",
|
|
166
|
+
"yaml-eslint-parser": "catalog:prod"
|
|
78
167
|
},
|
|
79
168
|
"devDependencies": {
|
|
80
|
-
"@
|
|
81
|
-
"@eslint
|
|
82
|
-
"@eslint/
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"@
|
|
86
|
-
"@
|
|
87
|
-
"@
|
|
88
|
-
"@
|
|
89
|
-
"@
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"eslint": "
|
|
93
|
-
"eslint-
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"eslint
|
|
97
|
-
"eslint-plugin-
|
|
98
|
-
"eslint-plugin-
|
|
99
|
-
"eslint-
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
169
|
+
"@angular-eslint/eslint-plugin": "catalog:peer",
|
|
170
|
+
"@angular-eslint/eslint-plugin-template": "catalog:peer",
|
|
171
|
+
"@angular-eslint/template-parser": "catalog:peer",
|
|
172
|
+
"@angular/core": "catalog:dev",
|
|
173
|
+
"@antfu/ni": "catalog:dev",
|
|
174
|
+
"@eslint-react/eslint-plugin": "catalog:peer",
|
|
175
|
+
"@eslint/config-inspector": "catalog:dev",
|
|
176
|
+
"@next/eslint-plugin-next": "catalog:peer",
|
|
177
|
+
"@prettier/plugin-xml": "catalog:peer",
|
|
178
|
+
"@types/eslint-plugin-jsx-a11y": "catalog:dev",
|
|
179
|
+
"@types/node": "catalog:dev",
|
|
180
|
+
"@unocss/eslint-plugin": "catalog:peer",
|
|
181
|
+
"@whoj/eslint-config": "workspace:*",
|
|
182
|
+
"astro-eslint-parser": "catalog:peer",
|
|
183
|
+
"baseline-browser-mapping": "catalog:dev",
|
|
184
|
+
"bumpp": "catalog:dev",
|
|
185
|
+
"eslint": "catalog:peer",
|
|
186
|
+
"eslint-plugin-astro": "catalog:peer",
|
|
187
|
+
"eslint-plugin-erasable-syntax-only": "catalog:peer",
|
|
188
|
+
"eslint-plugin-format": "catalog:peer",
|
|
189
|
+
"eslint-plugin-jsx-a11y": "catalog:peer",
|
|
190
|
+
"eslint-plugin-react-hooks": "catalog:peer",
|
|
191
|
+
"eslint-plugin-react-refresh": "catalog:peer",
|
|
192
|
+
"eslint-plugin-solid": "catalog:peer",
|
|
193
|
+
"eslint-plugin-svelte": "catalog:peer",
|
|
194
|
+
"eslint-plugin-vuejs-accessibility": "catalog:peer",
|
|
195
|
+
"eslint-typegen": "catalog:dev",
|
|
196
|
+
"execa": "catalog:dev",
|
|
197
|
+
"find-up-simple": "catalog:inline",
|
|
198
|
+
"jiti": "catalog:dev",
|
|
199
|
+
"lint-staged": "catalog:dev",
|
|
200
|
+
"pnpm-workspace-yaml": "catalog:dev",
|
|
201
|
+
"prettier-plugin-astro": "catalog:peer",
|
|
202
|
+
"prettier-plugin-slidev": "catalog:peer",
|
|
203
|
+
"simple-git-hooks": "catalog:dev",
|
|
204
|
+
"svelte": "catalog:peer",
|
|
205
|
+
"svelte-eslint-parser": "catalog:peer",
|
|
206
|
+
"tinyglobby": "catalog:dev",
|
|
207
|
+
"tsdown": "catalog:dev",
|
|
208
|
+
"tsx": "catalog:dev",
|
|
209
|
+
"typescript": "catalog:dev",
|
|
210
|
+
"vitest": "catalog:dev",
|
|
211
|
+
"vue": "catalog:peer"
|
|
117
212
|
},
|
|
118
213
|
"resolutions": {
|
|
119
|
-
"@eslint-community/eslint-utils": "
|
|
120
|
-
"@typescript-eslint/
|
|
121
|
-
"eslint": "
|
|
122
|
-
"
|
|
214
|
+
"@eslint-community/eslint-utils": "catalog:peer",
|
|
215
|
+
"@typescript-eslint/types": "catalog:peer",
|
|
216
|
+
"@typescript-eslint/utils": "catalog:peer",
|
|
217
|
+
"chokidar": "catalog:dev",
|
|
218
|
+
"eslint": "catalog:peer",
|
|
219
|
+
"semver": "catalog:dev",
|
|
220
|
+
"synckit": "catalog:dev",
|
|
221
|
+
"tsx": "catalog:dev"
|
|
123
222
|
},
|
|
124
223
|
"simple-git-hooks": {
|
|
125
224
|
"pre-commit": "npx lint-staged"
|
|
126
225
|
},
|
|
127
226
|
"lint-staged": {
|
|
128
227
|
"*": "eslint --fix"
|
|
129
|
-
},
|
|
130
|
-
"scripts": {
|
|
131
|
-
"build": "nr typegen && tsup --clean --dts",
|
|
132
|
-
"stub": "tsup",
|
|
133
|
-
"dev": "npx @eslint/config-inspector --config eslint.config.ts",
|
|
134
|
-
"build:inspector": "pnpm build && npx @eslint/config-inspector build",
|
|
135
|
-
"watch": "tsup --watch",
|
|
136
|
-
"lint": "eslint .",
|
|
137
|
-
"lint:fix": "eslint . --fix",
|
|
138
|
-
"typegen": "tsx scripts/typegen.ts",
|
|
139
|
-
"release": "bumpp && pnpm publish",
|
|
140
|
-
"test": "vitest",
|
|
141
|
-
"typecheck": "tsc --noEmit"
|
|
142
228
|
}
|
|
143
|
-
}
|
|
229
|
+
}
|
package/bin/index.js
DELETED
package/dist/cli.d.ts
DELETED