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 +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
import type { DefaultRule } from './default' ;
2
+ import type { NamedRule } from './named' ;
2
3
import type { NoUnresolvedRule } from './no-unresolved' ;
3
4
4
5
/**
5
6
* All import rules.
6
7
*/
7
- export type ImportRules = DefaultRule & NoUnresolvedRule ;
8
+ export type ImportRules = DefaultRule & NamedRule & NoUnresolvedRule ;
Original file line number Diff line number Diff line change
1
+ import type { RuleConfig } from '../rule-config' ;
2
+
3
+ /**
4
+ * Verifies that all named imports are part of the set of named exports in the referenced module.
5
+ *
6
+ * @see [named](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/named.md)
7
+ */
8
+ export type NamedRuleConfig = RuleConfig < [ ] > ;
9
+
10
+ /**
11
+ * Verifies that all named imports are part of the set of named exports in the referenced module.
12
+ *
13
+ * @see [named](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/named.md)
14
+ */
15
+ export interface NamedRule {
16
+ /**
17
+ * Verifies that all named imports are part of the set of named exports in the referenced module.
18
+ *
19
+ * @see [named](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/named.md)
20
+ */
21
+ 'import/named' : NamedRuleConfig ;
22
+ }
You can’t perform that action at this time.
0 commit comments