Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 3a37d58

Browse files
committed
Add N rules
1 parent 229d6e8 commit 3a37d58

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/rules/n/no-missing-import.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import type { RuleConfig } from '../rule-config';
66
export interface NoMissingImportOption {
77
allowModules?: string[];
88
resolvePaths?: string[];
9+
typescriptExtensionMap?:
10+
| any[][]
11+
| ('react' | 'react-jsx' | 'react-jsxdev' | 'react-native' | 'preserve');
12+
tsconfigPath?: string;
913
}
1014

1115
/**

src/rules/n/no-missing-require.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ export interface NoMissingRequireOption {
77
allowModules?: string[];
88
tryExtensions?: string[];
99
resolvePaths?: string[];
10+
typescriptExtensionMap?:
11+
| any[][]
12+
| ('react' | 'react-jsx' | 'react-jsxdev' | 'react-native' | 'preserve');
13+
tsconfigPath?: string;
1014
}
1115

1216
/**

0 commit comments

Comments
 (0)