eslint-config-un 1.0.0-alpha.45 → 1.0.0-alpha.46
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/eslint.d.mts +15 -15
- package/dist/vue.mjs +2 -1
- package/package.json +1 -1
package/dist/eslint.d.mts
CHANGED
|
@@ -44,7 +44,7 @@ import * as tailwind_csstree0 from "tailwind-csstree";
|
|
|
44
44
|
import * as toml_eslint_parser0 from "toml-eslint-parser";
|
|
45
45
|
import * as vue_eslint_parser0 from "vue-eslint-parser";
|
|
46
46
|
import * as yaml_eslint_parser0 from "yaml-eslint-parser";
|
|
47
|
-
import * as
|
|
47
|
+
import * as _eslint_core162 from "@eslint/core";
|
|
48
48
|
import { ConfigObject, Plugin as EslintPlugin, Processor as EslintProcessor, Severity as EslintSeverity } from "@eslint/core";
|
|
49
49
|
import * as eslint0 from "eslint";
|
|
50
50
|
import Eslint, { Linter } from "eslint";
|
|
@@ -5033,13 +5033,13 @@ declare const pluginsLoaders: {
|
|
|
5033
5033
|
"unique-test-case-names": eslint0.Rule.RuleModule;
|
|
5034
5034
|
};
|
|
5035
5035
|
configs: {
|
|
5036
|
-
all: eslint0.Linter.Config<
|
|
5037
|
-
"all-type-checked": eslint0.Linter.Config<
|
|
5038
|
-
recommended: eslint0.Linter.Config<
|
|
5039
|
-
rules: eslint0.Linter.Config<
|
|
5040
|
-
tests: eslint0.Linter.Config<
|
|
5041
|
-
"rules-recommended": eslint0.Linter.Config<
|
|
5042
|
-
"tests-recommended": eslint0.Linter.Config<
|
|
5036
|
+
all: eslint0.Linter.Config<_eslint_core162.RulesConfig>;
|
|
5037
|
+
"all-type-checked": eslint0.Linter.Config<_eslint_core162.RulesConfig>;
|
|
5038
|
+
recommended: eslint0.Linter.Config<_eslint_core162.RulesConfig>;
|
|
5039
|
+
rules: eslint0.Linter.Config<_eslint_core162.RulesConfig>;
|
|
5040
|
+
tests: eslint0.Linter.Config<_eslint_core162.RulesConfig>;
|
|
5041
|
+
"rules-recommended": eslint0.Linter.Config<_eslint_core162.RulesConfig>;
|
|
5042
|
+
"tests-recommended": eslint0.Linter.Config<_eslint_core162.RulesConfig>;
|
|
5043
5043
|
};
|
|
5044
5044
|
}, "eslint-plugin-eslint-plugin", true>;
|
|
5045
5045
|
'fast-import': ModuleLoader<EslintPlugin, "eslint-plugin-fast-import", true>;
|
|
@@ -5668,7 +5668,7 @@ declare const pluginsLoaders: {
|
|
|
5668
5668
|
"inconsistent-function-call": eslint0.Rule.RuleModule;
|
|
5669
5669
|
"no-use-of-empty-return-value": eslint0.Rule.RuleModule;
|
|
5670
5670
|
"enforce-trailing-comma": {
|
|
5671
|
-
meta:
|
|
5671
|
+
meta: _eslint_core162.RulesMeta<string, unknown[], unknown>;
|
|
5672
5672
|
create(context: eslint0.Rule.RuleContext): eslint0.Rule.NodeListener;
|
|
5673
5673
|
};
|
|
5674
5674
|
"void-use": eslint0.Rule.RuleModule;
|
|
@@ -8451,8 +8451,8 @@ type ParserPrefix = keyof typeof parsersLoaders;
|
|
|
8451
8451
|
//#endregion
|
|
8452
8452
|
//#region src/loaders/packages.d.ts
|
|
8453
8453
|
declare const packagesLoaders: {
|
|
8454
|
-
angularExtractInlineHtmlProcessor: ModuleLoader<EslintProcessor<string |
|
|
8455
|
-
astroClientSideTsProcessor: ModuleLoader<EslintProcessor<string |
|
|
8454
|
+
angularExtractInlineHtmlProcessor: ModuleLoader<EslintProcessor<string | _eslint_core162.ProcessorFile>, "@angular-eslint/eslint-plugin-template", true>;
|
|
8455
|
+
astroClientSideTsProcessor: ModuleLoader<EslintProcessor<string | _eslint_core162.ProcessorFile>, "eslint-plugin-astro", true>;
|
|
8456
8456
|
checkFileProcessor: ModuleLoader<{
|
|
8457
8457
|
preprocess(_: any, filename: any): {
|
|
8458
8458
|
text: string;
|
|
@@ -8631,7 +8631,7 @@ declare const packagesLoaders: {
|
|
|
8631
8631
|
parseForESLint: (...args: unknown[]) => unknown;
|
|
8632
8632
|
}, "typescript-eslint", false>;
|
|
8633
8633
|
vueBlocksProcessor: ModuleLoader<typeof eslint_processor_vue_blocks0.default, "eslint-processor-vue-blocks", true>;
|
|
8634
|
-
vueProcessor: ModuleLoader<EslintProcessor<string |
|
|
8634
|
+
vueProcessor: ModuleLoader<EslintProcessor<string | _eslint_core162.ProcessorFile>, "eslint-plugin-vue", true>;
|
|
8635
8635
|
};
|
|
8636
8636
|
type LoadablePackagePrefix = keyof typeof packagesLoaders;
|
|
8637
8637
|
interface PackageToLoadInfo<Packages extends LoadablePackagePrefix = LoadablePackagePrefix, ValueTransformFnContext = unknown> {
|
|
@@ -74284,9 +74284,9 @@ declare class ConfigEntryBuilder<ExtraPlugins extends ExtraPluginsType = never,
|
|
|
74284
74284
|
files?: (string | string[])[] | undefined;
|
|
74285
74285
|
ignores?: string[] | undefined;
|
|
74286
74286
|
language?: string | undefined;
|
|
74287
|
-
languageOptions?:
|
|
74288
|
-
linterOptions?:
|
|
74289
|
-
processor?: (string |
|
|
74287
|
+
languageOptions?: _eslint_core162.LanguageOptions | undefined;
|
|
74288
|
+
linterOptions?: _eslint_core162.LinterOptionsConfig | undefined;
|
|
74289
|
+
processor?: (string | _eslint_core162.Processor) | undefined;
|
|
74290
74290
|
plugins?: Record<string, EslintPlugin> | undefined;
|
|
74291
74291
|
settings?: Record<string, unknown> | undefined;
|
|
74292
74292
|
rules: Partial<RulesRecord>;
|
package/dist/vue.mjs
CHANGED
|
@@ -19,6 +19,7 @@ var vue_default = (async (context, optionsRaw, { vanillaFinalFlatConfigRules })
|
|
|
19
19
|
const vuePackageInfo = context.packagesInfo.vue;
|
|
20
20
|
const vuePackageMajorVersion = vuePackageInfo?.versions.major;
|
|
21
21
|
const optionsResolved = assignDefaults(optionsRaw, {
|
|
22
|
+
files: DEFAULT_VUE_FILES,
|
|
22
23
|
majorVersion: vuePackageMajorVersion === 2 || vuePackageMajorVersion === 3 ? vuePackageMajorVersion : 3,
|
|
23
24
|
enforceTypescriptInScriptSection: isTypescriptEnabled,
|
|
24
25
|
configA11y: true,
|
|
@@ -56,7 +57,7 @@ var vue_default = (async (context, optionsRaw, { vanillaFinalFlatConfigRules })
|
|
|
56
57
|
doNotIgnoreMarkdown: true,
|
|
57
58
|
parser: "vue-eslint-parser"
|
|
58
59
|
}], {
|
|
59
|
-
files: [...DEFAULT_VUE_FILES, ...optionsResolved.files
|
|
60
|
+
files: [...DEFAULT_VUE_FILES, ...optionsResolved.files],
|
|
60
61
|
...generatePackageToLoadProperty("processor", [
|
|
61
62
|
"mergeProcessors",
|
|
62
63
|
"vueProcessor",
|