This repository was archived by the owner on Mar 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ import type { RequireReturnsTypeRule } from './require-returns-type';
44
44
import type { RequireThrowsRule } from './require-throws' ;
45
45
import type { RequireYieldsRule } from './require-yields' ;
46
46
import type { RequireYieldsCheckRule } from './require-yields-check' ;
47
+ import type { SortTagsRule } from './sort-tags' ;
47
48
import type { TagLinesRule } from './tag-lines' ;
48
49
import type { ValidTypesRule } from './valid-types' ;
49
50
@@ -96,5 +97,6 @@ export type JSDocRules = CheckAccessRule &
96
97
RequireThrowsRule &
97
98
RequireYieldsRule &
98
99
RequireYieldsCheckRule &
100
+ SortTagsRule &
99
101
TagLinesRule &
100
102
ValidTypesRule ;
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 SortTagsOption {
7
+ alphabetizeExtras ?: boolean ;
8
+ tagSequence ?: string [ ] ;
9
+ [ k : string ] : any ;
10
+ }
11
+
12
+ /**
13
+ * Options.
14
+ */
15
+ export type SortTagsOptions = [ SortTagsOption ?] ;
16
+
17
+ /**
18
+ *
19
+ *
20
+ * @see [sort-tags](https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-sort-tags)
21
+ */
22
+ export type SortTagsRuleConfig = RuleConfig < SortTagsOptions > ;
23
+
24
+ /**
25
+ *
26
+ *
27
+ * @see [sort-tags](https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-sort-tags)
28
+ */
29
+ export interface SortTagsRule {
30
+ /**
31
+ *
32
+ *
33
+ * @see [sort-tags](https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-sort-tags)
34
+ */
35
+ 'jsdoc/sort-tags' : SortTagsRuleConfig ;
36
+ }
You can’t perform that action at this time.
0 commit comments