This repository was archived by the owner on Mar 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +39
-0
lines changed Expand file tree Collapse file tree 4 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ import type { RequireYieldsRule } from './require-yields';
46
46
import type { RequireYieldsCheckRule } from './require-yields-check' ;
47
47
import type { SortTagsRule } from './sort-tags' ;
48
48
import type { TagLinesRule } from './tag-lines' ;
49
+ import type { TextEscapingRule } from './text-escaping' ;
49
50
import type { ValidTypesRule } from './valid-types' ;
50
51
51
52
/**
@@ -99,4 +100,5 @@ export type JSDocRules = CheckAccessRule &
99
100
RequireYieldsCheckRule &
100
101
SortTagsRule &
101
102
TagLinesRule &
103
+ TextEscapingRule &
102
104
ValidTypesRule ;
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ export interface RequireParamDescriptionOption {
11
11
context ?: string ;
12
12
}
13
13
) [ ] ;
14
+ defaultDestructuredRootDescription ?: string ;
15
+ setDefaultDestructuredRootDescription ?: boolean ;
14
16
}
15
17
16
18
/**
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ export interface RequireParamTypeOption {
11
11
context ?: string ;
12
12
}
13
13
) [ ] ;
14
+ defaultDestructuredRootType ?: string ;
15
+ setDefaultDestructuredRootType ?: boolean ;
14
16
}
15
17
16
18
/**
Original file line number Diff line number Diff line change
1
+ import type { RuleConfig } from '../rule-config' ;
2
+
3
+ /**
4
+ * Option.
5
+ */
6
+ export interface TextEscapingOption {
7
+ escapeHTML ?: boolean ;
8
+ escapeMarkdown ?: boolean ;
9
+ [ k : string ] : any ;
10
+ }
11
+
12
+ /**
13
+ * Options.
14
+ */
15
+ export type TextEscapingOptions = [ TextEscapingOption ?] ;
16
+
17
+ /**
18
+ *
19
+ * @see [text-escaping](https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-text-escaping)
20
+ */
21
+ export type TextEscapingRuleConfig = RuleConfig < TextEscapingOptions > ;
22
+
23
+ /**
24
+ *
25
+ * @see [text-escaping](https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-text-escaping)
26
+ */
27
+ export interface TextEscapingRule {
28
+ /**
29
+ *
30
+ * @see [text-escaping](https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-text-escaping)
31
+ */
32
+ 'jsdoc/text-escaping' : TextEscapingRuleConfig ;
33
+ }
You can’t perform that action at this time.
0 commit comments