@kazupon/eslint-config 0.16.0 → 0.18.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.
Files changed (60) hide show
  1. package/README.md +8 -1
  2. package/dist/config.d.cts +1 -1
  3. package/dist/config.d.ts +1 -1
  4. package/dist/configs/comments.d.cts +1 -1
  5. package/dist/configs/comments.d.ts +1 -1
  6. package/dist/configs/imports.d.cts +9 -4
  7. package/dist/configs/imports.d.ts +9 -4
  8. package/dist/configs/index.d.cts +17 -16
  9. package/dist/configs/index.d.ts +17 -16
  10. package/dist/configs/javascript.d.cts +1 -1
  11. package/dist/configs/javascript.d.ts +1 -1
  12. package/dist/configs/jsdoc.d.cts +1 -1
  13. package/dist/configs/jsdoc.d.ts +1 -1
  14. package/dist/configs/jsonc.d.cts +1 -1
  15. package/dist/configs/jsonc.d.ts +1 -1
  16. package/dist/configs/markdown.d.cts +28 -0
  17. package/dist/configs/markdown.d.ts +28 -0
  18. package/dist/configs/prettier.d.cts +1 -1
  19. package/dist/configs/prettier.d.ts +1 -1
  20. package/dist/configs/promise.d.cts +1 -1
  21. package/dist/configs/promise.d.ts +1 -1
  22. package/dist/configs/react.d.cts +2 -2
  23. package/dist/configs/react.d.ts +2 -2
  24. package/dist/configs/regexp.d.cts +1 -1
  25. package/dist/configs/regexp.d.ts +1 -1
  26. package/dist/configs/svelte.d.cts +2 -2
  27. package/dist/configs/svelte.d.ts +2 -2
  28. package/dist/configs/toml.d.cts +1 -1
  29. package/dist/configs/toml.d.ts +1 -1
  30. package/dist/configs/typescript.d.cts +1 -1
  31. package/dist/configs/typescript.d.ts +1 -1
  32. package/dist/configs/unicorn.d.cts +1 -1
  33. package/dist/configs/unicorn.d.ts +1 -1
  34. package/dist/configs/vitest.d.cts +1 -1
  35. package/dist/configs/vitest.d.ts +1 -1
  36. package/dist/configs/vue.d.cts +2 -2
  37. package/dist/configs/vue.d.ts +2 -2
  38. package/dist/configs/yml.d.cts +1 -1
  39. package/dist/configs/yml.d.ts +1 -1
  40. package/dist/globs.d.cts +1 -0
  41. package/dist/globs.d.ts +1 -0
  42. package/dist/index.cjs +399 -259
  43. package/dist/index.d.cts +3 -3
  44. package/dist/index.d.ts +3 -3
  45. package/dist/index.js +388 -260
  46. package/dist/types/gens/eslint.d.cts +2 -1
  47. package/dist/types/gens/eslint.d.ts +2 -1
  48. package/dist/types/gens/imports.d.cts +478 -0
  49. package/dist/types/gens/imports.d.ts +478 -0
  50. package/dist/types/gens/javascript.d.cts +6 -1
  51. package/dist/types/gens/javascript.d.ts +6 -1
  52. package/dist/types/gens/markdown.d.cts +42 -0
  53. package/dist/types/gens/markdown.d.ts +42 -0
  54. package/dist/types/gens/unicorn.d.cts +153 -138
  55. package/dist/types/gens/unicorn.d.ts +153 -138
  56. package/dist/types/index.d.cts +19 -18
  57. package/dist/types/index.d.ts +19 -18
  58. package/dist/types/overrides.d.cts +1 -1
  59. package/dist/types/overrides.d.ts +1 -1
  60. package/package.json +22 -7
@@ -1,18 +1,19 @@
1
- export * from './overrides';
2
- export * from './gens/javascript';
3
- export * from './gens/unicorn';
4
- export * from './gens/comments';
5
- export * from './gens/jsdoc';
6
- export * from './gens/imports';
7
- export * from './gens/promise';
8
- export * from './gens/prettier';
9
- export * from './gens/regexp';
10
- export * from './gens/typescript';
11
- export * from './gens/vue';
12
- export * from './gens/svelte';
13
- export * from './gens/jsonc';
14
- export * from './gens/yml';
15
- export * from './gens/react';
16
- export * from './gens/toml';
17
- export * from './gens/vitest';
18
- export * from './gens/eslint';
1
+ export * from './overrides.ts';
2
+ export * from './gens/comments.ts';
3
+ export * from './gens/imports.ts';
4
+ export * from './gens/javascript.ts';
5
+ export * from './gens/jsdoc.ts';
6
+ export * from './gens/jsonc.ts';
7
+ export * from './gens/markdown.ts';
8
+ export * from './gens/prettier.ts';
9
+ export * from './gens/promise.ts';
10
+ export * from './gens/react.ts';
11
+ export * from './gens/regexp.ts';
12
+ export * from './gens/svelte.ts';
13
+ export * from './gens/toml.ts';
14
+ export * from './gens/typescript.ts';
15
+ export * from './gens/unicorn.ts';
16
+ export * from './gens/vitest.ts';
17
+ export * from './gens/vue.ts';
18
+ export * from './gens/yml.ts';
19
+ export * from './gens/eslint.ts';
@@ -1,18 +1,19 @@
1
- export * from './overrides';
2
- export * from './gens/javascript';
3
- export * from './gens/unicorn';
4
- export * from './gens/comments';
5
- export * from './gens/jsdoc';
6
- export * from './gens/imports';
7
- export * from './gens/promise';
8
- export * from './gens/prettier';
9
- export * from './gens/regexp';
10
- export * from './gens/typescript';
11
- export * from './gens/vue';
12
- export * from './gens/svelte';
13
- export * from './gens/jsonc';
14
- export * from './gens/yml';
15
- export * from './gens/react';
16
- export * from './gens/toml';
17
- export * from './gens/vitest';
18
- export * from './gens/eslint';
1
+ export * from './overrides.ts';
2
+ export * from './gens/comments.ts';
3
+ export * from './gens/imports.ts';
4
+ export * from './gens/javascript.ts';
5
+ export * from './gens/jsdoc.ts';
6
+ export * from './gens/jsonc.ts';
7
+ export * from './gens/markdown.ts';
8
+ export * from './gens/prettier.ts';
9
+ export * from './gens/promise.ts';
10
+ export * from './gens/react.ts';
11
+ export * from './gens/regexp.ts';
12
+ export * from './gens/svelte.ts';
13
+ export * from './gens/toml.ts';
14
+ export * from './gens/typescript.ts';
15
+ export * from './gens/unicorn.ts';
16
+ export * from './gens/vitest.ts';
17
+ export * from './gens/vue.ts';
18
+ export * from './gens/yml.ts';
19
+ export * from './gens/eslint.ts';
@@ -1,4 +1,4 @@
1
- import type { Linter, ESLint } from 'eslint';
1
+ import type { ESLint, Linter } from 'eslint';
2
2
  export interface OverridesOptions<Rules = Linter.Config['rules']> {
3
3
  files?: Linter.Config['files'];
4
4
  ignores?: Linter.Config['ignores'];
@@ -1,4 +1,4 @@
1
- import type { Linter, ESLint } from 'eslint';
1
+ import type { ESLint, Linter } from 'eslint';
2
2
  export interface OverridesOptions<Rules = Linter.Config['rules']> {
3
3
  files?: Linter.Config['files'];
4
4
  ignores?: Linter.Config['ignores'];
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.16.0",
4
+ "version": "0.18.0",
5
5
  "author": {
6
6
  "email": "kawakazu80@gmail.com",
7
7
  "name": "kazuya kawaguchi"
@@ -43,13 +43,16 @@
43
43
  "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
44
44
  "@eslint/js": "^9.0.0",
45
45
  "@kazupon/jts-utils": "^0.2.0",
46
- "eslint-flat-config-utils": "^0.3.0",
46
+ "eslint-flat-config-utils": "^0.4.0",
47
47
  "globals": "^15.8.0"
48
48
  },
49
49
  "peerDependencies": {
50
+ "@eslint/markdown": ">=6.1.0",
50
51
  "@vitest/eslint-plugin": ">=1.0.0",
51
52
  "eslint": ">=8.56.0 || >=9.0.0",
52
53
  "eslint-config-prettier": ">=9.1.0",
54
+ "eslint-import-resolver-typescript": ">=3.6.0",
55
+ "eslint-plugin-import": ">=2.31.0",
53
56
  "eslint-plugin-jsdoc": ">=48.5.0",
54
57
  "eslint-plugin-jsonc": ">=2.16.0",
55
58
  "eslint-plugin-promise": ">=6.4.0",
@@ -70,12 +73,21 @@
70
73
  "typescript-eslint": ">=7.0.0"
71
74
  },
72
75
  "peerDependenciesMeta": {
76
+ "@eslint/markdown": {
77
+ "optional": true
78
+ },
73
79
  "@vitest/eslint-plugin": {
74
80
  "optional": true
75
81
  },
76
82
  "eslint-config-prettier": {
77
83
  "optional": true
78
84
  },
85
+ "eslint-import-resolver-typescript": {
86
+ "optional": true
87
+ },
88
+ "eslint-plugin-import": {
89
+ "optional": true
90
+ },
79
91
  "eslint-plugin-jsdoc": {
80
92
  "optional": true
81
93
  },
@@ -132,13 +144,16 @@
132
144
  }
133
145
  },
134
146
  "devDependencies": {
147
+ "@eslint/markdown": "^6.1.1",
135
148
  "@kazupon/prettier-config": "^0.1.1",
136
- "@types/eslint": "^9.6.0",
149
+ "@types/eslint": "^9.6.1",
137
150
  "@types/node": "^22.5.0",
138
151
  "@vitest/eslint-plugin": "^1.0.3",
139
152
  "bumpp": "^9.4.1",
140
- "eslint": "^9.9.0",
153
+ "eslint": "^9.11.0",
141
154
  "eslint-config-prettier": "^9.1.0",
155
+ "eslint-import-resolver-typescript": "^3.6.3",
156
+ "eslint-plugin-import": "^2.31.0",
142
157
  "eslint-plugin-jsdoc": "^50.0.0",
143
158
  "eslint-plugin-jsonc": "^2.16.0",
144
159
  "eslint-plugin-promise": "^7.0.0",
@@ -148,7 +163,7 @@
148
163
  "eslint-plugin-regexp": "^2.6.0",
149
164
  "eslint-plugin-svelte": "^2.43.0",
150
165
  "eslint-plugin-toml": "^0.11.0",
151
- "eslint-plugin-unicorn": "^55.0.0",
166
+ "eslint-plugin-unicorn": "^56.0.0",
152
167
  "eslint-plugin-unused-imports": "^4.1.3",
153
168
  "eslint-plugin-vue": "^9.27.0",
154
169
  "eslint-plugin-vue-composable": "^1.0.0",
@@ -157,12 +172,12 @@
157
172
  "eslint-plugin-yml": "^1.14.0",
158
173
  "eslint-typegen": "^0.3.1",
159
174
  "gh-changelogen": "^0.2.8",
160
- "jiti": "^1.21.6",
175
+ "jiti": "^2.0.0",
161
176
  "lint-staged": "^15.2.7",
162
177
  "npm-run-all2": "^6.2.2",
163
178
  "prettier": "^3.3.2",
164
179
  "svelte": "^4.2.18",
165
- "tsdown": "^0.2.9",
180
+ "tsdown": "^0.2.17",
166
181
  "typescript": "^5.5.3",
167
182
  "typescript-eslint": "^8.1.0",
168
183
  "vitest": "^2.0.0"