UNPKG

532 BTypeScriptView Raw
1import type { Linter, Rule } from 'eslint';
2
3declare const plugin: {
4 meta: {
5 name: string;
6 version: string;
7 };
8 environments: {
9 globals: {
10 globals: {
11 [key: string]: boolean;
12 };
13 };
14 };
15 configs: {
16 all: Linter.LegacyConfig;
17 recommended: Linter.LegacyConfig;
18 style: Linter.LegacyConfig;
19 'flat/all': Linter.FlatConfig;
20 'flat/recommended': Linter.FlatConfig;
21 'flat/style': Linter.FlatConfig;
22 };
23 rules: {
24 [key: string]: Rule.RuleModule;
25 };
26};
27
28export = plugin;