katon-labs-eslint-config 0.0.5-alpha.1 → 0.0.5-alpha.2
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.cjs +8 -8
- package/dist/index.d.cts +2934 -381
- package/dist/index.d.ts +2934 -381
- package/dist/index.js +5 -5
- package/package.json +12 -12
package/dist/index.cjs
CHANGED
|
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
|
|
30
30
|
// src/index.ts
|
|
31
|
-
var
|
|
32
|
-
__export(
|
|
31
|
+
var index_exports = {};
|
|
32
|
+
__export(index_exports, {
|
|
33
33
|
GLOB_ALL_SRC: () => GLOB_ALL_SRC,
|
|
34
34
|
GLOB_ASTRO: () => GLOB_ASTRO,
|
|
35
35
|
GLOB_ASTRO_TS: () => GLOB_ASTRO_TS,
|
|
@@ -61,7 +61,7 @@ __export(src_exports, {
|
|
|
61
61
|
GLOB_XML: () => GLOB_XML,
|
|
62
62
|
GLOB_YAML: () => GLOB_YAML,
|
|
63
63
|
StylisticConfigDefaults: () => StylisticConfigDefaults,
|
|
64
|
-
default: () =>
|
|
64
|
+
default: () => index_default,
|
|
65
65
|
ignores: () => ignores,
|
|
66
66
|
imports: () => imports,
|
|
67
67
|
katonlabs: () => katonlabs,
|
|
@@ -72,7 +72,7 @@ __export(src_exports, {
|
|
|
72
72
|
unicorn: () => unicorn,
|
|
73
73
|
vue: () => vue
|
|
74
74
|
});
|
|
75
|
-
module.exports = __toCommonJS(
|
|
75
|
+
module.exports = __toCommonJS(index_exports);
|
|
76
76
|
|
|
77
77
|
// src/factory.ts
|
|
78
78
|
var import_eslint_flat_config_utils = require("eslint-flat-config-utils");
|
|
@@ -304,9 +304,9 @@ function vue() {
|
|
|
304
304
|
rules: {
|
|
305
305
|
...import_eslint_plugin_vue.default.configs.base.rules,
|
|
306
306
|
...import_eslint_plugin_vue.default.configs.essential.rules,
|
|
307
|
-
...import_eslint_plugin_vue.default.configs["
|
|
308
|
-
...import_eslint_plugin_vue.default.configs["
|
|
309
|
-
...import_eslint_plugin_vue.default.configs["
|
|
307
|
+
...import_eslint_plugin_vue.default.configs["flat/essential"].map((c) => c.rules).reduce((acc, c) => ({ ...acc, ...c }), {}),
|
|
308
|
+
...import_eslint_plugin_vue.default.configs["flat/strongly-recommended"].map((c) => c.rules).reduce((acc, c) => ({ ...acc, ...c }), {}),
|
|
309
|
+
...import_eslint_plugin_vue.default.configs["flat/recommended"].map((c) => c.rules).reduce((acc, c) => ({ ...acc, ...c }), {}),
|
|
310
310
|
"vue/block-order": ["error", {
|
|
311
311
|
order: ["script", "template", "style"]
|
|
312
312
|
}],
|
|
@@ -567,7 +567,7 @@ function katonlabs(options = {}, ...userConfigs) {
|
|
|
567
567
|
}
|
|
568
568
|
|
|
569
569
|
// src/index.ts
|
|
570
|
-
var
|
|
570
|
+
var index_default = katonlabs;
|
|
571
571
|
// Annotate the CommonJS export names for ESM import in node:
|
|
572
572
|
0 && (module.exports = {
|
|
573
573
|
GLOB_ALL_SRC,
|