@@ -24,6 +24,7 @@ import {
24
24
regexJsonSchema ,
25
25
} from '../utils/common-json-schemas'
26
26
import {
27
+ MISSED_COMMENT_ABOVE_ERROR ,
27
28
DEPENDENCY_ORDER_ERROR ,
28
29
MISSED_SPACING_ERROR ,
29
30
EXTRA_SPACING_ERROR ,
@@ -78,6 +79,7 @@ export type MESSAGE_ID =
78
79
| 'missedSpacingBetweenImports'
79
80
| 'unexpectedImportsGroupOrder'
80
81
| 'extraSpacingBetweenImports'
82
+ | 'missedCommentAboveImport'
81
83
| 'unexpectedImportsOrder'
82
84
83
85
export default createEslintRule < Options , MESSAGE_ID > ( {
@@ -384,6 +386,7 @@ export default createEslintRule<Options, MESSAGE_ID>({
384
386
missedSpacingBetweenMembers : 'missedSpacingBetweenImports' ,
385
387
extraSpacingBetweenMembers : 'extraSpacingBetweenImports' ,
386
388
unexpectedGroupOrder : 'unexpectedImportsGroupOrder' ,
389
+ missedCommentAbove : 'missedCommentAboveImport' ,
387
390
unexpectedOrder : 'unexpectedImportsOrder' ,
388
391
} ,
389
392
options : {
@@ -473,6 +476,7 @@ export default createEslintRule<Options, MESSAGE_ID>({
473
476
} ,
474
477
messages : {
475
478
unexpectedImportsDependencyOrder : DEPENDENCY_ORDER_ERROR ,
479
+ missedCommentAboveImport : MISSED_COMMENT_ABOVE_ERROR ,
476
480
missedSpacingBetweenImports : MISSED_SPACING_ERROR ,
477
481
extraSpacingBetweenImports : EXTRA_SPACING_ERROR ,
478
482
unexpectedImportsGroupOrder : GROUP_ORDER_ERROR ,
0 commit comments