@kazupon/eslint-config 0.30.0 → 0.31.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 (2) hide show
  1. package/dist/index.d.ts +9 -0
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -74,6 +74,11 @@ 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>;
77
82
  }
78
83
  /* ======= Declarations ======= */
79
84
  // ----- @eslint-community/eslint-comments/disable-enable-pair -----
@@ -90,6 +95,10 @@ type EslintCommunityEslintCommentsNoUse = [] | [{
90
95
  type EslintCommunityEslintCommentsRequireDescription = [] | [{
91
96
  ignore?: ("eslint" | "eslint-disable" | "eslint-disable-line" | "eslint-disable-next-line" | "eslint-enable" | "eslint-env" | "exported" | "global" | "globals")[];
92
97
  }];
98
+ // ----- @kazupon/no-tag-comments -----
99
+ type KazuponNoTagComments = [] | [{
100
+ tags?: [string, ...(string)[]];
101
+ }];
93
102
  //#endregion
94
103
  //#region src/types/gens/css.d.ts
95
104
  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.30.0",
4
+ "version": "0.31.0",
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.2.2",
54
+ "@kazupon/eslint-plugin": "^0.3.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",