forked from import-js/eslint-plugin-import
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.d.ts
33 lines (31 loc) · 837 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { ESLint, Linter, Rule } from 'eslint';
declare const plugin: ESLint.Plugin & {
meta: {
name: string;
version: string;
};
configs: {
'recommended': Linter.LegacyConfig;
'errors': Linter.LegacyConfig;
'warnings': Linter.LegacyConfig;
'stage-0': Linter.LegacyConfig;
'react': Linter.LegacyConfig;
'react-native': Linter.LegacyConfig;
'electron': Linter.LegacyConfig;
'typescript': Linter.LegacyConfig;
};
flatConfigs: {
'recommended': Linter.FlatConfig;
'errors': Linter.FlatConfig;
'warnings': Linter.FlatConfig;
'stage-0': Linter.FlatConfig;
'react': Linter.FlatConfig;
'react-native': Linter.FlatConfig;
'electron': Linter.FlatConfig;
'typescript': Linter.FlatConfig;
};
rules: {
[key: string]: Rule.RuleModule;
};
};
export = plugin;