eslint-plugin-jsdoc 57.1.1 → 57.2.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/src/rules.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  export interface Rules {
2
+ /** Checks that `@access` tags have a valid value. */
3
+ "jsdoc/check-access": [];
4
+
2
5
  /** Reports invalid alignment of JSDoc block asterisks. */
3
6
  "jsdoc/check-alignment":
4
7
  | []
@@ -90,6 +93,9 @@ export interface Rules {
90
93
  }
91
94
  ];
92
95
 
96
+ /** Reports against syntax not valid for the mode (e.g., Google Closure Compiler in non-Closure mode). */
97
+ "jsdoc/check-syntax": [];
98
+
93
99
  /** Reports invalid block tag names. */
94
100
  "jsdoc/check-tag-names":
95
101
  | []
@@ -102,6 +108,9 @@ export interface Rules {
102
108
  }
103
109
  ];
104
110
 
111
+ /** Checks that any `@template` names are actually used in the connected `@typedef` or type alias. */
112
+ "jsdoc/check-template-names": [];
113
+
105
114
  /** Reports invalid types. */
106
115
  "jsdoc/check-types":
107
116
  | []
@@ -112,6 +121,9 @@ export interface Rules {
112
121
  types?: boolean | string[];
113
122
  }[];
114
123
  noDefaults?: boolean;
124
+ /**
125
+ * @deprecated Use the `preferredTypes[preferredType]` setting of the same name instead
126
+ */
115
127
  unifyParentAndChildTypeChecks?: boolean;
116
128
  }
117
129
  ];
@@ -185,6 +197,9 @@ export interface Rules {
185
197
  }
186
198
  ];
187
199
 
200
+ /** Reports if JSDoc `import()` statements point to a package which is not listed in `dependencies` or `devDependencies` */
201
+ "jsdoc/imports-as-dependencies": [];
202
+
188
203
  /** This rule reports doc comments that only restate their attached name. */
189
204
  "jsdoc/informative-docs":
190
205
  | []
@@ -297,6 +312,9 @@ export interface Rules {
297
312
  }
298
313
  ];
299
314
 
315
+ /** Detects and removes extra lines of a blank block description */
316
+ "jsdoc/no-blank-block-descriptions": [];
317
+
300
318
  /** Removes empty blocks with nothing but possibly line breaks */
301
319
  "jsdoc/no-blank-blocks":
302
320
  | []
@@ -539,6 +557,9 @@ export interface Rules {
539
557
  }
540
558
  ];
541
559
 
560
+ /** Requires a type for @next tags */
561
+ "jsdoc/require-next-type": [];
562
+
542
563
  /** Requires that all function parameters are documented. */
543
564
  "jsdoc/require-param":
544
565
  | []
@@ -618,6 +639,18 @@ export interface Rules {
618
639
  }
619
640
  ];
620
641
 
642
+ /** Requires that all `@typedef` and `@namespace` tags have `@property` when their type is a plain `object`, `Object`, or `PlainObject`. */
643
+ "jsdoc/require-property": [];
644
+
645
+ /** Requires that each `@property` tag has a `description` value. */
646
+ "jsdoc/require-property-description": [];
647
+
648
+ /** Requires that all function `@property` tags have names. */
649
+ "jsdoc/require-property-name": [];
650
+
651
+ /** Requires that each `@property` tag has a `type` value. */
652
+ "jsdoc/require-property-type": [];
653
+
621
654
  /** Requires that returns are documented. */
622
655
  "jsdoc/require-returns":
623
656
  | []
@@ -715,6 +748,9 @@ export interface Rules {
715
748
  }
716
749
  ];
717
750
 
751
+ /** Requires a type for @throws tags */
752
+ "jsdoc/require-throws-type": [];
753
+
718
754
  /** Requires yields are documented. */
719
755
  "jsdoc/require-yields":
720
756
  | []
@@ -754,6 +790,9 @@ export interface Rules {
754
790
  }
755
791
  ];
756
792
 
793
+ /** Requires a type for @yields tags */
794
+ "jsdoc/require-yields-type": [];
795
+
757
796
  /** Sorts tags by a specified sequence according to tag name. */
758
797
  "jsdoc/sort-tags":
759
798
  | []