-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimport-types.d.ts
89 lines (63 loc) · 2.46 KB
/
import-types.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
declare module 'eslint-plugin-promise' {
import type { TSESLint } from '@typescript-eslint/utils';
import type { Rule } from 'eslint';
const plugin: {
configs: {
'recommended': Required<Pick<TSESLint.ClassicConfig.Config, 'plugins' | 'rules'>>;
'flat/recommended': Required<Pick<TSESLint.FlatConfig.Config, 'plugins' | 'rules'>>;
};
rules: Record<string, Rule.RuleModule>;
};
export default plugin;
}
declare module 'eslint-plugin-lodash' {
import type { Rule } from 'eslint';
const plugin: { rules: Record<string, Rule.RuleModule> };
export default plugin;
}
declare module 'eslint-plugin-react-hooks' {
import type { TSESLint } from '@typescript-eslint/utils';
import type { Rule } from 'eslint';
export const configs: Record<'recommended', Required<Pick<TSESLint.ClassicConfig.Config, 'plugins' | 'rules'>>>;
export const rules: Record<string, Rule.RuleModule>;
}
declare module 'eslint-plugin-jsx-a11y' {
import type { TSESLint } from '@typescript-eslint/utils';
import type { Rule } from 'eslint';
const plugin: {
configs: Record<'recommended' | 'strict', TSESLint.ClassicConfig.Config>;
flatConfigs: Record<'recommended' | 'strict', TSESLint.FlatConfig.Config>;
rules: Record<string, Rule.RuleModule>;
};
export default plugin;
}
declare module '@next/eslint-plugin-next' {
import type { TSESLint } from '@typescript-eslint/utils';
import type { Rule } from 'eslint';
const plugin: {
configs: { recommended: TSESLint.ClassicConfig.Config };
rules: Record<string, Rule.RuleModule>;
};
export default plugin;
}
declare module 'eslint-plugin-security-node' {
import type { TSESLint } from '@typescript-eslint/utils';
import type { Rule } from 'eslint';
const plugin: {
configs: { recommended: TSESLint.ClassicConfig.Config };
rules: Record<string, Rule.RuleModule>;
};
export default plugin;
}
declare module 'eslint-plugin-cypress/flat' {
import type { TSESLint } from '@typescript-eslint/utils';
import type { Rule } from 'eslint';
const plugin: {
configs: {
globals: Required<Pick<TSESLint.FlatConfig.Config, 'plugins' | 'languageOptions'>>;
recommended: Required<Pick<TSESLint.FlatConfig.Config, 'plugins' | 'languageOptions' | 'rules'>>;
};
rules: Record<string, Rule.RuleModule>;
};
export default plugin;
}