eslint-config-un 1.0.0-alpha.15 → 1.0.0-alpha.16
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 +0 -1
- package/dist/{angular-ZFGONNG5.js → angular-YWYEFAV2.js} +1 -1
- package/dist/{astro-6SPPSRQA.js → astro-UEHYHUGM.js} +2 -2
- package/dist/{ava-IO6ZXELD.js → ava-2FWTVEPL.js} +2 -2
- package/dist/{better-tailwind-FNHSFHYZ.js → better-tailwind-IDVBMJYC.js} +1 -1
- package/dist/{case-police-QTIM3NUF.js → case-police-KQAUMEVZ.js} +1 -1
- package/dist/{chunk-6RJG6B4Y.js → chunk-4TKBH2T4.js} +1 -1
- package/dist/{chunk-YFMHTZZZ.js → chunk-5LNWM35I.js} +2 -6
- package/dist/{chunk-2BBKB537.js → chunk-7EW5IVZK.js} +1 -1
- package/dist/{chunk-A57BVULE.js → chunk-7KNYEC34.js} +1 -1
- package/dist/{cli-YTJSWN4V.js → cli-GNVUFUFC.js} +1 -1
- package/dist/{cloudfront-functions-OU4634OO.js → cloudfront-functions-CD3ZDDC7.js} +2 -2
- package/dist/{compat-TYMUWVEZ.js → compat-NGZ6XXJ5.js} +1 -1
- package/dist/{cspell-QDOZWFC4.js → cspell-XAOY7ZA3.js} +1 -1
- package/dist/{css-B66S3I3H.js → css-HQN42EXD.js} +1 -1
- package/dist/{css-in-js-T5BZSDEE.js → css-in-js-QI3HM3BG.js} +1 -1
- package/dist/{cypress-VM4PMBDZ.js → cypress-65SJZMAU.js} +2 -2
- package/dist/{de-morgan-YVLXOZXF.js → de-morgan-CJFODBE4.js} +1 -1
- package/dist/{depend-MHNS5N2F.js → depend-6QYMABFF.js} +2 -2
- package/dist/{ember-LSRHJ7SQ.js → ember-VG6ZC62I.js} +2 -2
- package/dist/{erasable-syntax-only-OBTCSL27.js → erasable-syntax-only-MJ2R43BW.js} +1 -1
- package/dist/es-UTQINZDP.js +7 -0
- package/dist/{eslint-comments-7TF4UFF4.js → eslint-comments-2O66PB43.js} +1 -1
- package/dist/{eslint-plugin-UDOXOXEK.js → eslint-plugin-QWUYVKYP.js} +2 -2
- package/dist/{file-progress-HKX5TR3F.js → file-progress-2UQIEA3C.js} +1 -1
- package/dist/{graphql-UR5SUQ23.js → graphql-UI7ELKHF.js} +1 -1
- package/dist/{html-44X5CV25.js → html-OHG7TSOD.js} +1 -1
- package/dist/{import-P22DCT3J.js → import-MH27BMF3.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +68 -68
- package/dist/{jest-HFXUIO7F.js → jest-X45TYMJB.js} +2 -2
- package/dist/{js-YXGEV4GD.js → js-5W2SXIXZ.js} +1 -1
- package/dist/{js-inline-24EEJR5E.js → js-inline-LX3IH4XB.js} +1 -1
- package/dist/{jsdoc-TDY3I4S7.js → jsdoc-DZEF6I7M.js} +1 -1
- package/dist/{json-schema-validator-4NERYR6W.js → json-schema-validator-MMM46OLP.js} +2 -2
- package/dist/{jsonc-LOOFCMVP.js → jsonc-HNMKGYXX.js} +2 -2
- package/dist/{jsx-a11y-7JNZWW5C.js → jsx-a11y-7EIFOIF2.js} +1 -1
- package/dist/{lit-Z4S3DDFV.js → lit-MRMK4QP7.js} +2 -2
- package/dist/{markdown-RDN6VJYO.js → markdown-MPCMGISW.js} +2 -2
- package/dist/{math-L3HDG5ZY.js → math-JWZJBW53.js} +1 -1
- package/dist/{mdx-F7XXJVRU.js → mdx-YILHYDAT.js} +2 -2
- package/dist/{mocha-TL3I4LS4.js → mocha-SWEOKMHD.js} +2 -2
- package/dist/{nextjs-KXQX5GR2.js → nextjs-GFXG5JVJ.js} +1 -1
- package/dist/{no-only-tests-MO75G7V3.js → no-only-tests-VQWB2FVR.js} +2 -2
- package/dist/{no-stylistic-rules-G54INGJF.js → no-stylistic-rules-IAUHSEHB.js} +1 -1
- package/dist/{no-unsanitized-P3YTDMSI.js → no-unsanitized-IBRZ27Q4.js} +1 -1
- package/dist/{node-O2V7Y54C.js → node-KIPPIDUQ.js} +1 -1
- package/dist/{node-dependencies-MVMYIYM2.js → node-dependencies-P3UTM3J7.js} +2 -2
- package/dist/{package-json-G52S5DEC.js → package-json-O7RB3GEZ.js} +2 -2
- package/dist/{perfectionist-4CPH4E22.js → perfectionist-PIE4UHVT.js} +1 -1
- package/dist/{playwright-2QMKYCFV.js → playwright-UY6E5Q32.js} +2 -2
- package/dist/{pnpm-JB6CHWSI.js → pnpm-6U2Q4HBW.js} +1 -1
- package/dist/{prefer-arrow-functions-AIQSPYZI.js → prefer-arrow-functions-3MC5ELG7.js} +1 -1
- package/dist/{promise-SVBDM7B5.js → promise-UNK6VJDP.js} +1 -1
- package/dist/{qwik-7UYJITDH.js → qwik-AWKZWU3E.js} +1 -1
- package/dist/{react-ZTVZUVGN.js → react-Y33IGMCN.js} +2 -2
- package/dist/{regexp-ZWUAFGHY.js → regexp-O2ZKAVZY.js} +1 -1
- package/dist/{security-AG4DWBEH.js → security-UGTKLQFQ.js} +1 -1
- package/dist/{solid-EY4WAYIG.js → solid-SCP262ZV.js} +1 -1
- package/dist/{sonar-32BSVXAW.js → sonar-YNG6I5HV.js} +1 -1
- package/dist/{storybook-HUKBVEVW.js → storybook-3JREBY5R.js} +1 -1
- package/dist/{svelte-UHE24AYG.js → svelte-UQLM5KIR.js} +2 -2
- package/dist/{tailwind-GLK5II3H.js → tailwind-TTPVLQC2.js} +1 -1
- package/dist/{tanstack-query-DHF2RPFD.js → tanstack-query-YC7UMMAG.js} +1 -1
- package/dist/{testing-library-HKODELS7.js → testing-library-WKKD3DDM.js} +2 -2
- package/dist/{toml-SZTZFRWK.js → toml-OUO6CI2T.js} +2 -2
- package/dist/{ts-IRWXYK4B.js → ts-M6JIOGPO.js} +1 -1
- package/dist/{turbo-QJM4M36C.js → turbo-GGQWNFLH.js} +1 -1
- package/dist/{unicorn-HU4WANTH.js → unicorn-QIODLCMF.js} +1 -1
- package/dist/{unused-imports-5EJWQNJD.js → unused-imports-BSQ6ZTUZ.js} +1 -1
- package/dist/{vitest-SUNJXQGH.js → vitest-NPXPP2HF.js} +2 -2
- package/dist/{vue-ALJW74V3.js → vue-KBJKKQIK.js} +2 -2
- package/dist/{yaml-GSFGSGA6.js → yaml-SJWQRBL2.js} +2 -2
- package/dist/{you-dont-need-lodash-underscore-733NY7HU.js → you-dont-need-lodash-underscore-QOKHFKMX.js} +1 -1
- package/package.json +2 -6
- package/dist/es-Y7P3OIBW.js +0 -7
package/README.md
CHANGED
|
@@ -80,7 +80,6 @@ yarn add -D https://registry.npmjs.org/eslint-config-un/-/eslint-config-un-<VERS
|
|
|
80
80
|
| `perfectionist` | `eslint-plugin-perfectionist` |
|
|
81
81
|
| `pinia` | `eslint-plugin-pinia` |
|
|
82
82
|
| `playwright` | `eslint-plugin-playwright` |
|
|
83
|
-
| `pnpm` | `eslint-plugin-pnpm` |
|
|
84
83
|
| `prefer-arrow-functions` | `eslint-plugin-prefer-arrow-functions` |
|
|
85
84
|
| `qwik` | `eslint-plugin-qwik` |
|
|
86
85
|
| `react-compiler` | `eslint-plugin-react-compiler` |
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
createConfigBuilder,
|
|
8
8
|
interopDefault,
|
|
9
9
|
pluginsLoaders
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5LNWM35I.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-7EIFOIF2.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-4TKBH2T4.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-5LNWM35I.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.16",
|
|
192
192
|
description: "A universal-ish ESLint config aiming to be reasonably strict and easily configurable.",
|
|
193
193
|
keywords: [
|
|
194
194
|
"eslint",
|
|
@@ -291,6 +291,7 @@ var package_default = {
|
|
|
291
291
|
"eslint-plugin-no-unsanitized": "4.1.2",
|
|
292
292
|
"eslint-plugin-node-dependencies": "1.1.2",
|
|
293
293
|
"eslint-plugin-package-json": "0.43.0",
|
|
294
|
+
"eslint-plugin-pnpm": "1.0.0",
|
|
294
295
|
"eslint-plugin-prettier": "file:./deps/eslint-plugin-prettier-5.5.0.tgz",
|
|
295
296
|
"eslint-plugin-promise": "7.2.1",
|
|
296
297
|
"eslint-plugin-regexp": "2.9.0",
|
|
@@ -363,7 +364,6 @@ var package_default = {
|
|
|
363
364
|
"eslint-plugin-perfectionist": "4.15.0",
|
|
364
365
|
"eslint-plugin-pinia": "0.4.1",
|
|
365
366
|
"eslint-plugin-playwright": "2.2.0",
|
|
366
|
-
"eslint-plugin-pnpm": "1.0.0",
|
|
367
367
|
"eslint-plugin-prefer-arrow-functions": "3.6.2",
|
|
368
368
|
"eslint-plugin-qwik": "1.14.1",
|
|
369
369
|
"eslint-plugin-react": "7.37.5",
|
|
@@ -420,7 +420,6 @@ var package_default = {
|
|
|
420
420
|
"eslint-plugin-perfectionist": "^4.15.0",
|
|
421
421
|
"eslint-plugin-pinia": "^0.4.1",
|
|
422
422
|
"eslint-plugin-playwright": "^2.2.0",
|
|
423
|
-
"eslint-plugin-pnpm": "^1.0.0",
|
|
424
423
|
"eslint-plugin-prefer-arrow-functions": "^3.6.2",
|
|
425
424
|
"eslint-plugin-qwik": "^1.14.1",
|
|
426
425
|
"eslint-plugin-react": "^7.37.5",
|
|
@@ -514,9 +513,6 @@ var package_default = {
|
|
|
514
513
|
"eslint-plugin-playwright": {
|
|
515
514
|
optional: true
|
|
516
515
|
},
|
|
517
|
-
"eslint-plugin-pnpm": {
|
|
518
|
-
optional: true
|
|
519
|
-
},
|
|
520
516
|
"eslint-plugin-prefer-arrow-functions": {
|
|
521
517
|
optional: true
|
|
522
518
|
},
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
esUnConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7KNYEC34.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
OFF,
|
|
7
7
|
assignDefaults,
|
|
8
8
|
createConfigBuilder
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5LNWM35I.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-4TKBH2T4.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-5LNWM35I.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-7EW5IVZK.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
assignDefaults,
|
|
7
7
|
createConfigBuilder,
|
|
8
8
|
interopDefault
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5LNWM35I.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-4TKBH2T4.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-5LNWM35I.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-4TKBH2T4.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-5LNWM35I.js";
|
|
12
12
|
|
|
13
13
|
// src/configs/eslint-plugin.ts
|
|
14
14
|
var eslintPluginUnConfig = (context) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -3192,7 +3192,7 @@ declare const pluginsLoaders: {
|
|
|
3192
3192
|
}>;
|
|
3193
3193
|
pnpm: (context: UnConfigContext, options?: LoadPluginOptions) => Promise<{
|
|
3194
3194
|
packageName: "eslint-plugin-pnpm";
|
|
3195
|
-
module: eslint__default.ESLint.Plugin
|
|
3195
|
+
module: eslint__default.ESLint.Plugin;
|
|
3196
3196
|
}>;
|
|
3197
3197
|
playwright: (context: UnConfigContext, options?: LoadPluginOptions) => Promise<{
|
|
3198
3198
|
packageName: "eslint-plugin-playwright";
|
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-5LNWM35I.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-5W2SXIXZ.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-UEHYHUGM.js").then((m) => m.astroUnConfig(context)),
|
|
312
|
+
isVueEnabled && import("./vue-KBJKKQIK.js").then((m) => m.vueUnConfig(context, { vanillaFinalFlatConfigRules })),
|
|
313
|
+
isSvelteEnabled && import("./svelte-UQLM5KIR.js").then((m) => m.svelteUnConfig(context))
|
|
314
314
|
]);
|
|
315
|
-
const tsEslintConfigResult = isTypescriptEnabled && await import("./ts-
|
|
315
|
+
const tsEslintConfigResult = isTypescriptEnabled && await import("./ts-M6JIOGPO.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-QIODLCMF.js").then((m) => m.unicornUnConfig(context)),
|
|
377
|
+
isImportEnabled && import("./import-MH27BMF3.js").then((m) => m.importUnConfig(context)),
|
|
378
|
+
isNodeEnabled && import("./node-KIPPIDUQ.js").then((m) => m.nodeUnConfig(context)),
|
|
379
|
+
isPromiseEnabled && import("./promise-UNK6VJDP.js").then((m) => m.promiseUnConfig(context)),
|
|
380
|
+
isSonarEnabled && import("./sonar-YNG6I5HV.js").then((m) => m.sonarUnConfig(context)),
|
|
381
|
+
isTailwindEnabled && import("./tailwind-TTPVLQC2.js").then((m) => m.tailwindUnConfig(context)),
|
|
382
|
+
isRegexpEnabled && import("./regexp-O2ZKAVZY.js").then((m) => m.regexpUnConfig(context)),
|
|
383
|
+
isEslintCommentsEnabled && import("./eslint-comments-2O66PB43.js").then((m) => m.eslintCommentsUnConfig(context)),
|
|
384
|
+
isCssInJsEnabled && import("./css-in-js-QI3HM3BG.js").then((m) => m.cssInJsUnConfig(context)),
|
|
385
|
+
isJestEnabled && import("./jest-X45TYMJB.js").then((m) => m.jestUnConfig(context)),
|
|
386
|
+
isVitestEnabled && import("./vitest-NPXPP2HF.js").then((m) => m.vitestUnConfig(context)),
|
|
387
|
+
isJsdocEnabled && import("./jsdoc-DZEF6I7M.js").then((m) => m.jsdocUnConfig(context)),
|
|
388
|
+
isQwikEnabled && import("./qwik-AWKZWU3E.js").then((m) => m.qwikUnConfig(context)),
|
|
389
|
+
isCssEnabled && import("./css-HQN42EXD.js").then((m) => m.cssUnConfig(context)),
|
|
390
|
+
isUnusedImportsEnabled && import("./unused-imports-BSQ6ZTUZ.js").then((m) => m.unusedImportsUnConfig(context)),
|
|
391
|
+
isReactEnabled && import("./react-Y33IGMCN.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-7EIFOIF2.js").then((m) => m.jsxA11yUnConfig(context)),
|
|
398
|
+
isPnpmEnabled && import("./pnpm-6U2Q4HBW.js").then((m) => m.pnpmUnConfig(context)),
|
|
399
|
+
isNextJsEnabled && import("./nextjs-GFXG5JVJ.js").then((m) => m.nextJsUnConfig(context)),
|
|
400
|
+
isSolidEnabled && import("./solid-SCP262ZV.js").then((m) => m.solidUnConfig(context)),
|
|
401
|
+
isJsInlineEnabled && import("./js-inline-LX3IH4XB.js").then((m) => m.jsInlineUnConfig(context)),
|
|
402
|
+
isHtmlEnabled && import("./html-OHG7TSOD.js").then((m) => m.htmlUnConfig(context)),
|
|
403
|
+
isMathEnabled && import("./math-JWZJBW53.js").then((m) => m.mathUnConfig(context)),
|
|
404
|
+
isTanstackQueryEnabled && import("./tanstack-query-YC7UMMAG.js").then((m) => m.tanstackQueryUnConfig(context)),
|
|
405
|
+
isAvaEnabled && import("./ava-2FWTVEPL.js").then((m) => m.avaUnConfig(context)),
|
|
406
|
+
isTestingLibraryEnabled && import("./testing-library-WKKD3DDM.js").then((m) => m.testingLibraryUnConfig(context)),
|
|
407
|
+
isStorybookEnabled && import("./storybook-3JREBY5R.js").then((m) => m.storybookUnConfig(context)),
|
|
408
|
+
isEmberEnabled && import("./ember-VG6ZC62I.js").then((m) => m.emberUnConfig(context)),
|
|
409
|
+
isCypressEnabled && import("./cypress-65SJZMAU.js").then((m) => m.cypressUnConfig(context)),
|
|
410
|
+
isTurboEnabled && import("./turbo-GGQWNFLH.js").then((m) => m.turboUnConfig(context)),
|
|
411
|
+
isNoUnsanitizedEnabled && import("./no-unsanitized-IBRZ27Q4.js").then((m) => m.noUnsanitizedUnConfig(context)),
|
|
412
|
+
isBetterTailwindEnabled && import("./better-tailwind-IDVBMJYC.js").then((m) => m.betterTailwindUnConfig(context)),
|
|
413
|
+
isMdxEnabled && import("./mdx-YILHYDAT.js").then((m) => m.mdxUnConfig(context)),
|
|
414
|
+
isPlaywrightEnabled && import("./playwright-UY6E5Q32.js").then((m) => m.playwrightUnConfig(context)),
|
|
415
|
+
isYouDontNeedLodashUnderscoreEnabled && import("./you-dont-need-lodash-underscore-QOKHFKMX.js").then(
|
|
416
416
|
(m) => m.youDontNeedLodashUnderscoreUnConfig(context)
|
|
417
417
|
),
|
|
418
|
-
isLitEnabled && import("./lit-
|
|
419
|
-
isMochaEnabled && import("./mocha-
|
|
418
|
+
isLitEnabled && import("./lit-MRMK4QP7.js").then((m) => m.litUnConfig(context)),
|
|
419
|
+
isMochaEnabled && import("./mocha-SWEOKMHD.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-UGTKLQFQ.js").then((m) => m.securityUnConfig(context)),
|
|
422
|
+
isPreferArrowFunctionsEnabled && import("./prefer-arrow-functions-3MC5ELG7.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-SJWQRBL2.js").then((m) => m.yamlUnConfig(context)),
|
|
426
|
+
isTomlEnabled && import("./toml-OUO6CI2T.js").then((m) => m.tomlUnConfig(context)),
|
|
427
|
+
isJsoncEnabled && import("./jsonc-HNMKGYXX.js").then((m) => m.jsoncUnConfig(context)),
|
|
428
|
+
isPackageJsonEnabled && import("./package-json-O7RB3GEZ.js").then((m) => m.packageJsonUnConfig(context)),
|
|
429
|
+
isPerfectionistEnabled && import("./perfectionist-PIE4UHVT.js").then((m) => m.perfectionistUnConfig(context)),
|
|
430
|
+
isDeMorganEnabled && import("./de-morgan-CJFODBE4.js").then((m) => m.deMorganUnConfig(context)),
|
|
431
|
+
isJsonSchemaValidatorEnabled && import("./json-schema-validator-MMM46OLP.js").then((m) => m.jsonSchemaValidatorUnConfig(context)),
|
|
432
|
+
isCasePoliceEnabled && import("./case-police-KQAUMEVZ.js").then((m) => m.casePoliceUnConfig(context)),
|
|
433
|
+
isNodeDependenciesEnabled && import("./node-dependencies-P3UTM3J7.js").then((m) => m.nodeDependenciesUnConfig(context)),
|
|
434
|
+
isDependEnabled && import("./depend-6QYMABFF.js").then((m) => m.dependUnConfig(context)),
|
|
435
|
+
isErasableSyntaxOnlyEnabled && import("./erasable-syntax-only-MJ2R43BW.js").then((m) => m.erasableSyntaxOnlyUnConfig(context)),
|
|
436
|
+
isCspellEnabled && import("./cspell-XAOY7ZA3.js").then((m) => m.cspellUnConfig(context)),
|
|
437
|
+
isEslintPluginEnabled && import("./eslint-plugin-QWUYVKYP.js").then((m) => m.eslintPluginUnConfig(context)),
|
|
438
|
+
isFileProgressEnabled && import("./file-progress-2UQIEA3C.js").then((m) => m.fileProgressUnConfig(context)),
|
|
439
|
+
isNoOnlyTestsEnabled && import("./no-only-tests-VQWB2FVR.js").then((m) => m.noOnlyTestsUnConfig(context)),
|
|
440
|
+
isCompatEnabled && import("./compat-NGZ6XXJ5.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-UTQINZDP.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-YWYEFAV2.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-UI7ELKHF.js").then((m) => m.graphqlUnConfig(context)),
|
|
455
|
+
isMarkdownEnabled && import("./markdown-MPCMGISW.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-GNVUFUFC.js").then((m) => m.cliUnConfig(context)),
|
|
459
|
+
isCloudfrontFunctionsEnabled && import("./cloudfront-functions-CD3ZDDC7.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-IAUHSEHB.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-4TKBH2T4.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-5LNWM35I.js";
|
|
18
18
|
|
|
19
19
|
// src/configs/jest.ts
|
|
20
20
|
var jestUnConfig = async (context) => {
|