@sxzz/eslint-config 3.12.0 → 3.12.1
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.ts +2 -3
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,8 +6,6 @@ import * as eslintPluginImportX from 'eslint-plugin-import-x';
|
|
|
6
6
|
export { eslintPluginImportX as pluginImport };
|
|
7
7
|
import * as eslintPluginJsonc from 'eslint-plugin-jsonc';
|
|
8
8
|
export { eslintPluginJsonc as pluginJsonc };
|
|
9
|
-
import * as eslintPluginUnusedImports from 'eslint-plugin-unused-imports';
|
|
10
|
-
export { eslintPluginUnusedImports as pluginUnusedImports };
|
|
11
9
|
import * as eslintPluginYml from 'eslint-plugin-yml';
|
|
12
10
|
export { eslintPluginYml as pluginYml };
|
|
13
11
|
import * as vueEslintParser from 'vue-eslint-parser';
|
|
@@ -98,6 +96,7 @@ declare const pluginPerfectionist: any;
|
|
|
98
96
|
declare const pluginUnocss: typeof _unocss_eslint_plugin.default;
|
|
99
97
|
declare const pluginPrettier: any;
|
|
100
98
|
declare const configPrettier: any;
|
|
99
|
+
declare const pluginUnusedImports: any;
|
|
101
100
|
|
|
102
101
|
/** Ignore common files and include javascript support */
|
|
103
102
|
declare const presetJavaScript: FlatESLintConfig[];
|
|
@@ -136,4 +135,4 @@ declare function sxzz(config?: FlatESLintConfig | FlatESLintConfig[], { command:
|
|
|
136
135
|
command: boolean;
|
|
137
136
|
}>): FlatESLintConfig[];
|
|
138
137
|
|
|
139
|
-
export { GLOB_ALL_SRC, 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, type InteropDefault, presetAll as all, presetBasic as basic, command, comments, configPrettier, getVueVersion, hasTypeScript, hasUnocss, hasVue, ignores, imports, isInEditor, javascript, jsonc, markdown, node, pluginAntfu, pluginComments, pluginMarkdown, pluginNode, pluginPerfectionist, pluginPrettier, pluginUnicorn, pluginUnocss, pluginVue, presetAll, presetBasic, presetJavaScript, presetJsonc, presetLangsExtensions, prettier, reactivityTransform, restrictedSyntaxJs, sortKeys, sortPackageJson, sortTsconfig, sxzz, typescript, typescriptCore, unicorn, unocss, vue, yml };
|
|
138
|
+
export { GLOB_ALL_SRC, 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, type InteropDefault, presetAll as all, presetBasic as basic, command, comments, configPrettier, getVueVersion, hasTypeScript, hasUnocss, hasVue, ignores, imports, isInEditor, javascript, jsonc, markdown, node, pluginAntfu, pluginComments, pluginMarkdown, pluginNode, pluginPerfectionist, pluginPrettier, pluginUnicorn, pluginUnocss, pluginUnusedImports, pluginVue, presetAll, presetBasic, presetJavaScript, presetJsonc, presetLangsExtensions, prettier, reactivityTransform, restrictedSyntaxJs, sortKeys, sortPackageJson, sortTsconfig, sxzz, typescript, typescriptCore, unicorn, unocss, vue, yml };
|
package/dist/index.js
CHANGED
|
@@ -10,9 +10,9 @@ import * as _pluginPerfectionist from "eslint-plugin-perfectionist";
|
|
|
10
10
|
import * as _pluginUnocss from "@unocss/eslint-plugin";
|
|
11
11
|
import * as _pluginPrettier from "eslint-plugin-prettier";
|
|
12
12
|
import * as _configPrettier from "eslint-config-prettier";
|
|
13
|
+
import * as _pluginUnusedImports from "eslint-plugin-unused-imports";
|
|
13
14
|
import * as pluginImport from "eslint-plugin-import-x";
|
|
14
15
|
import * as pluginJsonc from "eslint-plugin-jsonc";
|
|
15
|
-
import * as pluginUnusedImports from "eslint-plugin-unused-imports";
|
|
16
16
|
import * as pluginYml from "eslint-plugin-yml";
|
|
17
17
|
import * as parserVue from "vue-eslint-parser";
|
|
18
18
|
import * as parserYml from "yaml-eslint-parser";
|
|
@@ -32,6 +32,7 @@ var pluginPerfectionist = /* @__PURE__ */ interopDefault(_pluginPerfectionist);
|
|
|
32
32
|
var pluginUnocss = /* @__PURE__ */ interopDefault(_pluginUnocss);
|
|
33
33
|
var pluginPrettier = /* @__PURE__ */ interopDefault(_pluginPrettier);
|
|
34
34
|
var configPrettier = /* @__PURE__ */ interopDefault(_configPrettier);
|
|
35
|
+
var pluginUnusedImports = /* @__PURE__ */ interopDefault(_pluginUnusedImports);
|
|
35
36
|
|
|
36
37
|
// src/configs/command.ts
|
|
37
38
|
var command = [default2()];
|