@kazupon/eslint-config 0.10.1 → 0.12.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 +16 -4
- package/dist/config.d.cts +2 -2
- package/dist/config.d.ts +2 -2
- package/dist/configs/comments.d.cts +2 -2
- package/dist/configs/comments.d.ts +2 -2
- package/dist/configs/index.d.cts +1 -0
- package/dist/configs/index.d.ts +1 -0
- package/dist/configs/javascript.d.cts +2 -2
- package/dist/configs/javascript.d.ts +2 -2
- package/dist/configs/jsdoc.d.cts +2 -2
- package/dist/configs/jsdoc.d.ts +2 -2
- package/dist/configs/jsonc.d.cts +2 -2
- package/dist/configs/jsonc.d.ts +2 -2
- package/dist/configs/prettier.d.cts +2 -2
- package/dist/configs/prettier.d.ts +2 -2
- package/dist/configs/promise.d.cts +2 -2
- package/dist/configs/promise.d.ts +2 -2
- package/dist/configs/regexp.d.cts +2 -2
- package/dist/configs/regexp.d.ts +2 -2
- package/dist/configs/svelte.d.cts +21 -0
- package/dist/configs/svelte.d.ts +21 -0
- package/dist/configs/toml.d.cts +2 -2
- package/dist/configs/toml.d.ts +2 -2
- package/dist/configs/typescript.d.cts +1 -1
- package/dist/configs/typescript.d.ts +1 -1
- package/dist/configs/unicorn.d.cts +2 -2
- package/dist/configs/unicorn.d.ts +2 -2
- package/dist/configs/vue.d.cts +2 -2
- package/dist/configs/vue.d.ts +2 -2
- package/dist/configs/yml.d.cts +2 -2
- package/dist/configs/yml.d.ts +2 -2
- package/dist/globs.d.cts +1 -0
- package/dist/globs.d.ts +1 -0
- package/dist/index.cjs +227 -121
- package/dist/index.js +136 -104
- package/dist/types/gens/eslint.d.cts +2 -1
- package/dist/types/gens/eslint.d.ts +2 -1
- package/dist/types/gens/javascript.d.cts +5 -9
- package/dist/types/gens/javascript.d.ts +5 -9
- package/dist/types/gens/promise.d.cts +10 -4
- package/dist/types/gens/promise.d.ts +10 -4
- package/dist/types/gens/svelte.d.cts +491 -0
- package/dist/types/gens/svelte.d.ts +491 -0
- package/dist/types/gens/typescript.d.cts +62 -737
- package/dist/types/gens/typescript.d.ts +62 -737
- package/dist/types/index.d.cts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/overrides.d.cts +2 -2
- package/dist/types/overrides.d.ts +2 -2
- package/package.json +17 -7
package/dist/types/index.d.cts
CHANGED
|
@@ -4,12 +4,13 @@ export * from './gens/javascript';
|
|
|
4
4
|
export * from './gens/unicorn';
|
|
5
5
|
export * from './gens/comments';
|
|
6
6
|
export * from './gens/jsdoc';
|
|
7
|
-
export * from './gens/jsonc';
|
|
8
7
|
export * from './gens/promise';
|
|
9
8
|
export * from './gens/prettier';
|
|
10
9
|
export * from './gens/regexp';
|
|
11
10
|
export * from './gens/typescript';
|
|
12
11
|
export * from './gens/vue';
|
|
12
|
+
export * from './gens/svelte';
|
|
13
|
+
export * from './gens/jsonc';
|
|
13
14
|
export * from './gens/yml';
|
|
14
15
|
export * from './gens/toml';
|
|
15
16
|
export * from './gens/eslint';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,12 +4,13 @@ export * from './gens/javascript';
|
|
|
4
4
|
export * from './gens/unicorn';
|
|
5
5
|
export * from './gens/comments';
|
|
6
6
|
export * from './gens/jsdoc';
|
|
7
|
-
export * from './gens/jsonc';
|
|
8
7
|
export * from './gens/promise';
|
|
9
8
|
export * from './gens/prettier';
|
|
10
9
|
export * from './gens/regexp';
|
|
11
10
|
export * from './gens/typescript';
|
|
12
11
|
export * from './gens/vue';
|
|
12
|
+
export * from './gens/svelte';
|
|
13
|
+
export * from './gens/jsonc';
|
|
13
14
|
export * from './gens/yml';
|
|
14
15
|
export * from './gens/toml';
|
|
15
16
|
export * from './gens/eslint';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Linter, ESLint } from 'eslint';
|
|
2
|
-
export interface OverridesOptions<Rules = Linter.
|
|
3
|
-
files?: Linter.
|
|
2
|
+
export interface OverridesOptions<Rules = Linter.Config['rules']> {
|
|
3
|
+
files?: Linter.Config['files'];
|
|
4
4
|
rules?: Rules;
|
|
5
5
|
parserOptions?: ESLint.Environment['parserOptions'];
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Linter, ESLint } from 'eslint';
|
|
2
|
-
export interface OverridesOptions<Rules = Linter.
|
|
3
|
-
files?: Linter.
|
|
2
|
+
export interface OverridesOptions<Rules = Linter.Config['rules']> {
|
|
3
|
+
files?: Linter.Config['files'];
|
|
4
4
|
rules?: Rules;
|
|
5
5
|
parserOptions?: ESLint.Environment['parserOptions'];
|
|
6
6
|
}
|
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.
|
|
4
|
+
"version": "0.12.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"email": "kawakazu80@gmail.com",
|
|
7
7
|
"name": "kazuya kawaguchi"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
|
|
44
44
|
"@eslint/js": "^9.0.0",
|
|
45
|
-
"eslint-flat-config-utils": "^0.
|
|
45
|
+
"eslint-flat-config-utils": "^0.3.0",
|
|
46
46
|
"globals": "^15.8.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
@@ -52,10 +52,12 @@
|
|
|
52
52
|
"eslint-plugin-jsonc": ">=2.16.0",
|
|
53
53
|
"eslint-plugin-promise": ">=6.4.0",
|
|
54
54
|
"eslint-plugin-regexp": ">=2.6.0",
|
|
55
|
+
"eslint-plugin-svelte": ">=2.43.0",
|
|
55
56
|
"eslint-plugin-toml": ">=0.11.0",
|
|
56
57
|
"eslint-plugin-unicorn": ">=54.0.0",
|
|
57
58
|
"eslint-plugin-vue": ">=9.24.0",
|
|
58
59
|
"eslint-plugin-yml": ">=1.14.0",
|
|
60
|
+
"svelte": ">=4.0.0",
|
|
59
61
|
"typescript-eslint": ">=7.0.0"
|
|
60
62
|
},
|
|
61
63
|
"peerDependenciesMeta": {
|
|
@@ -74,6 +76,9 @@
|
|
|
74
76
|
"eslint-plugin-regexp": {
|
|
75
77
|
"optional": true
|
|
76
78
|
},
|
|
79
|
+
"eslint-plugin-svelte": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
77
82
|
"eslint-plugin-toml": {
|
|
78
83
|
"optional": true
|
|
79
84
|
},
|
|
@@ -86,34 +91,39 @@
|
|
|
86
91
|
"eslint-plugin-yml": {
|
|
87
92
|
"optional": true
|
|
88
93
|
},
|
|
94
|
+
"svelte": {
|
|
95
|
+
"optional": true
|
|
96
|
+
},
|
|
89
97
|
"typescript-eslint": {
|
|
90
98
|
"optional": true
|
|
91
99
|
}
|
|
92
100
|
},
|
|
93
101
|
"devDependencies": {
|
|
94
102
|
"@kazupon/prettier-config": "^0.1.1",
|
|
95
|
-
"@types/eslint": "^
|
|
103
|
+
"@types/eslint": "^9.6.0",
|
|
96
104
|
"@types/node": "^20.14.9",
|
|
97
105
|
"bumpp": "^9.4.1",
|
|
98
|
-
"eslint": "^9.
|
|
106
|
+
"eslint": "^9.9.0",
|
|
99
107
|
"eslint-config-prettier": "^9.1.0",
|
|
100
108
|
"eslint-plugin-jsdoc": "^48.5.2",
|
|
101
109
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
102
|
-
"eslint-plugin-promise": "^
|
|
110
|
+
"eslint-plugin-promise": "^7.0.0",
|
|
103
111
|
"eslint-plugin-regexp": "^2.6.0",
|
|
112
|
+
"eslint-plugin-svelte": "^2.43.0",
|
|
104
113
|
"eslint-plugin-toml": "^0.11.0",
|
|
105
114
|
"eslint-plugin-unicorn": "^54.0.0",
|
|
106
115
|
"eslint-plugin-vue": "^9.27.0",
|
|
107
116
|
"eslint-plugin-yml": "^1.14.0",
|
|
108
|
-
"eslint-typegen": "^0.
|
|
117
|
+
"eslint-typegen": "^0.3.0",
|
|
109
118
|
"gh-changelogen": "^0.2.8",
|
|
110
119
|
"lint-staged": "^15.2.7",
|
|
111
120
|
"npm-run-all2": "^6.2.2",
|
|
112
121
|
"prettier": "^3.3.2",
|
|
122
|
+
"svelte": "^4.2.18",
|
|
113
123
|
"tsdown": "^0.2.3",
|
|
114
124
|
"tsx": "^4.16.2",
|
|
115
125
|
"typescript": "^5.5.3",
|
|
116
|
-
"typescript-eslint": "^
|
|
126
|
+
"typescript-eslint": "^8.1.0",
|
|
117
127
|
"vitest": "^2.0.0"
|
|
118
128
|
},
|
|
119
129
|
"prettier": "@kazupon/prettier-config",
|