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 +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import type { MatchNameRule } from './match-name';
17
17
import type { MultilineBlocksRule } from './multiline-blocks' ;
18
18
import type { NoBadBlocksRule } from './no-bad-blocks' ;
19
19
import type { NoBlankBlockDescriptionsRule } from './no-blank-block-descriptions' ;
20
+ import type { NoBlankBlocksRule } from './no-blank-blocks' ;
20
21
import type { NoDefaultsRule } from './no-defaults' ;
21
22
import type { NoMissingSyntaxRule } from './no-missing-syntax' ;
22
23
import type { NoMultiAsterisksRule } from './no-multi-asterisks' ;
@@ -72,6 +73,7 @@ export type JSDocRules = CheckAccessRule &
72
73
MultilineBlocksRule &
73
74
NoBadBlocksRule &
74
75
NoBlankBlockDescriptionsRule &
76
+ NoBlankBlocksRule &
75
77
NoDefaultsRule &
76
78
NoMissingSyntaxRule &
77
79
NoMultiAsterisksRule &
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 NoBlankBlocksOption {
7
+ enableFixer ?: boolean ;
8
+ }
9
+
10
+ /**
11
+ * Options.
12
+ */
13
+ export type NoBlankBlocksOptions = [ NoBlankBlocksOption ?] ;
14
+
15
+ /**
16
+ * Removes empty blocks with nothing but possibly line breaks.
17
+ *
18
+ * @see [no-blank-blocks](https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-no-blank-blocks)
19
+ */
20
+ export type NoBlankBlocksRuleConfig = RuleConfig < NoBlankBlocksOptions > ;
21
+
22
+ /**
23
+ * Removes empty blocks with nothing but possibly line breaks.
24
+ *
25
+ * @see [no-blank-blocks](https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-no-blank-blocks)
26
+ */
27
+ export interface NoBlankBlocksRule {
28
+ /**
29
+ * Removes empty blocks with nothing but possibly line breaks.
30
+ *
31
+ * @see [no-blank-blocks](https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-no-blank-blocks)
32
+ */
33
+ 'jsdoc/no-blank-blocks' : NoBlankBlocksRuleConfig ;
34
+ }
You can’t perform that action at this time.
0 commit comments