@whoj/eslint-config 2.5.0 → 7.5.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/package.json CHANGED
@@ -1,30 +1,71 @@
1
1
  {
2
2
  "name": "@whoj/eslint-config",
3
3
  "type": "module",
4
- "version": "2.5.0",
4
+ "version": "7.5.0",
5
5
  "description": "ESLint config",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/who-jonson/eslint-config",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/who-jonson/eslint-config.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/who-jonson/eslint-config/issues"
14
+ },
8
15
  "keywords": [
9
16
  "eslint-config"
10
17
  ],
11
18
  "exports": {
12
- ".": "./dist/index.js"
19
+ ".": "./dist/index.mjs",
20
+ "./cli": "./dist/cli.mjs",
21
+ "./package.json": "./package.json"
13
22
  },
14
- "main": "./dist/index.js",
15
- "types": "./dist/index.d.ts",
16
- "bin": "./bin/index.js",
23
+ "main": "./dist/index.mjs",
24
+ "module": "./dist/index.mjs",
25
+ "types": "./dist/index.d.mts",
26
+ "bin": "./bin/index.mjs",
17
27
  "files": [
18
28
  "bin",
19
29
  "dist"
20
30
  ],
21
31
  "peerDependencies": {
22
- "@prettier/plugin-xml": "^3.4.1",
23
- "@unocss/eslint-plugin": ">=0.50.0",
24
- "eslint": "^9.20.0",
25
- "eslint-plugin-format": ">=0.1.0"
32
+ "@angular-eslint/eslint-plugin": "^21.2.0",
33
+ "@angular-eslint/eslint-plugin-template": "^21.2.0",
34
+ "@angular-eslint/template-parser": "^21.2.0",
35
+ "@eslint-react/eslint-plugin": "^2.12.4",
36
+ "@next/eslint-plugin-next": "^16.1.6",
37
+ "@prettier/plugin-xml": "^3.4.2",
38
+ "@unocss/eslint-plugin": "^66.6.0",
39
+ "astro-eslint-parser": "^1.2.2",
40
+ "eslint": "^9.39.2",
41
+ "eslint-plugin-astro": "^1.5.0",
42
+ "eslint-plugin-format": "^1.4.0",
43
+ "eslint-plugin-jsx-a11y": "^6.10.2",
44
+ "eslint-plugin-react-hooks": "^7.0.1",
45
+ "eslint-plugin-react-refresh": "^0.5.0",
46
+ "eslint-plugin-solid": "^0.14.5",
47
+ "eslint-plugin-svelte": "^3.15.0",
48
+ "eslint-plugin-vuejs-accessibility": "^2.4.1",
49
+ "prettier-plugin-astro": "^0.14.1",
50
+ "prettier-plugin-slidev": "^1.0.5",
51
+ "svelte-eslint-parser": "^1.4.1"
26
52
  },
27
53
  "peerDependenciesMeta": {
54
+ "@angular-eslint/eslint-plugin": {
55
+ "optional": true
56
+ },
57
+ "@angular-eslint/eslint-plugin-template": {
58
+ "optional": true
59
+ },
60
+ "@angular-eslint/template-parser": {
61
+ "optional": true
62
+ },
63
+ "@eslint-react/eslint-plugin": {
64
+ "optional": true
65
+ },
66
+ "@next/eslint-plugin-next": {
67
+ "optional": true
68
+ },
28
69
  "@prettier/plugin-xml": {
29
70
  "optional": true
30
71
  },
@@ -34,92 +75,134 @@
34
75
  "astro-eslint-parser": {
35
76
  "optional": true
36
77
  },
78
+ "eslint-plugin-astro": {
79
+ "optional": true
80
+ },
37
81
  "eslint-plugin-format": {
38
82
  "optional": true
83
+ },
84
+ "eslint-plugin-jsx-a11y": {
85
+ "optional": true
86
+ },
87
+ "eslint-plugin-react-hooks": {
88
+ "optional": true
89
+ },
90
+ "eslint-plugin-react-refresh": {
91
+ "optional": true
92
+ },
93
+ "eslint-plugin-solid": {
94
+ "optional": true
95
+ },
96
+ "eslint-plugin-svelte": {
97
+ "optional": true
98
+ },
99
+ "eslint-plugin-vuejs-accessibility": {
100
+ "optional": true
101
+ },
102
+ "prettier-plugin-astro": {
103
+ "optional": true
104
+ },
105
+ "prettier-plugin-slidev": {
106
+ "optional": true
107
+ },
108
+ "svelte-eslint-parser": {
109
+ "optional": true
39
110
  }
40
111
  },
41
112
  "dependencies": {
42
- "@antfu/install-pkg": "^1.0.0",
43
- "@clack/prompts": "^0.10.0",
44
- "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
45
- "@eslint/markdown": "^6.2.2",
46
- "@stylistic/eslint-plugin": "^3.1.0",
47
- "@typescript-eslint/eslint-plugin": "^8.24.0",
48
- "@typescript-eslint/parser": "^8.24.0",
49
- "@vitest/eslint-plugin": "^1.1.31",
50
- "eslint-config-flat-gitignore": "^2.0.0",
51
- "eslint-flat-config-utils": "^2.0.1",
113
+ "@antfu/install-pkg": "^1.1.0",
114
+ "@clack/prompts": "^1.0.0",
115
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
116
+ "@eslint/markdown": "^7.5.1",
117
+ "@stylistic/eslint-plugin": "^5.8.0",
118
+ "@typescript-eslint/eslint-plugin": "^8.55.0",
119
+ "@typescript-eslint/parser": "^8.55.0",
120
+ "@vitest/eslint-plugin": "^1.6.7",
121
+ "@whoj/utils-core": "^2.4.0",
122
+ "ansis": "^4.2.0",
123
+ "cac": "^6.7.14",
124
+ "eslint-config-flat-gitignore": "^2.1.0",
125
+ "eslint-flat-config-utils": "^3.0.1",
52
126
  "eslint-merge-processors": "^2.0.0",
53
- "eslint-plugin-antfu": "^3.0.0",
54
- "eslint-plugin-command": "^3.0.0",
55
- "eslint-plugin-import-x": "^4.6.1",
56
- "eslint-plugin-jsdoc": "^50.6.3",
57
- "eslint-plugin-jsonc": "^2.19.1",
58
- "eslint-plugin-n": "^17.15.1",
127
+ "eslint-plugin-antfu": "^3.2.1",
128
+ "eslint-plugin-command": "^3.4.0",
129
+ "eslint-plugin-import-lite": "^0.5.0",
130
+ "eslint-plugin-jsdoc": "^62.5.4",
131
+ "eslint-plugin-jsonc": "^2.21.1",
132
+ "eslint-plugin-n": "^17.23.2",
59
133
  "eslint-plugin-no-only-tests": "^3.3.0",
60
- "eslint-plugin-perfectionist": "^4.9.0",
61
- "eslint-plugin-regexp": "^2.7.0",
62
- "eslint-plugin-toml": "^0.12.0",
63
- "eslint-plugin-unicorn": "^56.0.1",
64
- "eslint-plugin-unused-imports": "^4.1.4",
65
- "eslint-plugin-vue": "^9.32.0",
66
- "eslint-plugin-yml": "^1.16.0",
134
+ "eslint-plugin-perfectionist": "^5.5.0",
135
+ "eslint-plugin-pnpm": "^1.5.0",
136
+ "eslint-plugin-regexp": "^3.0.0",
137
+ "eslint-plugin-toml": "^1.0.4",
138
+ "eslint-plugin-unicorn": "^63.0.0",
139
+ "eslint-plugin-unused-imports": "^4.4.1",
140
+ "eslint-plugin-vue": "^10.7.0",
141
+ "eslint-plugin-yml": "^3.1.2",
67
142
  "eslint-processor-vue-blocks": "^2.0.0",
68
- "fast-xml-parser": "^4.5.1",
69
- "globals": "^15.15.0",
70
- "jsonc-eslint-parser": "^2.4.0",
71
- "local-pkg": "^1.0.0",
143
+ "fast-xml-parser": "^5.3.2",
144
+ "globals": "^17.3.0",
145
+ "jsonc-eslint-parser": "^2.4.2",
146
+ "local-pkg": "^1.1.2",
72
147
  "parse-gitignore": "^2.0.0",
73
- "picocolors": "^1.1.1",
74
- "toml-eslint-parser": "^0.10.0",
75
- "vue-eslint-parser": "^9.4.3",
76
- "yaml-eslint-parser": "^1.2.3",
77
- "yargs": "^17.7.2"
148
+ "toml-eslint-parser": "^1.0.3",
149
+ "vue-eslint-parser": "^10.2.0",
150
+ "yaml-eslint-parser": "^2.0.0"
78
151
  },
79
152
  "devDependencies": {
80
- "@antfu/ni": "^23.3.1",
81
- "@eslint-react/eslint-plugin": "^1.26.2",
82
- "@eslint/config-inspector": "^1.0.0",
83
- "@prettier/plugin-xml": "^3.4.1",
84
- "@stylistic/eslint-plugin-migrate": "^3.1.0",
85
- "@types/fs-extra": "^11.0.4",
86
- "@types/node": "^22.13.2",
87
- "@types/prompts": "^2.4.9",
88
- "@types/yargs": "^17.0.33",
89
- "@unocss/eslint-plugin": "^65.4.3",
90
- "astro-eslint-parser": "^1.2.1",
91
- "bumpp": "^10.0.3",
92
- "eslint": "^9.20.1",
93
- "eslint-plugin-astro": "^1.3.1",
94
- "eslint-plugin-format": "^1.0.1",
95
- "eslint-plugin-react-hooks": "^5.1.0",
96
- "eslint-plugin-react-refresh": "^0.4.19",
153
+ "@angular-eslint/eslint-plugin": "^21.2.0",
154
+ "@angular-eslint/eslint-plugin-template": "^21.2.0",
155
+ "@angular-eslint/template-parser": "^21.2.0",
156
+ "@angular/core": "^21.1.3",
157
+ "@antfu/ni": "^28.2.0",
158
+ "@eslint-react/eslint-plugin": "^2.12.4",
159
+ "@eslint/config-inspector": "^1.4.2",
160
+ "@next/eslint-plugin-next": "^16.1.6",
161
+ "@prettier/plugin-xml": "^3.4.2",
162
+ "@types/eslint-plugin-jsx-a11y": "^6.10.1",
163
+ "@types/node": "^25.2.3",
164
+ "@unocss/eslint-plugin": "^66.6.0",
165
+ "astro-eslint-parser": "^1.2.2",
166
+ "baseline-browser-mapping": "^2.9.19",
167
+ "bumpp": "^10.4.1",
168
+ "eslint": "^9.39.2",
169
+ "eslint-plugin-astro": "^1.5.0",
170
+ "eslint-plugin-erasable-syntax-only": "^0.4.0",
171
+ "eslint-plugin-format": "^1.4.0",
172
+ "eslint-plugin-jsx-a11y": "^6.10.2",
173
+ "eslint-plugin-react-hooks": "^7.0.1",
174
+ "eslint-plugin-react-refresh": "^0.5.0",
97
175
  "eslint-plugin-solid": "^0.14.5",
98
- "eslint-plugin-svelte": "^2.46.1",
99
- "eslint-typegen": "^1.0.0",
100
- "execa": "^9.5.2",
101
- "fast-glob": "^3.3.3",
102
- "fs-extra": "^11.3.0",
103
- "jiti": "^2.4.2",
104
- "lint-staged": "^15.4.3",
176
+ "eslint-plugin-svelte": "^3.15.0",
177
+ "eslint-plugin-vuejs-accessibility": "^2.4.1",
178
+ "eslint-typegen": "^2.3.0",
179
+ "execa": "^9.6.1",
180
+ "find-up-simple": "^1.0.1",
181
+ "jiti": "^2.6.1",
182
+ "lint-staged": "^16.2.7",
183
+ "pnpm-workspace-yaml": "^1.5.0",
105
184
  "prettier-plugin-astro": "^0.14.1",
106
185
  "prettier-plugin-slidev": "^1.0.5",
107
- "rimraf": "^6.0.1",
108
- "simple-git-hooks": "^2.11.1",
109
- "svelte": "^5.20.0",
110
- "svelte-eslint-parser": "^0.43.0",
111
- "tsup": "^8.3.6",
112
- "tsx": "^4.19.2",
113
- "typescript": "^5.7.3",
114
- "vitest": "^3.0.4",
115
- "vue": "^3.5.13",
116
- "@whoj/eslint-config": "2.5.0"
186
+ "simple-git-hooks": "^2.13.1",
187
+ "svelte": "^5.50.1",
188
+ "svelte-eslint-parser": "^1.4.1",
189
+ "tinyglobby": "^0.2.15",
190
+ "tsdown": "^0.18.4",
191
+ "tsx": "^4.21.0",
192
+ "typescript": "^5.9.3",
193
+ "vitest": "^4.0.18",
194
+ "vue": "^3.5.28",
195
+ "@whoj/eslint-config": "7.5.0"
117
196
  },
118
197
  "resolutions": {
119
- "@eslint-community/eslint-utils": "^4.4.1",
120
- "@typescript-eslint/utils": "^8.22.0",
121
- "eslint": "^9.19.0",
122
- "tsx": "^4.19.2"
198
+ "@eslint-community/eslint-utils": "catalog:peer",
199
+ "@typescript-eslint/types": "catalog:peer",
200
+ "@typescript-eslint/utils": "catalog:peer",
201
+ "chokidar": "catalog:dev",
202
+ "eslint": "catalog:peer",
203
+ "semver": "catalog:dev",
204
+ "synckit": "catalog:dev",
205
+ "tsx": "catalog:dev"
123
206
  },
124
207
  "simple-git-hooks": {
125
208
  "pre-commit": "npx lint-staged"
@@ -128,14 +211,14 @@
128
211
  "*": "eslint --fix"
129
212
  },
130
213
  "scripts": {
131
- "build": "nr typegen && tsup --clean --dts",
132
- "stub": "tsup",
214
+ "build": "nr typegen && tsdown --clean --dts",
215
+ "stub": "tsdown",
133
216
  "dev": "npx @eslint/config-inspector --config eslint.config.ts",
134
217
  "build:inspector": "pnpm build && npx @eslint/config-inspector build",
135
- "watch": "tsup --watch",
218
+ "watch": "tsdown --watch",
136
219
  "lint": "eslint .",
137
220
  "lint:fix": "eslint . --fix",
138
- "typegen": "tsx scripts/typegen.ts",
221
+ "typegen": "tsx scripts/typegen.ts && tsx scripts/versiongen.ts",
139
222
  "release": "bumpp && pnpm publish",
140
223
  "test": "vitest",
141
224
  "typecheck": "tsc --noEmit"
package/bin/index.js DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- import '../dist/cli.js';
package/dist/cli.d.ts DELETED
@@ -1,2 +0,0 @@
1
-
2
- export { }