@kazupon/eslint-config 0.30.0 → 0.31.1
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.d.ts +18 -0
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -74,6 +74,16 @@ interface CommentsRules {
|
|
|
74
74
|
* @see https://eslint-plugin.kazupon.dev/rules/enforce-header-comment
|
|
75
75
|
*/
|
|
76
76
|
"@kazupon/enforce-header-comment"?: Linter.RuleEntry<[]>;
|
|
77
|
+
/**
|
|
78
|
+
* disallow tag comments
|
|
79
|
+
* @see https://eslint-plugin.kazupon.dev/rules/no-tag-comments
|
|
80
|
+
*/
|
|
81
|
+
"@kazupon/no-tag-comments"?: Linter.RuleEntry<KazuponNoTagComments>;
|
|
82
|
+
/**
|
|
83
|
+
* enforce adding a scope to tag comments
|
|
84
|
+
* @see https://eslint-plugin.kazupon.dev/rules/prefer-scope-on-tag-comment
|
|
85
|
+
*/
|
|
86
|
+
"@kazupon/prefer-scope-on-tag-comment"?: Linter.RuleEntry<KazuponPreferScopeOnTagComment>;
|
|
77
87
|
}
|
|
78
88
|
/* ======= Declarations ======= */
|
|
79
89
|
// ----- @eslint-community/eslint-comments/disable-enable-pair -----
|
|
@@ -90,6 +100,14 @@ type EslintCommunityEslintCommentsNoUse = [] | [{
|
|
|
90
100
|
type EslintCommunityEslintCommentsRequireDescription = [] | [{
|
|
91
101
|
ignore?: ("eslint" | "eslint-disable" | "eslint-disable-line" | "eslint-disable-next-line" | "eslint-enable" | "eslint-env" | "exported" | "global" | "globals")[];
|
|
92
102
|
}];
|
|
103
|
+
// ----- @kazupon/no-tag-comments -----
|
|
104
|
+
type KazuponNoTagComments = [] | [{
|
|
105
|
+
tags?: [string, ...(string)[]];
|
|
106
|
+
}];
|
|
107
|
+
// ----- @kazupon/prefer-scope-on-tag-comment -----
|
|
108
|
+
type KazuponPreferScopeOnTagComment = [] | [{
|
|
109
|
+
tags?: [string, ...(string)[]];
|
|
110
|
+
}];
|
|
93
111
|
//#endregion
|
|
94
112
|
//#region src/types/gens/css.d.ts
|
|
95
113
|
interface CssRules {
|
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.31.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"email": "kawakazu80@gmail.com",
|
|
7
7
|
"name": "kazuya kawaguchi"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
53
53
|
"@eslint/js": "^9.28.0",
|
|
54
|
-
"@kazupon/eslint-plugin": "^0.
|
|
54
|
+
"@kazupon/eslint-plugin": "^0.4.0",
|
|
55
55
|
"@kazupon/jts-utils": "^0.6.0",
|
|
56
56
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
57
57
|
"eslint-flat-config-utils": "^2.1.0",
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"eslint-plugin-regexp": "^2.8.0",
|
|
197
197
|
"eslint-plugin-svelte": "^2.46.1",
|
|
198
198
|
"eslint-plugin-toml": "^0.12.0",
|
|
199
|
-
"eslint-plugin-unicorn": "^59.0.
|
|
199
|
+
"eslint-plugin-unicorn": "^59.0.1",
|
|
200
200
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
201
201
|
"eslint-plugin-vue": "^10.2.0",
|
|
202
202
|
"eslint-plugin-vue-composable": "^1.0.0",
|
|
@@ -207,9 +207,9 @@
|
|
|
207
207
|
"gh-changelogen": "^0.2.8",
|
|
208
208
|
"jiti": "^2.4.2",
|
|
209
209
|
"knip": "^5.60.2",
|
|
210
|
-
"lint-staged": "^16.
|
|
210
|
+
"lint-staged": "^16.1.0",
|
|
211
211
|
"prettier": "^3.5.3",
|
|
212
|
-
"svelte": "^5.33.
|
|
212
|
+
"svelte": "^5.33.17",
|
|
213
213
|
"tsdown": "^0.12.7",
|
|
214
214
|
"typescript": "^5.8.3",
|
|
215
215
|
"typescript-eslint": "^8.33.1",
|