Skip to content

Commit

Permalink
feat: cleanup main types
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Nov 20, 2024
1 parent 041dc1b commit a5ba37b
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
import type { Linter, Rule } from 'eslint';
import type { TSESLint } from '@typescript-eslint/utils';

import { SupportedTestingFramework } from './lib/utils';

declare const plugin: {
meta: {
name: string;
version: string;
};
configs: {
angular: Linter.LegacyConfig;
dom: Linter.LegacyConfig;
marko: Linter.LegacyConfig;
react: Linter.LegacyConfig;
vue: Linter.LegacyConfig;
'flat/angular': Linter.FlatConfig;
'flat/dom': Linter.FlatConfig;
'flat/marko': Linter.FlatConfig;
'flat/react': Linter.FlatConfig;
'flat/vue': Linter.FlatConfig;
};
rules: {
[key: string]: Rule.RuleModule;
};
configs: Record<SupportedTestingFramework, TSESLint.ClassicConfig> &
Record<`flat/${SupportedTestingFramework}`, TSESLint.FlatConfig>;
rules: Record<string, TSESLint.RuleModule>;
};

export = plugin;

0 comments on commit a5ba37b

Please sign in to comment.