We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a0e751 commit 27748d3Copy full SHA for 27748d3
src/plugins/jsdoc.ts
@@ -15,7 +15,21 @@ export const settings: Linter.Config = {
15
// Rule is too strict.
16
"jsdoc/require-description-complete-sentence": "off",
17
"jsdoc/require-hyphen-before-param-description": "warn",
18
- "jsdoc/require-jsdoc": "warn",
+ "jsdoc/require-jsdoc": [
19
+ "warn",
20
+ {
21
+ require: {
22
+ FunctionDeclaration: false,
23
+ },
24
+ contexts: [
25
+ ":not(TSDeclareFunction) + FunctionDeclaration",
26
+ "TSDeclareFunction",
27
+ "TSTypeAliasDeclaration",
28
+ "TSEnumDeclaration",
29
+ ],
30
+ enableFixer: false,
31
32
33
"jsdoc/require-param-description": "warn",
34
"jsdoc/require-param-name": "warn",
35
"jsdoc/require-returns-check": "warn",
0 commit comments