Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 229d6e8

Browse files
committed
Add jsdoc rules
1 parent e080528 commit 229d6e8

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

src/rules/jsdoc/informative-docs.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ import type { RuleConfig } from '../rule-config';
44
* Option.
55
*/
66
export interface InformativeDocsOption {
7-
aliases?: string[];
7+
aliases?: {
8+
/**
9+
*/
10+
[k: string]: string[];
11+
};
12+
excludedTags?: string[];
813
uselessWords?: string[];
914
}
1015

src/rules/jsdoc/require-returns.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,18 @@ export interface RequireReturnsOption {
1414
forceRequireReturn?: boolean;
1515
}
1616
)[];
17+
enableFixer?: boolean;
1718
exemptedBy?: string[];
1819
forceRequireReturn?: boolean;
1920
forceReturnsWithAsync?: boolean;
21+
publicOnly?:
22+
| boolean
23+
| {
24+
ancestorsOnly?: boolean;
25+
cjs?: boolean;
26+
esm?: boolean;
27+
window?: boolean;
28+
};
2029
}
2130

2231
/**

0 commit comments

Comments
 (0)