@kouts/eslint-config 3.1.4 → 3.1.6

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,33 +1,12 @@
1
- import { Linter, ESLint } from 'eslint';
2
- import globals from 'globals';
3
- import tseslint from 'typescript-eslint';
4
-
5
- type Globals = Linter.Globals;
6
- type Plugins = {
7
- '@stylistic': ESLint.Plugin;
8
- 'import-x': ESLint.Plugin;
9
- n: ESLint.Plugin;
10
- promise: ESLint.Plugin;
11
- 'typescript-eslint': typeof tseslint;
12
- };
13
- type NeostandardOptions = {
14
- env?: (keyof typeof globals)[];
15
- files?: string[];
16
- filesTs?: string[];
17
- globals?: Globals | string[];
18
- ignores?: string[];
19
- noJsx?: boolean;
20
- noStyle?: boolean;
21
- semi?: boolean;
22
- ts?: boolean;
23
- };
24
- declare const plugins: Plugins;
1
+ import { Linter } from 'eslint';
2
+ import { NeostandardOptions } from 'neostandard';
3
+ export { plugins } from 'neostandard';
25
4
 
26
5
  type Options = {
27
6
  vue?: boolean;
28
7
  vueVersion?: 2 | 3;
29
- vitest: boolean;
8
+ vitest?: boolean;
30
9
  } & NeostandardOptions;
31
10
  declare const config: (options?: Options) => Linter.Config[];
32
11
 
33
- export { config, plugins };
12
+ export { config };
package/dist/index.d.ts CHANGED
@@ -1,33 +1,12 @@
1
- import { Linter, ESLint } from 'eslint';
2
- import globals from 'globals';
3
- import tseslint from 'typescript-eslint';
4
-
5
- type Globals = Linter.Globals;
6
- type Plugins = {
7
- '@stylistic': ESLint.Plugin;
8
- 'import-x': ESLint.Plugin;
9
- n: ESLint.Plugin;
10
- promise: ESLint.Plugin;
11
- 'typescript-eslint': typeof tseslint;
12
- };
13
- type NeostandardOptions = {
14
- env?: (keyof typeof globals)[];
15
- files?: string[];
16
- filesTs?: string[];
17
- globals?: Globals | string[];
18
- ignores?: string[];
19
- noJsx?: boolean;
20
- noStyle?: boolean;
21
- semi?: boolean;
22
- ts?: boolean;
23
- };
24
- declare const plugins: Plugins;
1
+ import { Linter } from 'eslint';
2
+ import { NeostandardOptions } from 'neostandard';
3
+ export { plugins } from 'neostandard';
25
4
 
26
5
  type Options = {
27
6
  vue?: boolean;
28
7
  vueVersion?: 2 | 3;
29
- vitest: boolean;
8
+ vitest?: boolean;
30
9
  } & NeostandardOptions;
31
10
  declare const config: (options?: Options) => Linter.Config[];
32
11
 
33
- export { config, plugins };
12
+ export { config };