Skip to content

Commit 4c4013a

Browse files
authored
fix: Remove eslint-plugin-react from mport-types.d.ts (#200)
1 parent 7789b6e commit 4c4013a

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

import-types.d.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,6 @@ declare module 'eslint-plugin-react-hooks' {
3232
export const rules: Record<string, Rule.RuleModule>;
3333
}
3434

35-
declare module 'eslint-plugin-react' {
36-
import type { TSESLint } from '@typescript-eslint/utils';
37-
import type { Rule } from 'eslint';
38-
39-
40-
type ClassicConfig = Required<Pick<TSESLint.ClassicConfig.Config, 'parserOptions' | 'plugins' | 'rules'>>;
41-
type FlatConfig = Required<Pick<TSESLint.FlatConfig.Config, 'languageOptions' | 'plugins' | 'rules'>>;
42-
43-
const plugin: {
44-
configs: Record<'all' | 'recommended' | 'jsx-runtime', ClassicConfig> & { flat: Record<'all' | 'recommended' | 'jsx-runtime', FlatConfig> };
45-
rules: Record<string, Rule.RuleModule>;
46-
};
47-
48-
export default plugin;
49-
}
50-
5135
declare module 'eslint-plugin-jsx-a11y' {
5236
import type { TSESLint } from '@typescript-eslint/utils';
5337
import type { Rule } from 'eslint';

0 commit comments

Comments
 (0)