eslint-config-un 1.0.0-alpha.13 → 1.0.0-alpha.14
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/{angular-DHP7W6AX.js → angular-5DMQ6RDM.js} +1 -1
- package/dist/{astro-OBOGZNXU.js → astro-KVB7ATU2.js} +2 -2
- package/dist/{ava-RJJUGSBR.js → ava-M3BMVLGN.js} +2 -2
- package/dist/{better-tailwind-RJGV4GIR.js → better-tailwind-X7PO3LP2.js} +1 -1
- package/dist/{case-police-T42CRVQ3.js → case-police-CZW6MDXX.js} +1 -1
- package/dist/{chunk-2TD45ZYJ.js → chunk-BK3ATM7I.js} +1 -1
- package/dist/{chunk-25EOEUES.js → chunk-BN2S7ZH4.js} +1 -1
- package/dist/{chunk-MEHRKYGN.js → chunk-KQGVHDGS.js} +1 -1
- package/dist/{chunk-QKZ6AXKD.js → chunk-RAMEXQZ5.js} +1 -1
- package/dist/{cli-KGH2FPZ6.js → cli-B75WY4L6.js} +1 -1
- package/dist/{cloudfront-functions-EYFFYYT2.js → cloudfront-functions-HI6XEPKT.js} +2 -2
- package/dist/{compat-6GGJGQOF.js → compat-7XQEWN77.js} +1 -1
- package/dist/{cspell-PEFAN5CN.js → cspell-N7GLKTC5.js} +1 -1
- package/dist/{css-SFLK2WNT.js → css-WQH2LKFP.js} +1 -1
- package/dist/{css-in-js-F6APUP7K.js → css-in-js-JLOXLDIJ.js} +1 -1
- package/dist/{cypress-Y6RY7ZFZ.js → cypress-DA7J74H4.js} +2 -2
- package/dist/{de-morgan-N5GG5KIH.js → de-morgan-7AUYR3NC.js} +1 -1
- package/dist/{depend-KIVMKP5X.js → depend-VSYQMH2U.js} +2 -2
- package/dist/{ember-VWWU2KU3.js → ember-ATVJYIS4.js} +2 -2
- package/dist/{erasable-syntax-only-I3MYR7PJ.js → erasable-syntax-only-F5BMUOQK.js} +1 -1
- package/dist/es-3PIBZIHA.js +7 -0
- package/dist/{eslint-comments-QXMEK5OC.js → eslint-comments-LEBLFV2S.js} +1 -1
- package/dist/{eslint-plugin-VL5O35EA.js → eslint-plugin-TMPSBSLJ.js} +2 -2
- package/dist/{file-progress-HM5CUGON.js → file-progress-66M622QW.js} +1 -1
- package/dist/{graphql-7MMZT52G.js → graphql-LITDMEJW.js} +1 -1
- package/dist/{html-E3KJGDJE.js → html-ISDS6M6I.js} +1 -1
- package/dist/{import-JXXSWNNI.js → import-USOAV7SO.js} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +68 -68
- package/dist/{jest-A4KBTPO6.js → jest-FJITBJSC.js} +2 -2
- package/dist/{js-OKX4EES5.js → js-RLL7IHQC.js} +1 -1
- package/dist/{js-inline-YCLHOFXR.js → js-inline-TWDWPGG6.js} +1 -1
- package/dist/{jsdoc-4MZA5ZSC.js → jsdoc-XMEZGCS5.js} +1 -1
- package/dist/{json-schema-validator-GAVHMFQM.js → json-schema-validator-PIS2T7BX.js} +2 -2
- package/dist/{jsonc-ZJWLQKHM.js → jsonc-HBZ7N6WK.js} +2 -2
- package/dist/{jsx-a11y-PK5LEZSK.js → jsx-a11y-VLHIEVJO.js} +1 -1
- package/dist/{lit-AAAPGHTR.js → lit-BSGU2E4C.js} +2 -2
- package/dist/{markdown-BYYEL5EM.js → markdown-5V6JPZ7C.js} +2 -2
- package/dist/{math-C6BAK7OE.js → math-ZP62SAKP.js} +1 -1
- package/dist/{mdx-ZXFBF5FU.js → mdx-X5A44VPQ.js} +2 -2
- package/dist/{mocha-FM6Q4XU7.js → mocha-AH42ESWD.js} +2 -2
- package/dist/{nextjs-V2IP57GV.js → nextjs-E2446B3G.js} +1 -1
- package/dist/{no-only-tests-YQQAFYXV.js → no-only-tests-VERIH3TS.js} +2 -2
- package/dist/{no-stylistic-rules-ZGOLIBON.js → no-stylistic-rules-TTTFJC5U.js} +1 -2
- package/dist/{no-unsanitized-WM2QZYCF.js → no-unsanitized-DSNJIJWJ.js} +1 -1
- package/dist/{node-O2FB3XJO.js → node-372I6PAG.js} +1 -1
- package/dist/{node-dependencies-GC45HQOH.js → node-dependencies-ZWRSJ37Z.js} +2 -2
- package/dist/{package-json-WY2KEAFC.js → package-json-ELH5XFZN.js} +2 -2
- package/dist/{perfectionist-CSB7ZJXV.js → perfectionist-ESNI7IYA.js} +1 -1
- package/dist/{playwright-QU4XQBY6.js → playwright-KWU4XSRT.js} +2 -2
- package/dist/{pnpm-FX5PJAHN.js → pnpm-POJRCTVY.js} +1 -1
- package/dist/{prefer-arrow-functions-E557UPBZ.js → prefer-arrow-functions-BIRRY4WP.js} +1 -1
- package/dist/{promise-LUWAMCO6.js → promise-Q5T6XMBB.js} +1 -1
- package/dist/{qwik-2X5CZXMR.js → qwik-7I7AUDLM.js} +1 -1
- package/dist/{react-MKW4SVQU.js → react-BRWMDCZ6.js} +2 -2
- package/dist/{regexp-4VRL4FDE.js → regexp-KN2EVGUD.js} +1 -1
- package/dist/{security-324EVXHG.js → security-GTIB4UPG.js} +1 -1
- package/dist/{solid-D2E2XNZS.js → solid-JMFXRFF5.js} +1 -1
- package/dist/{sonar-H7MYPCUC.js → sonar-7ICIC2KD.js} +1 -1
- package/dist/{storybook-A675KKBD.js → storybook-BYT7BXSN.js} +1 -1
- package/dist/{svelte-LP4LXF2S.js → svelte-R7V2WF56.js} +2 -2
- package/dist/{tailwind-DB3MSXKP.js → tailwind-YIKAXT5R.js} +1 -1
- package/dist/{tanstack-query-LV3VCH4S.js → tanstack-query-P5RAWEXG.js} +1 -1
- package/dist/{testing-library-ZX7CQH5J.js → testing-library-OYLXZWQA.js} +2 -2
- package/dist/{toml-55QMBNDJ.js → toml-QX4OBOP2.js} +2 -2
- package/dist/{ts-KWQJ5KS7.js → ts-B65HEUVH.js} +1 -1
- package/dist/{turbo-ND4TBHCM.js → turbo-LNYCBDDH.js} +1 -1
- package/dist/{unicorn-WMR37NWU.js → unicorn-36ZI5CRX.js} +7 -4
- package/dist/{unused-imports-CORCCYIM.js → unused-imports-34VFEHWJ.js} +1 -1
- package/dist/{vitest-4VNVFQK5.js → vitest-CPNSRCZG.js} +2 -2
- package/dist/{vue-S2XTZTUM.js → vue-FAY3EE74.js} +2 -2
- package/dist/{yaml-GT2PU3LX.js → yaml-Y2R2GW2P.js} +7 -3
- package/dist/{you-dont-need-lodash-underscore-WG4XPVAV.js → you-dont-need-lodash-underscore-5CFZLPEZ.js} +1 -1
- package/package.json +1 -1
- package/dist/es-GHNMXYYS.js +0 -7
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
createConfigBuilder,
|
|
8
8
|
interopDefault,
|
|
9
9
|
pluginsLoaders
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BK3ATM7I.js";
|
|
11
11
|
|
|
12
12
|
// src/configs/astro.ts
|
|
13
13
|
var DEFAULT_ASTRO_FILES = [GLOB_ASTRO];
|
|
@@ -62,7 +62,7 @@ var astroUnConfig = async (context) => {
|
|
|
62
62
|
configs: [
|
|
63
63
|
configBuilder,
|
|
64
64
|
...configJsxA11y === false ? [] : await (async () => {
|
|
65
|
-
const { jsxA11yUnConfig } = await import("./jsx-a11y-
|
|
65
|
+
const { jsxA11yUnConfig } = await import("./jsx-a11y-VLHIEVJO.js");
|
|
66
66
|
const result = await jsxA11yUnConfig(context, {
|
|
67
67
|
prefix: "astro",
|
|
68
68
|
options: {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
RULES_TO_DISABLE_IN_TEST_FILES,
|
|
3
3
|
generateConfigNoOnlyTestsBuilder,
|
|
4
4
|
generateDefaultTestFiles
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BN2S7ZH4.js";
|
|
6
6
|
import {
|
|
7
7
|
ERROR,
|
|
8
8
|
GLOB_JS_TS_X_EXTENSION,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
WARNING,
|
|
11
11
|
assignDefaults,
|
|
12
12
|
createConfigBuilder
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BK3ATM7I.js";
|
|
14
14
|
|
|
15
15
|
// src/configs/ava.ts
|
|
16
16
|
var avaUnConfig = (context) => {
|
|
@@ -188,7 +188,7 @@ import stylistic from "@stylistic/eslint-plugin";
|
|
|
188
188
|
// package.json
|
|
189
189
|
var package_default = {
|
|
190
190
|
name: "eslint-config-un",
|
|
191
|
-
version: "1.0.0-alpha.
|
|
191
|
+
version: "1.0.0-alpha.14",
|
|
192
192
|
description: "A universal-ish ESLint config aiming to be reasonably strict and easily configurable.",
|
|
193
193
|
keywords: [
|
|
194
194
|
"eslint",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
esUnConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KQGVHDGS.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
OFF,
|
|
7
7
|
assignDefaults,
|
|
8
8
|
createConfigBuilder
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BK3ATM7I.js";
|
|
10
10
|
|
|
11
11
|
// src/configs/extra/cloudfront-functions.ts
|
|
12
12
|
var genSyntaxNotAllowedErrorMessage = (syntax, isPlural = false) => `${syntax} ${isPlural ? "are" : "is"} not allowed in CloudFront functions`;
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
RULES_TO_DISABLE_IN_TEST_FILES,
|
|
3
3
|
generateConfigNoOnlyTestsBuilder,
|
|
4
4
|
generateDefaultTestFiles
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BN2S7ZH4.js";
|
|
6
6
|
import {
|
|
7
7
|
ERROR,
|
|
8
8
|
GLOB_JS_TS_X_EXTENSION,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
WARNING,
|
|
11
11
|
assignDefaults,
|
|
12
12
|
createConfigBuilder
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BK3ATM7I.js";
|
|
14
14
|
|
|
15
15
|
// src/configs/cypress.ts
|
|
16
16
|
var cypressUnConfig = (context) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_FILES_PACKAGE_JSON
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RAMEXQZ5.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
assignDefaults,
|
|
7
7
|
createConfigBuilder,
|
|
8
8
|
interopDefault
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BK3ATM7I.js";
|
|
10
10
|
|
|
11
11
|
// src/configs/depend.ts
|
|
12
12
|
var dependUnConfig = async (context) => {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
RULES_TO_DISABLE_IN_TEST_FILES,
|
|
3
3
|
generateConfigNoOnlyTestsBuilder,
|
|
4
4
|
generateDefaultTestFiles
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BN2S7ZH4.js";
|
|
6
6
|
import {
|
|
7
7
|
ERROR,
|
|
8
8
|
GLOB_JS_TS,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
assignDefaults,
|
|
13
13
|
createConfigBuilder,
|
|
14
14
|
interopDefault
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BK3ATM7I.js";
|
|
16
16
|
|
|
17
17
|
// src/configs/ember.ts
|
|
18
18
|
var GLIMMER_TEMPLATES_FILES = ["**/*.{gjs,gts}"];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RULES_TO_DISABLE_IN_TEST_FILES,
|
|
3
3
|
generateDefaultTestFiles
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BN2S7ZH4.js";
|
|
5
5
|
import {
|
|
6
6
|
ERROR,
|
|
7
7
|
GLOB_JS_TS_EXTENSION,
|
|
8
8
|
OFF,
|
|
9
9
|
assignDefaults,
|
|
10
10
|
createConfigBuilder
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BK3ATM7I.js";
|
|
12
12
|
|
|
13
13
|
// src/configs/eslint-plugin.ts
|
|
14
14
|
var eslintPluginUnConfig = (context) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -4839,7 +4839,6 @@ declare const ALL_STYLISTIC_RULES: {
|
|
|
4839
4839
|
readonly 'no-unreadable-array-destructuring': true;
|
|
4840
4840
|
readonly 'no-unreadable-iife': true;
|
|
4841
4841
|
readonly 'no-useless-fallback-in-spread': true;
|
|
4842
|
-
readonly 'no-useless-undefined': true;
|
|
4843
4842
|
readonly 'no-zero-fractions': true;
|
|
4844
4843
|
readonly 'number-literal-case': true;
|
|
4845
4844
|
readonly 'numeric-separators-style': true;
|
|
@@ -6769,9 +6768,10 @@ interface YamlEslintConfigOptions extends UnConfigOptions<'yml'> {
|
|
|
6769
6768
|
*/
|
|
6770
6769
|
doNotMergeFilesWithDefault?: boolean;
|
|
6771
6770
|
/**
|
|
6771
|
+
* Set to `false` to not enforce the extension.
|
|
6772
6772
|
* @default 'yml'
|
|
6773
6773
|
*/
|
|
6774
|
-
enforceExtension?: 'yml' | 'yaml';
|
|
6774
|
+
enforceExtension?: 'yml' | 'yaml' | false;
|
|
6775
6775
|
doNotIgnoreFilesByDefault?: Partial<Record<(typeof DEFAULT_FILES_TO_IGNORE)[number], boolean>>;
|
|
6776
6776
|
/**
|
|
6777
6777
|
* Enforce a specific casing style for keys. It is not enforced by default, but passing an empty object here will enforce `camelCase` style (default value for this rule).
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
omit,
|
|
22
22
|
pluginsLoaders,
|
|
23
23
|
resolveOverrides
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BK3ATM7I.js";
|
|
25
25
|
|
|
26
26
|
// src/config.ts
|
|
27
27
|
import fs from "fs/promises";
|
|
@@ -302,17 +302,17 @@ var eslintConfigInternal = async (options = {}, internalOptions = {}) => {
|
|
|
302
302
|
logger,
|
|
303
303
|
debug
|
|
304
304
|
};
|
|
305
|
-
const jsEslintConfigResult = isJsEnabled && await import("./js-
|
|
305
|
+
const jsEslintConfigResult = isJsEnabled && await import("./js-RLL7IHQC.js").then((m) => m.jsUnConfig(context));
|
|
306
306
|
const vanillaFinalFlatConfigRules = (
|
|
307
307
|
// eslint-disable-next-line ts/no-unnecessary-condition -- TODO report?
|
|
308
308
|
jsEslintConfigResult && jsEslintConfigResult.finalFlatConfigRules || {}
|
|
309
309
|
);
|
|
310
310
|
const [astroEslintConfigResult, vueEslintConfigResult, svelteEslintConfigResult] = await Promise.all([
|
|
311
|
-
isAstroEnabled && import("./astro-
|
|
312
|
-
isVueEnabled && import("./vue-
|
|
313
|
-
isSvelteEnabled && import("./svelte-
|
|
311
|
+
isAstroEnabled && import("./astro-KVB7ATU2.js").then((m) => m.astroUnConfig(context)),
|
|
312
|
+
isVueEnabled && import("./vue-FAY3EE74.js").then((m) => m.vueUnConfig(context, { vanillaFinalFlatConfigRules })),
|
|
313
|
+
isSvelteEnabled && import("./svelte-R7V2WF56.js").then((m) => m.svelteUnConfig(context))
|
|
314
314
|
]);
|
|
315
|
-
const tsEslintConfigResult = isTypescriptEnabled && await import("./ts-
|
|
315
|
+
const tsEslintConfigResult = isTypescriptEnabled && await import("./ts-B65HEUVH.js").then(
|
|
316
316
|
(m) => m.tsUnConfig(context, {
|
|
317
317
|
vanillaFinalFlatConfigRules,
|
|
318
318
|
astroResolvedOptions: astroEslintConfigResult ? astroEslintConfigResult.optionsResolved : null,
|
|
@@ -373,90 +373,90 @@ var eslintConfigInternal = async (options = {}, internalOptions = {}) => {
|
|
|
373
373
|
},
|
|
374
374
|
/* Enabled by default or conditionally */
|
|
375
375
|
jsEslintConfigResult,
|
|
376
|
-
isUnicornEnabled && import("./unicorn-
|
|
377
|
-
isImportEnabled && import("./import-
|
|
378
|
-
isNodeEnabled && import("./node-
|
|
379
|
-
isPromiseEnabled && import("./promise-
|
|
380
|
-
isSonarEnabled && import("./sonar-
|
|
381
|
-
isTailwindEnabled && import("./tailwind-
|
|
382
|
-
isRegexpEnabled && import("./regexp-
|
|
383
|
-
isEslintCommentsEnabled && import("./eslint-comments-
|
|
384
|
-
isCssInJsEnabled && import("./css-in-js-
|
|
385
|
-
isJestEnabled && import("./jest-
|
|
386
|
-
isVitestEnabled && import("./vitest-
|
|
387
|
-
isJsdocEnabled && import("./jsdoc-
|
|
388
|
-
isQwikEnabled && import("./qwik-
|
|
389
|
-
isCssEnabled && import("./css-
|
|
390
|
-
isUnusedImportsEnabled && import("./unused-imports-
|
|
391
|
-
isReactEnabled && import("./react-
|
|
376
|
+
isUnicornEnabled && import("./unicorn-36ZI5CRX.js").then((m) => m.unicornUnConfig(context)),
|
|
377
|
+
isImportEnabled && import("./import-USOAV7SO.js").then((m) => m.importUnConfig(context)),
|
|
378
|
+
isNodeEnabled && import("./node-372I6PAG.js").then((m) => m.nodeUnConfig(context)),
|
|
379
|
+
isPromiseEnabled && import("./promise-Q5T6XMBB.js").then((m) => m.promiseUnConfig(context)),
|
|
380
|
+
isSonarEnabled && import("./sonar-7ICIC2KD.js").then((m) => m.sonarUnConfig(context)),
|
|
381
|
+
isTailwindEnabled && import("./tailwind-YIKAXT5R.js").then((m) => m.tailwindUnConfig(context)),
|
|
382
|
+
isRegexpEnabled && import("./regexp-KN2EVGUD.js").then((m) => m.regexpUnConfig(context)),
|
|
383
|
+
isEslintCommentsEnabled && import("./eslint-comments-LEBLFV2S.js").then((m) => m.eslintCommentsUnConfig(context)),
|
|
384
|
+
isCssInJsEnabled && import("./css-in-js-JLOXLDIJ.js").then((m) => m.cssInJsUnConfig(context)),
|
|
385
|
+
isJestEnabled && import("./jest-FJITBJSC.js").then((m) => m.jestUnConfig(context)),
|
|
386
|
+
isVitestEnabled && import("./vitest-CPNSRCZG.js").then((m) => m.vitestUnConfig(context)),
|
|
387
|
+
isJsdocEnabled && import("./jsdoc-XMEZGCS5.js").then((m) => m.jsdocUnConfig(context)),
|
|
388
|
+
isQwikEnabled && import("./qwik-7I7AUDLM.js").then((m) => m.qwikUnConfig(context)),
|
|
389
|
+
isCssEnabled && import("./css-WQH2LKFP.js").then((m) => m.cssUnConfig(context)),
|
|
390
|
+
isUnusedImportsEnabled && import("./unused-imports-34VFEHWJ.js").then((m) => m.unusedImportsUnConfig(context)),
|
|
391
|
+
isReactEnabled && import("./react-BRWMDCZ6.js").then(
|
|
392
392
|
(m) => m.reactUnConfig(context, {
|
|
393
393
|
tsFilesTypeAware: typeof tsEslintConfigResult === "object" && tsEslintConfigResult ? tsEslintConfigResult.filesTypeAware : [],
|
|
394
394
|
tsIgnoresTypeAware: typeof tsEslintConfigResult === "object" && tsEslintConfigResult ? tsEslintConfigResult.ignoresTypeAware : []
|
|
395
395
|
})
|
|
396
396
|
),
|
|
397
|
-
isJsxA11yEnabled && import("./jsx-a11y-
|
|
398
|
-
isPnpmEnabled && import("./pnpm-
|
|
399
|
-
isNextJsEnabled && import("./nextjs-
|
|
400
|
-
isSolidEnabled && import("./solid-
|
|
401
|
-
isJsInlineEnabled && import("./js-inline-
|
|
402
|
-
isHtmlEnabled && import("./html-
|
|
403
|
-
isMathEnabled && import("./math-
|
|
404
|
-
isTanstackQueryEnabled && import("./tanstack-query-
|
|
405
|
-
isAvaEnabled && import("./ava-
|
|
406
|
-
isTestingLibraryEnabled && import("./testing-library-
|
|
407
|
-
isStorybookEnabled && import("./storybook-
|
|
408
|
-
isEmberEnabled && import("./ember-
|
|
409
|
-
isCypressEnabled && import("./cypress-
|
|
410
|
-
isTurboEnabled && import("./turbo-
|
|
411
|
-
isNoUnsanitizedEnabled && import("./no-unsanitized-
|
|
412
|
-
isBetterTailwindEnabled && import("./better-tailwind-
|
|
413
|
-
isMdxEnabled && import("./mdx-
|
|
414
|
-
isPlaywrightEnabled && import("./playwright-
|
|
415
|
-
isYouDontNeedLodashUnderscoreEnabled && import("./you-dont-need-lodash-underscore-
|
|
397
|
+
isJsxA11yEnabled && import("./jsx-a11y-VLHIEVJO.js").then((m) => m.jsxA11yUnConfig(context)),
|
|
398
|
+
isPnpmEnabled && import("./pnpm-POJRCTVY.js").then((m) => m.pnpmUnConfig(context)),
|
|
399
|
+
isNextJsEnabled && import("./nextjs-E2446B3G.js").then((m) => m.nextJsUnConfig(context)),
|
|
400
|
+
isSolidEnabled && import("./solid-JMFXRFF5.js").then((m) => m.solidUnConfig(context)),
|
|
401
|
+
isJsInlineEnabled && import("./js-inline-TWDWPGG6.js").then((m) => m.jsInlineUnConfig(context)),
|
|
402
|
+
isHtmlEnabled && import("./html-ISDS6M6I.js").then((m) => m.htmlUnConfig(context)),
|
|
403
|
+
isMathEnabled && import("./math-ZP62SAKP.js").then((m) => m.mathUnConfig(context)),
|
|
404
|
+
isTanstackQueryEnabled && import("./tanstack-query-P5RAWEXG.js").then((m) => m.tanstackQueryUnConfig(context)),
|
|
405
|
+
isAvaEnabled && import("./ava-M3BMVLGN.js").then((m) => m.avaUnConfig(context)),
|
|
406
|
+
isTestingLibraryEnabled && import("./testing-library-OYLXZWQA.js").then((m) => m.testingLibraryUnConfig(context)),
|
|
407
|
+
isStorybookEnabled && import("./storybook-BYT7BXSN.js").then((m) => m.storybookUnConfig(context)),
|
|
408
|
+
isEmberEnabled && import("./ember-ATVJYIS4.js").then((m) => m.emberUnConfig(context)),
|
|
409
|
+
isCypressEnabled && import("./cypress-DA7J74H4.js").then((m) => m.cypressUnConfig(context)),
|
|
410
|
+
isTurboEnabled && import("./turbo-LNYCBDDH.js").then((m) => m.turboUnConfig(context)),
|
|
411
|
+
isNoUnsanitizedEnabled && import("./no-unsanitized-DSNJIJWJ.js").then((m) => m.noUnsanitizedUnConfig(context)),
|
|
412
|
+
isBetterTailwindEnabled && import("./better-tailwind-X7PO3LP2.js").then((m) => m.betterTailwindUnConfig(context)),
|
|
413
|
+
isMdxEnabled && import("./mdx-X5A44VPQ.js").then((m) => m.mdxUnConfig(context)),
|
|
414
|
+
isPlaywrightEnabled && import("./playwright-KWU4XSRT.js").then((m) => m.playwrightUnConfig(context)),
|
|
415
|
+
isYouDontNeedLodashUnderscoreEnabled && import("./you-dont-need-lodash-underscore-5CFZLPEZ.js").then(
|
|
416
416
|
(m) => m.youDontNeedLodashUnderscoreUnConfig(context)
|
|
417
417
|
),
|
|
418
|
-
isLitEnabled && import("./lit-
|
|
419
|
-
isMochaEnabled && import("./mocha-
|
|
418
|
+
isLitEnabled && import("./lit-BSGU2E4C.js").then((m) => m.litUnConfig(context)),
|
|
419
|
+
isMochaEnabled && import("./mocha-AH42ESWD.js").then((m) => m.mochaUnConfig(context)),
|
|
420
420
|
/* Disabled by default */
|
|
421
|
-
isSecurityEnabled && import("./security-
|
|
422
|
-
isPreferArrowFunctionsEnabled && import("./prefer-arrow-functions-
|
|
421
|
+
isSecurityEnabled && import("./security-GTIB4UPG.js").then((m) => m.securityUnConfig(context)),
|
|
422
|
+
isPreferArrowFunctionsEnabled && import("./prefer-arrow-functions-BIRRY4WP.js").then(
|
|
423
423
|
(m) => m.preferArrowFunctionsUnConfig(context)
|
|
424
424
|
),
|
|
425
|
-
isYamlEnabled && import("./yaml-
|
|
426
|
-
isTomlEnabled && import("./toml-
|
|
427
|
-
isJsoncEnabled && import("./jsonc-
|
|
428
|
-
isPackageJsonEnabled && import("./package-json-
|
|
429
|
-
isPerfectionistEnabled && import("./perfectionist-
|
|
430
|
-
isDeMorganEnabled && import("./de-morgan-
|
|
431
|
-
isJsonSchemaValidatorEnabled && import("./json-schema-validator-
|
|
432
|
-
isCasePoliceEnabled && import("./case-police-
|
|
433
|
-
isNodeDependenciesEnabled && import("./node-dependencies-
|
|
434
|
-
isDependEnabled && import("./depend-
|
|
435
|
-
isErasableSyntaxOnlyEnabled && import("./erasable-syntax-only-
|
|
436
|
-
isCspellEnabled && import("./cspell-
|
|
437
|
-
isEslintPluginEnabled && import("./eslint-plugin-
|
|
438
|
-
isFileProgressEnabled && import("./file-progress-
|
|
439
|
-
isNoOnlyTestsEnabled && import("./no-only-tests-
|
|
440
|
-
isCompatEnabled && import("./compat-
|
|
425
|
+
isYamlEnabled && import("./yaml-Y2R2GW2P.js").then((m) => m.yamlUnConfig(context)),
|
|
426
|
+
isTomlEnabled && import("./toml-QX4OBOP2.js").then((m) => m.tomlUnConfig(context)),
|
|
427
|
+
isJsoncEnabled && import("./jsonc-HBZ7N6WK.js").then((m) => m.jsoncUnConfig(context)),
|
|
428
|
+
isPackageJsonEnabled && import("./package-json-ELH5XFZN.js").then((m) => m.packageJsonUnConfig(context)),
|
|
429
|
+
isPerfectionistEnabled && import("./perfectionist-ESNI7IYA.js").then((m) => m.perfectionistUnConfig(context)),
|
|
430
|
+
isDeMorganEnabled && import("./de-morgan-7AUYR3NC.js").then((m) => m.deMorganUnConfig(context)),
|
|
431
|
+
isJsonSchemaValidatorEnabled && import("./json-schema-validator-PIS2T7BX.js").then((m) => m.jsonSchemaValidatorUnConfig(context)),
|
|
432
|
+
isCasePoliceEnabled && import("./case-police-CZW6MDXX.js").then((m) => m.casePoliceUnConfig(context)),
|
|
433
|
+
isNodeDependenciesEnabled && import("./node-dependencies-ZWRSJ37Z.js").then((m) => m.nodeDependenciesUnConfig(context)),
|
|
434
|
+
isDependEnabled && import("./depend-VSYQMH2U.js").then((m) => m.dependUnConfig(context)),
|
|
435
|
+
isErasableSyntaxOnlyEnabled && import("./erasable-syntax-only-F5BMUOQK.js").then((m) => m.erasableSyntaxOnlyUnConfig(context)),
|
|
436
|
+
isCspellEnabled && import("./cspell-N7GLKTC5.js").then((m) => m.cspellUnConfig(context)),
|
|
437
|
+
isEslintPluginEnabled && import("./eslint-plugin-TMPSBSLJ.js").then((m) => m.eslintPluginUnConfig(context)),
|
|
438
|
+
isFileProgressEnabled && import("./file-progress-66M622QW.js").then((m) => m.fileProgressUnConfig(context)),
|
|
439
|
+
isNoOnlyTestsEnabled && import("./no-only-tests-VERIH3TS.js").then((m) => m.noOnlyTestsUnConfig(context)),
|
|
440
|
+
isCompatEnabled && import("./compat-7XQEWN77.js").then((m) => m.compatUnConfig(context)),
|
|
441
441
|
/* Other configs */
|
|
442
442
|
tsEslintConfigResult,
|
|
443
443
|
// Must come after all rulesets for vanilla JS
|
|
444
|
-
isEsEnabled && import("./es-
|
|
444
|
+
isEsEnabled && import("./es-3PIBZIHA.js").then((m) => m.esUnConfig(context)),
|
|
445
445
|
// Must come after ts
|
|
446
446
|
vueEslintConfigResult,
|
|
447
447
|
// Must come after ts
|
|
448
448
|
astroEslintConfigResult,
|
|
449
449
|
// Must come after ts
|
|
450
|
-
isAngularEnabled && import("./angular-
|
|
450
|
+
isAngularEnabled && import("./angular-5DMQ6RDM.js").then((m) => m.angularUnConfig(context)),
|
|
451
451
|
// Must come after ts
|
|
452
452
|
svelteEslintConfigResult,
|
|
453
453
|
// Must be after ts
|
|
454
|
-
isGraphqlEnabled && import("./graphql-
|
|
455
|
-
isMarkdownEnabled && import("./markdown-
|
|
454
|
+
isGraphqlEnabled && import("./graphql-LITDMEJW.js").then((m) => m.graphqlUnConfig(context)),
|
|
455
|
+
isMarkdownEnabled && import("./markdown-5V6JPZ7C.js").then((m) => m.markdownUnConfig(context)),
|
|
456
456
|
// Must be last
|
|
457
457
|
rootConfigBuilder,
|
|
458
|
-
isCliEnabled && import("./cli-
|
|
459
|
-
isCloudfrontFunctionsEnabled && import("./cloudfront-functions-
|
|
458
|
+
isCliEnabled && import("./cli-B75WY4L6.js").then((m) => m.cliUnConfig(context)),
|
|
459
|
+
isCloudfrontFunctionsEnabled && import("./cloudfront-functions-HI6XEPKT.js").then(
|
|
460
460
|
(m) => m.cloudfrontFunctionsEslintConfig(context)
|
|
461
461
|
),
|
|
462
462
|
...extraConfigs.map((config, configIndex) => ({
|
|
@@ -465,7 +465,7 @@ var eslintConfigInternal = async (options = {}, internalOptions = {}) => {
|
|
|
465
465
|
name: genFlatConfigEntryName(`extra-config/${config.name || `unnamed${configIndex}`}`)
|
|
466
466
|
})),
|
|
467
467
|
// MUST be last
|
|
468
|
-
isNoStylisticRulesEnabled && import("./no-stylistic-rules-
|
|
468
|
+
isNoStylisticRulesEnabled && import("./no-stylistic-rules-TTTFJC5U.js").then((m) => m.noStylisticRulesUnConfig(context)),
|
|
469
469
|
disablePrettierIncompatibleRules && interopDefault(import("eslint-config-prettier")).then((eslintConfigPrettier) => ({
|
|
470
470
|
name: genFlatConfigEntryName("eslint-config-prettier"),
|
|
471
471
|
rules: Object.fromEntries(
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
generateConfigNoOnlyTestsBuilder,
|
|
4
4
|
generateConsistentTestItOptions,
|
|
5
5
|
generateDefaultTestFiles
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BN2S7ZH4.js";
|
|
7
7
|
import {
|
|
8
8
|
ERROR,
|
|
9
9
|
GLOB_JS_TS_X_EXTENSION,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
createConfigBuilder,
|
|
15
15
|
doesPackageExist,
|
|
16
16
|
pluginsLoaders
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BK3ATM7I.js";
|
|
18
18
|
|
|
19
19
|
// src/configs/jest.ts
|
|
20
20
|
var jestUnConfig = async (context) => {
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
JSONC_DEFAULT_FILES,
|
|
3
3
|
TOML_DEFAULT_FILES,
|
|
4
4
|
YAML_DEFAULT_FILES
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BN2S7ZH4.js";
|
|
6
6
|
import {
|
|
7
7
|
ERROR,
|
|
8
8
|
assignDefaults,
|
|
9
9
|
createConfigBuilder,
|
|
10
10
|
interopDefault
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BK3ATM7I.js";
|
|
12
12
|
|
|
13
13
|
// src/configs/json-schema-validator.ts
|
|
14
14
|
var jsonSchemaValidatorUnConfig = async (context) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
JSONC_DEFAULT_FILES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BN2S7ZH4.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
GLOB_JSON,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
assignDefaults,
|
|
11
11
|
createConfigBuilder,
|
|
12
12
|
interopDefault
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BK3ATM7I.js";
|
|
14
14
|
|
|
15
15
|
// src/configs/jsonc.ts
|
|
16
16
|
var jsoncUnConfig = async (context) => {
|