eslint-plugin-export-component 0.0.0-alpha.2 → 0.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,32 +1,8 @@
1
- import { parse, parseForESLint } from '@typescript-eslint/parser';
2
- import { ESLint } from 'eslint';
1
+ import { Linter, ESLint } from 'eslint';
3
2
 
4
3
  declare const plugin: ESLint.Plugin;
5
4
  declare const configs: {
6
- recommended: {
7
- name: string;
8
- plugins: {
9
- 'eslint-plugin-export-component': ESLint.Plugin;
10
- };
11
- rules: {
12
- 'eslint-plugin-export-component/inline-default-export-function': string;
13
- };
14
- languageOptions: {
15
- parser: {
16
- parse: typeof parse;
17
- parseForESLint: typeof parseForESLint;
18
- };
19
- globals: {
20
- console: string;
21
- };
22
- };
23
- };
24
- 'recommended-legacy': {
25
- plugins: string[];
26
- rules: {
27
- 'eslint-plugin-export-component/inline-default-export-function': string;
28
- };
29
- };
5
+ recommended: Linter.Config;
30
6
  };
31
7
 
32
8
  export { configs, plugin as default };
package/dist/index.d.ts CHANGED
@@ -1,32 +1,8 @@
1
- import { parse, parseForESLint } from '@typescript-eslint/parser';
2
- import { ESLint } from 'eslint';
1
+ import { Linter, ESLint } from 'eslint';
3
2
 
4
3
  declare const plugin: ESLint.Plugin;
5
4
  declare const configs: {
6
- recommended: {
7
- name: string;
8
- plugins: {
9
- 'eslint-plugin-export-component': ESLint.Plugin;
10
- };
11
- rules: {
12
- 'eslint-plugin-export-component/inline-default-export-function': string;
13
- };
14
- languageOptions: {
15
- parser: {
16
- parse: typeof parse;
17
- parseForESLint: typeof parseForESLint;
18
- };
19
- globals: {
20
- console: string;
21
- };
22
- };
23
- };
24
- 'recommended-legacy': {
25
- plugins: string[];
26
- rules: {
27
- 'eslint-plugin-export-component/inline-default-export-function': string;
28
- };
29
- };
5
+ recommended: Linter.Config;
30
6
  };
31
7
 
32
8
  export { configs, plugin as default };