@ntnyq/eslint-config 2.0.0-beta.19 → 2.0.0-beta.20

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,22 +1,23 @@
1
1
  import { FlatESLintConfigItem } from 'eslint-define-config';
2
- import * as yamlEslintParser from 'yaml-eslint-parser';
3
- export { yamlEslintParser as parserYml };
4
- import * as vueEslintParser from 'vue-eslint-parser';
5
- export { vueEslintParser as parserVue };
6
- import * as jsoncEslintParser from 'jsonc-eslint-parser';
7
- export { jsoncEslintParser as parserJsonc };
8
- import * as astroEslintParser from 'astro-eslint-parser';
9
- export { astroEslintParser as parserAstro };
10
- import * as parser from '@typescript-eslint/parser';
11
- export { parser as parserTypescript };
12
- import * as eslintPluginYml from 'eslint-plugin-yml';
13
- export { eslintPluginYml as pluginYml };
14
- import * as eslintPluginAstro from 'eslint-plugin-astro';
15
- export { eslintPluginAstro as pluginAstro };
16
- import * as eslintPluginJsonc from 'eslint-plugin-jsonc';
17
- export { eslintPluginJsonc as pluginJsonc };
18
- import * as eslintPluginImport from 'eslint-plugin-import';
19
- export { eslintPluginImport as pluginImport };
2
+ export { default as pluginNode } from 'eslint-plugin-n';
3
+ export { default as pluginImport } from 'eslint-plugin-i';
4
+ export { default as pluginYml } from 'eslint-plugin-yml';
5
+ export { default as pluginVue } from 'eslint-plugin-vue';
6
+ export { default as pluginAstro } from 'eslint-plugin-astro';
7
+ export { default as pluginJsonc } from 'eslint-plugin-jsonc';
8
+ export { default as pluginReact } from 'eslint-plugin-react';
9
+ export { default as pluginUnoCSS } from '@unocss/eslint-plugin';
10
+ export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
11
+ export { default as pluginPrettier } from 'eslint-plugin-prettier';
12
+ export { default as pluginMarkdown } from 'eslint-plugin-markdown';
13
+ export { default as pluginReactHooks } from 'eslint-plugin-react-hooks';
14
+ export { default as pluginComments } from 'eslint-plugin-eslint-comments';
15
+ export { default as pluginTypeScript } from '@typescript-eslint/eslint-plugin';
16
+ export { default as parserYml } from 'yaml-eslint-parser';
17
+ export { default as parserVue } from 'vue-eslint-parser';
18
+ export { default as parserJsonc } from 'jsonc-eslint-parser';
19
+ export { default as parserAstro } from 'astro-eslint-parser';
20
+ export { default as parserTypescript } from '@typescript-eslint/parser';
20
21
 
21
22
  /**
22
23
  * @file shared constants
@@ -73,12 +74,16 @@ declare const vue: FlatESLintConfigItem[];
73
74
 
74
75
  declare const yml: FlatESLintConfigItem[];
75
76
 
77
+ declare const node: FlatESLintConfigItem[];
78
+
79
+ declare const sortPackageJson: FlatESLintConfigItem[];
80
+ declare const sortTsConfig: FlatESLintConfigItem[];
81
+
76
82
  declare const react: FlatESLintConfigItem[];
77
83
 
78
84
  declare const astro: FlatESLintConfigItem[];
79
85
 
80
86
  declare const jsonc: FlatESLintConfigItem[];
81
- declare const jsonOrder: FlatESLintConfigItem[];
82
87
 
83
88
  declare const imports: FlatESLintConfigItem[];
84
89
 
@@ -102,17 +107,4 @@ declare const typescript: FlatESLintConfigItem[];
102
107
  */
103
108
  declare const ignores: FlatESLintConfigItem[];
104
109
 
105
- /**
106
- * @file eslint plugins
107
- */
108
- declare const pluginVue: any;
109
- declare const pluginReact: any;
110
- declare const pluginUnoCSS: any;
111
- declare const pluginUnicorn: any;
112
- declare const pluginPrettier: any;
113
- declare const pluginMarkdown: any;
114
- declare const pluginComments: any;
115
- declare const pluginReactHooks: any;
116
- declare const pluginTypescript: any;
117
-
118
- export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, all, astro, basic, comments, common, getVueVersion, ignores, imports, javascript, jsonOrder, jsonc, jsx, markdown, ntnyq, pluginComments, pluginMarkdown, pluginPrettier, pluginReact, pluginReactHooks, pluginTypescript, pluginUnicorn, pluginUnoCSS, pluginVue, prettier, react, typescript, unicorn, unocss, vue, yml };
110
+ export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, all, astro, basic, comments, common, getVueVersion, ignores, imports, javascript, jsonc, jsx, markdown, node, ntnyq, prettier, react, sortPackageJson, sortTsConfig, typescript, unicorn, unocss, vue, yml };
package/dist/index.d.ts CHANGED
@@ -1,22 +1,23 @@
1
1
  import { FlatESLintConfigItem } from 'eslint-define-config';
2
- import * as yamlEslintParser from 'yaml-eslint-parser';
3
- export { yamlEslintParser as parserYml };
4
- import * as vueEslintParser from 'vue-eslint-parser';
5
- export { vueEslintParser as parserVue };
6
- import * as jsoncEslintParser from 'jsonc-eslint-parser';
7
- export { jsoncEslintParser as parserJsonc };
8
- import * as astroEslintParser from 'astro-eslint-parser';
9
- export { astroEslintParser as parserAstro };
10
- import * as parser from '@typescript-eslint/parser';
11
- export { parser as parserTypescript };
12
- import * as eslintPluginYml from 'eslint-plugin-yml';
13
- export { eslintPluginYml as pluginYml };
14
- import * as eslintPluginAstro from 'eslint-plugin-astro';
15
- export { eslintPluginAstro as pluginAstro };
16
- import * as eslintPluginJsonc from 'eslint-plugin-jsonc';
17
- export { eslintPluginJsonc as pluginJsonc };
18
- import * as eslintPluginImport from 'eslint-plugin-import';
19
- export { eslintPluginImport as pluginImport };
2
+ export { default as pluginNode } from 'eslint-plugin-n';
3
+ export { default as pluginImport } from 'eslint-plugin-i';
4
+ export { default as pluginYml } from 'eslint-plugin-yml';
5
+ export { default as pluginVue } from 'eslint-plugin-vue';
6
+ export { default as pluginAstro } from 'eslint-plugin-astro';
7
+ export { default as pluginJsonc } from 'eslint-plugin-jsonc';
8
+ export { default as pluginReact } from 'eslint-plugin-react';
9
+ export { default as pluginUnoCSS } from '@unocss/eslint-plugin';
10
+ export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
11
+ export { default as pluginPrettier } from 'eslint-plugin-prettier';
12
+ export { default as pluginMarkdown } from 'eslint-plugin-markdown';
13
+ export { default as pluginReactHooks } from 'eslint-plugin-react-hooks';
14
+ export { default as pluginComments } from 'eslint-plugin-eslint-comments';
15
+ export { default as pluginTypeScript } from '@typescript-eslint/eslint-plugin';
16
+ export { default as parserYml } from 'yaml-eslint-parser';
17
+ export { default as parserVue } from 'vue-eslint-parser';
18
+ export { default as parserJsonc } from 'jsonc-eslint-parser';
19
+ export { default as parserAstro } from 'astro-eslint-parser';
20
+ export { default as parserTypescript } from '@typescript-eslint/parser';
20
21
 
21
22
  /**
22
23
  * @file shared constants
@@ -73,12 +74,16 @@ declare const vue: FlatESLintConfigItem[];
73
74
 
74
75
  declare const yml: FlatESLintConfigItem[];
75
76
 
77
+ declare const node: FlatESLintConfigItem[];
78
+
79
+ declare const sortPackageJson: FlatESLintConfigItem[];
80
+ declare const sortTsConfig: FlatESLintConfigItem[];
81
+
76
82
  declare const react: FlatESLintConfigItem[];
77
83
 
78
84
  declare const astro: FlatESLintConfigItem[];
79
85
 
80
86
  declare const jsonc: FlatESLintConfigItem[];
81
- declare const jsonOrder: FlatESLintConfigItem[];
82
87
 
83
88
  declare const imports: FlatESLintConfigItem[];
84
89
 
@@ -102,17 +107,4 @@ declare const typescript: FlatESLintConfigItem[];
102
107
  */
103
108
  declare const ignores: FlatESLintConfigItem[];
104
109
 
105
- /**
106
- * @file eslint plugins
107
- */
108
- declare const pluginVue: any;
109
- declare const pluginReact: any;
110
- declare const pluginUnoCSS: any;
111
- declare const pluginUnicorn: any;
112
- declare const pluginPrettier: any;
113
- declare const pluginMarkdown: any;
114
- declare const pluginComments: any;
115
- declare const pluginReactHooks: any;
116
- declare const pluginTypescript: any;
117
-
118
- export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, all, astro, basic, comments, common, getVueVersion, ignores, imports, javascript, jsonOrder, jsonc, jsx, markdown, ntnyq, pluginComments, pluginMarkdown, pluginPrettier, pluginReact, pluginReactHooks, pluginTypescript, pluginUnicorn, pluginUnoCSS, pluginVue, prettier, react, typescript, unicorn, unocss, vue, yml };
110
+ export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_CSS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, all, astro, basic, comments, common, getVueVersion, ignores, imports, javascript, jsonc, jsx, markdown, node, ntnyq, prettier, react, sortPackageJson, sortTsConfig, typescript, unicorn, unocss, vue, yml };