@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/README.md +1 -0
- package/dist/index.cjs +298 -162
- package/dist/index.d.cts +25 -33
- package/dist/index.d.ts +25 -33
- package/dist/index.js +292 -159
- package/package.json +15 -15
package/dist/index.d.cts
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { FlatESLintConfigItem } from 'eslint-define-config';
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
|
|
19
|
-
export {
|
|
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
|
-
|
|
3
|
-
export {
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
|
|
19
|
-
export {
|
|
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 };
|