@kazupon/eslint-config 0.19.0 → 0.20.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/dist/index.js CHANGED
@@ -489,7 +489,7 @@ async function unicorn(options = {}) {
489
489
  const unicorn$1 = await loadPlugin("eslint-plugin-unicorn");
490
490
  return [{
491
491
  files: getGlobSourceFiles(useTypeScript),
492
- ...unicorn$1.configs["flat/recommended"]
492
+ ...unicorn$1.configs["recommended"]
493
493
  }, {
494
494
  name: "@kazupon/unicorn",
495
495
  files: getGlobSourceFiles(useTypeScript),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kazupon/eslint-config",
3
3
  "description": "ESLint config for @kazupon",
4
- "version": "0.19.0",
4
+ "version": "0.20.0",
5
5
  "author": {
6
6
  "email": "kawakazu80@gmail.com",
7
7
  "name": "kazuya kawaguchi"
@@ -30,21 +30,30 @@
30
30
  "files": [
31
31
  "dist"
32
32
  ],
33
- "main": "./dist/index.cjs",
34
33
  "module": "./dist/index.js",
35
34
  "exports": {
36
35
  ".": {
36
+ "types": "./dist/index.d.ts",
37
37
  "import": "./dist/index.js",
38
- "require": "./dist/index.cjs"
39
- }
38
+ "default": "./dist/index.js"
39
+ },
40
+ "./package.json": "./package.json"
40
41
  },
41
42
  "types": "./dist/index.d.ts",
43
+ "typesVersions": {
44
+ "*": {
45
+ "*": [
46
+ "./dist/*",
47
+ "./*"
48
+ ]
49
+ }
50
+ },
42
51
  "dependencies": {
43
- "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
44
- "@eslint/js": "^9.0.0",
45
- "@kazupon/jts-utils": "^0.3.2",
46
- "eslint-flat-config-utils": "^2.0.0",
47
- "globals": "^15.8.0"
52
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
53
+ "@eslint/js": "^9.21.0",
54
+ "@kazupon/jts-utils": "^0.5.0",
55
+ "eslint-flat-config-utils": "^2.0.1",
56
+ "globals": "^16.0.0"
48
57
  },
49
58
  "peerDependencies": {
50
59
  "@eslint/markdown": ">=6.1.0",
@@ -62,7 +71,7 @@
62
71
  "eslint-plugin-regexp": ">=2.6.0",
63
72
  "eslint-plugin-svelte": ">=2.43.0",
64
73
  "eslint-plugin-toml": ">=0.11.0",
65
- "eslint-plugin-unicorn": ">=54.0.0",
74
+ "eslint-plugin-unicorn": ">=57.0.0",
66
75
  "eslint-plugin-unused-imports": ">=4.1.0",
67
76
  "eslint-plugin-vue": ">=9.24.0",
68
77
  "eslint-plugin-vue-composable": ">=1.0.0",
@@ -144,43 +153,43 @@
144
153
  }
145
154
  },
146
155
  "devDependencies": {
147
- "@eslint/markdown": "^6.1.1",
156
+ "@eslint/markdown": "^6.2.2",
148
157
  "@kazupon/prettier-config": "^0.1.1",
149
158
  "@types/eslint": "^9.6.1",
150
- "@types/node": "^22.5.0",
151
- "@vitest/eslint-plugin": "^1.0.3",
152
- "bumpp": "^10.0.1",
153
- "eslint": "^9.11.0",
159
+ "@types/node": "^22.13.5",
160
+ "@vitest/eslint-plugin": "^1.1.31",
161
+ "bumpp": "^10.0.3",
162
+ "eslint": "^9.21.0",
154
163
  "eslint-config-prettier": "^10.0.1",
155
- "eslint-import-resolver-typescript": "^3.6.3",
164
+ "eslint-import-resolver-typescript": "^3.8.3",
156
165
  "eslint-plugin-import": "^2.31.0",
157
- "eslint-plugin-jsdoc": "^50.0.0",
158
- "eslint-plugin-jsonc": "^2.16.0",
159
- "eslint-plugin-promise": "^7.0.0",
160
- "eslint-plugin-react": "^7.35.0",
166
+ "eslint-plugin-jsdoc": "^50.6.3",
167
+ "eslint-plugin-jsonc": "^2.19.1",
168
+ "eslint-plugin-promise": "^7.2.1",
169
+ "eslint-plugin-react": "^7.37.4",
161
170
  "eslint-plugin-react-hooks": "^5.1.0",
162
- "eslint-plugin-react-refresh": "^0.4.9",
163
- "eslint-plugin-regexp": "^2.6.0",
164
- "eslint-plugin-svelte": "^2.43.0",
171
+ "eslint-plugin-react-refresh": "^0.4.19",
172
+ "eslint-plugin-regexp": "^2.7.0",
173
+ "eslint-plugin-svelte": "^2.46.1",
165
174
  "eslint-plugin-toml": "^0.12.0",
166
- "eslint-plugin-unicorn": "^56.0.0",
167
- "eslint-plugin-unused-imports": "^4.1.3",
168
- "eslint-plugin-vue": "^9.27.0",
175
+ "eslint-plugin-unicorn": "^57.0.0",
176
+ "eslint-plugin-unused-imports": "^4.1.4",
177
+ "eslint-plugin-vue": "^9.32.0",
169
178
  "eslint-plugin-vue-composable": "^1.0.0",
170
- "eslint-plugin-vue-scoped-css": "^2.8.1",
179
+ "eslint-plugin-vue-scoped-css": "^2.9.0",
171
180
  "eslint-plugin-vuejs-accessibility": "^2.4.1",
172
- "eslint-plugin-yml": "^1.14.0",
173
- "eslint-typegen": "^1.0.0",
181
+ "eslint-plugin-yml": "^1.17.0",
182
+ "eslint-typegen": "^2.0.0",
174
183
  "gh-changelogen": "^0.2.8",
175
- "jiti": "^2.0.0",
176
- "lint-staged": "^15.2.7",
177
- "npm-run-all2": "^7.0.2",
178
- "prettier": "^3.3.2",
179
- "svelte": "^4.2.18",
180
- "tsdown": "^0.5.6",
181
- "typescript": "^5.5.3",
182
- "typescript-eslint": "^8.1.0",
183
- "vitest": "^3.0.4"
184
+ "jiti": "^2.4.2",
185
+ "knip": "^5.44.4",
186
+ "lint-staged": "^15.4.3",
187
+ "prettier": "^3.5.2",
188
+ "svelte": "^4.2.19",
189
+ "tsdown": "^0.6.0",
190
+ "typescript": "^5.7.3",
191
+ "typescript-eslint": "^8.24.1",
192
+ "vitest": "^3.0.6"
184
193
  },
185
194
  "prettier": "@kazupon/prettier-config",
186
195
  "lint-staged": {
@@ -201,14 +210,16 @@
201
210
  "build:inspector": "pnpm build && pnpx @eslint/config-inspector build",
202
211
  "changelog": "gh-changelogen --repo=kazupon/eslint-config",
203
212
  "dev": "pnpx @eslint/config-inspector --config eslint.config.ts",
204
- "fix": "run-p \"fix:* {@}\" --",
213
+ "fix": "pnpm run --parallel --color \"/^fix:/\"",
205
214
  "fix:eslint": "eslint . --fix",
215
+ "fix:knip": "knip --fix --no-exit-code",
206
216
  "fix:prettier": "prettier . --write",
207
- "lint": "run-p \"lint:* {@}\" --",
217
+ "lint": "pnpm run --parallel --color \"/^lint:/\"",
208
218
  "lint:eslint": "eslint .",
219
+ "lint:knip": "knip",
209
220
  "lint:prettier": "prettier . --check",
210
221
  "release": "bumpp --commit \"release: v%s\" --all --push --tag",
211
- "test": "vitest --typecheck",
222
+ "test": "vitest run --typecheck",
212
223
  "typecheck": "tsc -p .",
213
224
  "typegen": "pnpx jiti scripts/typegen.ts"
214
225
  }