You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
* A value indicating whether getters should be checked.
19
+
*
20
+
* Besides setting as a boolean, this option can be set to the string `"no-setter"` to indicate that getters should be checked but only when there is no setter. This may be useful if one only wishes documentation on one of the two accessors.
* A value indicating whether setters should be checked.
29
+
*
30
+
* Besides setting as a boolean, this option can be set to the string `"no-getter"` to indicate that setters should be checked but only when there is no getter. This may be useful if one only wishes documentation on one of the two accessors.
* Set this to an array of strings or objects representing the additional AST contexts where you wish the rule to be applied (e.g., `Property` for properties).
9
39
*
@@ -24,6 +54,31 @@ export type RequireJsdocOption = {
24
54
inlineCommentBlock?: boolean;
25
55
}
26
56
>;
57
+
/**
58
+
* A boolean on whether to enable the fixer (which adds an empty jsdoc block).
* When `true`, the rule will not report missing jsdoc blocks above constructors with no parameters or return values (this is enabled by default as the class name or description should be seen as sufficient to convey intent).
* When `true`, the rule will not report missing jsdoc blocks above functions/methods with no parameters or return values (intended where function/method names are sufficient for themselves as documentation).
@@ -84,60 +139,6 @@ export type RequireJsdocOption = {
84
139
*/
85
140
MethodDefinition?: boolean;
86
141
};
87
-
/**
88
-
* When `true`, the rule will not report missing jsdoc blocks above constructors with no parameters or return values (this is enabled by default as the class name or description should be seen as sufficient to convey intent).
* When `true`, the rule will not report missing jsdoc blocks above functions/methods with no parameters or return values (intended where function/method names are sufficient for themselves as documentation).
* A value indicating whether getters should be checked.
115
-
*
116
-
* Besides setting as a boolean, this option can be set to the string `"no-setter"` to indicate that getters should be checked but only when there is no setter. This may be useful if one only wishes documentation on one of the two accessors.
* A value indicating whether setters should be checked.
125
-
*
126
-
* Besides setting as a boolean, this option can be set to the string `"no-getter"` to indicate that setters should be checked but only when there is no getter. This may be useful if one only wishes documentation on one of the two accessors.
0 commit comments