eslint-config-un 1.0.0-alpha.4 → 1.0.0-alpha.6
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-FLPN6RLW.js → angular-D434ECCT.js} +1 -1
- package/dist/{astro-ZKGFNBYT.js → astro-77PWEDJA.js} +2 -2
- package/dist/{ava-PWU5ZVPU.js → ava-OTKYU5N5.js} +2 -2
- package/dist/{better-tailwind-XHIYDYWB.js → better-tailwind-LXRHBWQB.js} +1 -1
- package/dist/{case-police-UXCAC5IN.js → case-police-JZMM6HGT.js} +1 -1
- package/dist/{chunk-NNRKE2I7.js → chunk-3DYOBUII.js} +5 -5
- package/dist/{chunk-U3N6PJYI.js → chunk-4W6PRGI2.js} +1 -1
- package/dist/{chunk-4GBE6KMV.js → chunk-CLQYBMTN.js} +1 -1
- package/dist/{chunk-DEACVSKH.js → chunk-K4YY34R2.js} +1 -1
- package/dist/{chunk-GGIT5HZQ.js → chunk-QSGAQ24J.js} +1 -1
- package/dist/{cli-QFVAVLQ5.js → cli-54Z6QR4K.js} +1 -1
- package/dist/{cloudfront-functions-LZ7TOXK4.js → cloudfront-functions-AERESJBQ.js} +2 -2
- package/dist/{cspell-6KZUNYDQ.js → cspell-A4YUIDDM.js} +1 -1
- package/dist/{css-MV2ZOVKA.js → css-VKW7Z7LW.js} +1 -1
- package/dist/{css-in-js-E4IT5MQI.js → css-in-js-J5TRYNLY.js} +1 -1
- package/dist/{cypress-BMFTMBG2.js → cypress-W75JOZAR.js} +2 -2
- package/dist/{de-morgan-P2Y7FFRR.js → de-morgan-ZFJ4NTMF.js} +1 -1
- package/dist/{depend-BLYRTLQ3.js → depend-MCNEZTSC.js} +2 -2
- package/dist/{ember-TGNMVBYB.js → ember-TLCECM4H.js} +2 -2
- package/dist/{erasable-syntax-only-TJZA3YF2.js → erasable-syntax-only-4U6QLHJF.js} +1 -1
- package/dist/es-LJVX5GID.js +7 -0
- package/dist/{eslint-comments-CKN3BQZP.js → eslint-comments-K7VWGLLR.js} +1 -1
- package/dist/{eslint-plugin-C7VIIAVQ.js → eslint-plugin-XRRES4BL.js} +2 -2
- package/dist/{file-progress-V7ISHYUH.js → file-progress-EW3DUDN7.js} +1 -1
- package/dist/{graphql-QKFY6II4.js → graphql-OOSILWCN.js} +1 -1
- package/dist/{html-BF3FAGLC.js → html-Y3S2BUAN.js} +1 -1
- package/dist/{import-KRVLUWUA.js → import-MZRUMRY5.js} +1 -1
- package/dist/index.js +62 -62
- package/dist/{jest-N3RO6STQ.js → jest-WTKHNGDF.js} +2 -2
- package/dist/{js-SOWXUO6F.js → js-KL4O4YFG.js} +1 -1
- package/dist/{js-inline-QGA37ISJ.js → js-inline-FVCYQFW7.js} +1 -1
- package/dist/{jsdoc-UYCHSJ7P.js → jsdoc-2CMN3KSQ.js} +1 -1
- package/dist/{json-schema-validator-BGLG6USM.js → json-schema-validator-RZ6RSDJH.js} +2 -2
- package/dist/{jsonc-2DITHYHO.js → jsonc-DWAKVDV3.js} +2 -2
- package/dist/jsx-a11y-H22TPK26.js +7 -0
- package/dist/{markdown-EKR576IT.js → markdown-F2W7EZD7.js} +2 -2
- package/dist/{math-Y33GWIDD.js → math-JE4X6P7Y.js} +1 -1
- package/dist/{mdx-ECVKQLZW.js → mdx-5A24F5LK.js} +2 -2
- package/dist/{nextjs-2N3QZ5CA.js → nextjs-HEZQNKKZ.js} +1 -1
- package/dist/{no-stylistic-rules-VB7HRFWD.js → no-stylistic-rules-JYYS6HHP.js} +1 -1
- package/dist/{no-unsanitized-X7PWZCSX.js → no-unsanitized-TZDMLYJK.js} +1 -1
- package/dist/{node-NBCXKE5O.js → node-H4GTF7RK.js} +1 -1
- package/dist/{node-dependencies-YWFXDABJ.js → node-dependencies-6XA4VZPN.js} +2 -2
- package/dist/{package-json-H4CRYIJI.js → package-json-M3TXKTU4.js} +2 -2
- package/dist/{perfectionist-HKPOPZM7.js → perfectionist-YNLIXAYD.js} +1 -1
- package/dist/{pnpm-5QRIOWP5.js → pnpm-RRLPXJHD.js} +1 -1
- package/dist/{prefer-arrow-functions-64W2NTCL.js → prefer-arrow-functions-KX3TD35F.js} +1 -1
- package/dist/{promise-DUXIBNNO.js → promise-W3QZW6TZ.js} +1 -1
- package/dist/{qwik-RMF5I7AG.js → qwik-GKWN3AUD.js} +1 -1
- package/dist/{react-CPUPAMVE.js → react-CRK5DKHR.js} +2 -2
- package/dist/{regexp-6VSZZJ23.js → regexp-VYBLZ6BB.js} +1 -1
- package/dist/{security-FVET6WYJ.js → security-PFX6ZIVQ.js} +1 -1
- package/dist/{solid-QT4LLFNL.js → solid-RYLUWYKW.js} +1 -1
- package/dist/{sonar-HAP4GZH4.js → sonar-7RA2GOCV.js} +1 -1
- package/dist/{storybook-LKFJYFPK.js → storybook-CXKUHXPT.js} +1 -1
- package/dist/{svelte-D6ZAO7SA.js → svelte-TA3N5FTD.js} +2 -2
- package/dist/{tailwind-MGZLEXHO.js → tailwind-VR5ZSWXM.js} +1 -1
- package/dist/{tanstack-query-SMWLRDQR.js → tanstack-query-AGXQEOIB.js} +1 -1
- package/dist/{testing-library-Y7SRCQO3.js → testing-library-I7E5XOXK.js} +2 -2
- package/dist/{toml-YACFMZ24.js → toml-G6D3KUS2.js} +2 -2
- package/dist/{ts-7FEMEBYL.js → ts-CEMDVHKW.js} +1 -1
- package/dist/{turbo-7P5DNXMB.js → turbo-LNW4OTKC.js} +1 -1
- package/dist/{unicorn-QOJJJYHW.js → unicorn-WYO5GCW4.js} +1 -1
- package/dist/{unused-imports-TB3YZQWW.js → unused-imports-QAUG7NSM.js} +1 -1
- package/dist/{vitest-JMGQXDIY.js → vitest-KIHU4JCX.js} +2 -2
- package/dist/{vue-HJSMI47X.js → vue-XNWLQOSM.js} +2 -2
- package/dist/{yaml-VQOPXDC5.js → yaml-MHJ37ZB3.js} +2 -2
- package/package.json +5 -5
- package/dist/es-ECTKO4KZ.js +0 -7
- package/dist/jsx-a11y-EL5GBZH4.js +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jsxA11yUnConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K4YY34R2.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
GLOB_ASTRO,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
defu,
|
|
11
11
|
interopDefault,
|
|
12
12
|
pluginsLoaders
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3DYOBUII.js";
|
|
14
14
|
|
|
15
15
|
// src/configs/astro.ts
|
|
16
16
|
var DEFAULT_ASTRO_FILES = [GLOB_ASTRO];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RULES_TO_DISABLE_IN_TEST_FILES,
|
|
3
3
|
generateDefaultTestFiles
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CLQYBMTN.js";
|
|
5
5
|
import {
|
|
6
6
|
ERROR,
|
|
7
7
|
GLOB_JS_TS_X_EXTENSION,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
WARNING,
|
|
10
10
|
createConfigBuilder,
|
|
11
11
|
defu
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3DYOBUII.js";
|
|
13
13
|
|
|
14
14
|
// src/configs/ava.ts
|
|
15
15
|
var avaUnConfig = (context) => {
|
|
@@ -139,7 +139,7 @@ import stylistic from "@stylistic/eslint-plugin";
|
|
|
139
139
|
// package.json
|
|
140
140
|
var package_default = {
|
|
141
141
|
name: "eslint-config-un",
|
|
142
|
-
version: "1.0.0-alpha.
|
|
142
|
+
version: "1.0.0-alpha.5",
|
|
143
143
|
description: "A universal-ish ESLint config aiming to be reasonably strict and easily configurable.",
|
|
144
144
|
keywords: [
|
|
145
145
|
"eslint",
|
|
@@ -219,8 +219,8 @@ var package_default = {
|
|
|
219
219
|
"@typescript-eslint/parser": "8.34.1",
|
|
220
220
|
"@vitest/eslint-plugin": "1.2.7",
|
|
221
221
|
"@vue/compiler-sfc": "3.5.16",
|
|
222
|
-
"angular-eslint-plugin-template17": "file
|
|
223
|
-
"angular-eslint-plugin18": "file
|
|
222
|
+
"angular-eslint-plugin-template17": "file:./deps/angular-eslint-eslint-plugin-template-17.5.3.tgz",
|
|
223
|
+
"angular-eslint-plugin18": "file:./deps/angular-eslint-eslint-plugin-18.4.3.tgz",
|
|
224
224
|
"astro-eslint-parser": "1.2.2",
|
|
225
225
|
consola: "3.4.2",
|
|
226
226
|
debug: "4.4.1",
|
|
@@ -255,7 +255,7 @@ var package_default = {
|
|
|
255
255
|
"eslint-plugin-math": "0.10.1",
|
|
256
256
|
"eslint-plugin-mdx": "3.5.0",
|
|
257
257
|
"eslint-plugin-n": "17.20.0",
|
|
258
|
-
"eslint-plugin-no-type-assertion": "file
|
|
258
|
+
"eslint-plugin-no-type-assertion": "file:./deps/eslint-plugin-no-type-assertion-1.3.0.tgz",
|
|
259
259
|
"eslint-plugin-no-unsanitized": "4.1.2",
|
|
260
260
|
"eslint-plugin-node-dependencies": "1.1.2",
|
|
261
261
|
"eslint-plugin-package-json": "0.40.0",
|
|
@@ -263,7 +263,7 @@ var package_default = {
|
|
|
263
263
|
"eslint-plugin-pinia": "0.4.1",
|
|
264
264
|
"eslint-plugin-pnpm": "0.3.1",
|
|
265
265
|
"eslint-plugin-prefer-arrow-functions": "3.6.2",
|
|
266
|
-
"eslint-plugin-prettier": "file
|
|
266
|
+
"eslint-plugin-prettier": "file:./deps/eslint-plugin-prettier-5.5.0.tgz",
|
|
267
267
|
"eslint-plugin-promise": "7.2.1",
|
|
268
268
|
"eslint-plugin-qwik": "1.14.1",
|
|
269
269
|
"eslint-plugin-react": "7.37.5",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
esUnConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4W6PRGI2.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
OFF,
|
|
7
7
|
createConfigBuilder,
|
|
8
8
|
defu
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3DYOBUII.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`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RULES_TO_DISABLE_IN_TEST_FILES,
|
|
3
3
|
generateDefaultTestFiles
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CLQYBMTN.js";
|
|
5
5
|
import {
|
|
6
6
|
ERROR,
|
|
7
7
|
GLOB_JS_TS_X_EXTENSION,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
WARNING,
|
|
10
10
|
createConfigBuilder,
|
|
11
11
|
defu
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3DYOBUII.js";
|
|
13
13
|
|
|
14
14
|
// src/configs/cypress.ts
|
|
15
15
|
var cypressUnConfig = (context) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_FILES_PACKAGE_JSON
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QSGAQ24J.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
createConfigBuilder,
|
|
7
7
|
defu,
|
|
8
8
|
interopDefault
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3DYOBUII.js";
|
|
10
10
|
|
|
11
11
|
// src/configs/depend.ts
|
|
12
12
|
var dependUnConfig = async (context) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RULES_TO_DISABLE_IN_TEST_FILES,
|
|
3
3
|
generateDefaultTestFiles
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CLQYBMTN.js";
|
|
5
5
|
import {
|
|
6
6
|
ERROR,
|
|
7
7
|
GLOB_JS_TS,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createConfigBuilder,
|
|
12
12
|
defu,
|
|
13
13
|
interopDefault
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3DYOBUII.js";
|
|
15
15
|
|
|
16
16
|
// src/configs/ember.ts
|
|
17
17
|
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-CLQYBMTN.js";
|
|
5
5
|
import {
|
|
6
6
|
ERROR,
|
|
7
7
|
GLOB_JS_TS_EXTENSION,
|
|
8
8
|
OFF,
|
|
9
9
|
createConfigBuilder,
|
|
10
10
|
defu
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3DYOBUII.js";
|
|
12
12
|
|
|
13
13
|
// src/configs/eslint-plugin.ts
|
|
14
14
|
var eslintPluginUnConfig = (context) => {
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
omit,
|
|
18
18
|
pluginsLoaders,
|
|
19
19
|
resolveOverrides
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3DYOBUII.js";
|
|
21
21
|
|
|
22
22
|
// src/config.ts
|
|
23
23
|
import fs from "fs/promises";
|
|
@@ -282,7 +282,7 @@ var eslintConfigInternal = async (options = {}, internalOptions = {}) => {
|
|
|
282
282
|
logger,
|
|
283
283
|
debug
|
|
284
284
|
};
|
|
285
|
-
const jsEslintConfigResult = isJsEnabled && await import("./js-
|
|
285
|
+
const jsEslintConfigResult = isJsEnabled && await import("./js-KL4O4YFG.js").then((m) => m.jsUnConfig(context));
|
|
286
286
|
const vanillaFinalFlatConfigRules = (
|
|
287
287
|
// eslint-disable-next-line ts/no-unnecessary-condition -- TODO report?
|
|
288
288
|
jsEslintConfigResult && jsEslintConfigResult.finalFlatConfigRules || {}
|
|
@@ -293,12 +293,12 @@ var eslintConfigInternal = async (options = {}, internalOptions = {}) => {
|
|
|
293
293
|
vueEslintConfigResult,
|
|
294
294
|
svelteEslintConfigResult
|
|
295
295
|
] = await Promise.all([
|
|
296
|
-
isAngularEnabled && import("./angular-
|
|
297
|
-
isAstroEnabled && import("./astro-
|
|
298
|
-
isVueEnabled && import("./vue-
|
|
299
|
-
isSvelteEnabled && import("./svelte-
|
|
296
|
+
isAngularEnabled && import("./angular-D434ECCT.js").then((m) => m.angularUnConfig(context)),
|
|
297
|
+
isAstroEnabled && import("./astro-77PWEDJA.js").then((m) => m.astroUnConfig(context)),
|
|
298
|
+
isVueEnabled && import("./vue-XNWLQOSM.js").then((m) => m.vueUnConfig(context, { vanillaFinalFlatConfigRules })),
|
|
299
|
+
isSvelteEnabled && import("./svelte-TA3N5FTD.js").then((m) => m.svelteUnConfig(context))
|
|
300
300
|
]);
|
|
301
|
-
const tsEslintConfigResult = isTypescriptEnabled && await import("./ts-
|
|
301
|
+
const tsEslintConfigResult = isTypescriptEnabled && await import("./ts-CEMDVHKW.js").then(
|
|
302
302
|
(m) => m.tsUnConfig(context, {
|
|
303
303
|
vanillaFinalFlatConfigRules,
|
|
304
304
|
astroResolvedOptions: astroEslintConfigResult ? astroEslintConfigResult.optionsResolved : null,
|
|
@@ -359,67 +359,67 @@ var eslintConfigInternal = async (options = {}, internalOptions = {}) => {
|
|
|
359
359
|
},
|
|
360
360
|
/* Enabled by default or conditionally */
|
|
361
361
|
jsEslintConfigResult,
|
|
362
|
-
isUnicornEnabled && import("./unicorn-
|
|
363
|
-
isImportEnabled && import("./import-
|
|
364
|
-
isNodeEnabled && import("./node-
|
|
365
|
-
isPromiseEnabled && import("./promise-
|
|
366
|
-
isSonarEnabled && import("./sonar-
|
|
367
|
-
isTailwindEnabled && import("./tailwind-
|
|
368
|
-
isRegexpEnabled && import("./regexp-
|
|
369
|
-
isEslintCommentsEnabled && import("./eslint-comments-
|
|
370
|
-
isCssInJsEnabled && import("./css-in-js-
|
|
371
|
-
isJestEnabled && import("./jest-
|
|
372
|
-
isVitestEnabled && import("./vitest-
|
|
373
|
-
isJsdocEnabled && import("./jsdoc-
|
|
374
|
-
isQwikEnabled && import("./qwik-
|
|
375
|
-
isCssEnabled && import("./css-
|
|
376
|
-
isUnusedImportsEnabled && import("./unused-imports-
|
|
377
|
-
isReactEnabled && import("./react-
|
|
362
|
+
isUnicornEnabled && import("./unicorn-WYO5GCW4.js").then((m) => m.unicornUnConfig(context)),
|
|
363
|
+
isImportEnabled && import("./import-MZRUMRY5.js").then((m) => m.importUnConfig(context)),
|
|
364
|
+
isNodeEnabled && import("./node-H4GTF7RK.js").then((m) => m.nodeUnConfig(context)),
|
|
365
|
+
isPromiseEnabled && import("./promise-W3QZW6TZ.js").then((m) => m.promiseUnConfig(context)),
|
|
366
|
+
isSonarEnabled && import("./sonar-7RA2GOCV.js").then((m) => m.sonarUnConfig(context)),
|
|
367
|
+
isTailwindEnabled && import("./tailwind-VR5ZSWXM.js").then((m) => m.tailwindUnConfig(context)),
|
|
368
|
+
isRegexpEnabled && import("./regexp-VYBLZ6BB.js").then((m) => m.regexpUnConfig(context)),
|
|
369
|
+
isEslintCommentsEnabled && import("./eslint-comments-K7VWGLLR.js").then((m) => m.eslintCommentsUnConfig(context)),
|
|
370
|
+
isCssInJsEnabled && import("./css-in-js-J5TRYNLY.js").then((m) => m.cssInJsUnConfig(context)),
|
|
371
|
+
isJestEnabled && import("./jest-WTKHNGDF.js").then((m) => m.jestUnConfig(context)),
|
|
372
|
+
isVitestEnabled && import("./vitest-KIHU4JCX.js").then((m) => m.vitestUnConfig(context)),
|
|
373
|
+
isJsdocEnabled && import("./jsdoc-2CMN3KSQ.js").then((m) => m.jsdocUnConfig(context)),
|
|
374
|
+
isQwikEnabled && import("./qwik-GKWN3AUD.js").then((m) => m.qwikUnConfig(context)),
|
|
375
|
+
isCssEnabled && import("./css-VKW7Z7LW.js").then((m) => m.cssUnConfig(context)),
|
|
376
|
+
isUnusedImportsEnabled && import("./unused-imports-QAUG7NSM.js").then((m) => m.unusedImportsUnConfig(context)),
|
|
377
|
+
isReactEnabled && import("./react-CRK5DKHR.js").then(
|
|
378
378
|
(m) => m.reactUnConfig(context, {
|
|
379
379
|
tsFilesTypeAware: typeof tsEslintConfigResult === "object" && tsEslintConfigResult ? tsEslintConfigResult.filesTypeAware : [],
|
|
380
380
|
tsIgnoresTypeAware: typeof tsEslintConfigResult === "object" && tsEslintConfigResult ? tsEslintConfigResult.ignoresTypeAware : []
|
|
381
381
|
})
|
|
382
382
|
),
|
|
383
|
-
isJsxA11yEnabled && import("./jsx-a11y-
|
|
384
|
-
isPnpmEnabled && import("./pnpm-
|
|
385
|
-
isNextJsEnabled && import("./nextjs-
|
|
386
|
-
isSolidEnabled && import("./solid-
|
|
387
|
-
isJsInlineEnabled && import("./js-inline-
|
|
388
|
-
isHtmlEnabled && import("./html-
|
|
389
|
-
isMathEnabled && import("./math-
|
|
390
|
-
isTanstackQueryEnabled && import("./tanstack-query-
|
|
391
|
-
isAvaEnabled && import("./ava-
|
|
392
|
-
isTestingLibraryEnabled && import("./testing-library-
|
|
393
|
-
isStorybookEnabled && import("./storybook-
|
|
394
|
-
isEmberEnabled && import("./ember-
|
|
395
|
-
isCypressEnabled && import("./cypress-
|
|
396
|
-
isTurboEnabled && import("./turbo-
|
|
397
|
-
isNoUnsanitizedEnabled && import("./no-unsanitized-
|
|
398
|
-
isBetterTailwindEnabled && import("./better-tailwind-
|
|
399
|
-
isMdxEnabled && import("./mdx-
|
|
383
|
+
isJsxA11yEnabled && import("./jsx-a11y-H22TPK26.js").then((m) => m.jsxA11yUnConfig(context)),
|
|
384
|
+
isPnpmEnabled && import("./pnpm-RRLPXJHD.js").then((m) => m.pnpmUnConfig(context)),
|
|
385
|
+
isNextJsEnabled && import("./nextjs-HEZQNKKZ.js").then((m) => m.nextJsUnConfig(context)),
|
|
386
|
+
isSolidEnabled && import("./solid-RYLUWYKW.js").then((m) => m.solidUnConfig(context)),
|
|
387
|
+
isJsInlineEnabled && import("./js-inline-FVCYQFW7.js").then((m) => m.jsInlineUnConfig(context)),
|
|
388
|
+
isHtmlEnabled && import("./html-Y3S2BUAN.js").then((m) => m.htmlUnConfig(context)),
|
|
389
|
+
isMathEnabled && import("./math-JE4X6P7Y.js").then((m) => m.mathUnConfig(context)),
|
|
390
|
+
isTanstackQueryEnabled && import("./tanstack-query-AGXQEOIB.js").then((m) => m.tanstackQueryUnConfig(context)),
|
|
391
|
+
isAvaEnabled && import("./ava-OTKYU5N5.js").then((m) => m.avaUnConfig(context)),
|
|
392
|
+
isTestingLibraryEnabled && import("./testing-library-I7E5XOXK.js").then((m) => m.testingLibraryUnConfig(context)),
|
|
393
|
+
isStorybookEnabled && import("./storybook-CXKUHXPT.js").then((m) => m.storybookUnConfig(context)),
|
|
394
|
+
isEmberEnabled && import("./ember-TLCECM4H.js").then((m) => m.emberUnConfig(context)),
|
|
395
|
+
isCypressEnabled && import("./cypress-W75JOZAR.js").then((m) => m.cypressUnConfig(context)),
|
|
396
|
+
isTurboEnabled && import("./turbo-LNW4OTKC.js").then((m) => m.turboUnConfig(context)),
|
|
397
|
+
isNoUnsanitizedEnabled && import("./no-unsanitized-TZDMLYJK.js").then((m) => m.noUnsanitizedUnConfig(context)),
|
|
398
|
+
isBetterTailwindEnabled && import("./better-tailwind-LXRHBWQB.js").then((m) => m.betterTailwindUnConfig(context)),
|
|
399
|
+
isMdxEnabled && import("./mdx-5A24F5LK.js").then((m) => m.mdxUnConfig(context)),
|
|
400
400
|
/* Disabled by default */
|
|
401
|
-
isSecurityEnabled && import("./security-
|
|
402
|
-
isPreferArrowFunctionsEnabled && import("./prefer-arrow-functions-
|
|
401
|
+
isSecurityEnabled && import("./security-PFX6ZIVQ.js").then((m) => m.securityUnConfig(context)),
|
|
402
|
+
isPreferArrowFunctionsEnabled && import("./prefer-arrow-functions-KX3TD35F.js").then(
|
|
403
403
|
(m) => m.preferArrowFunctionsUnConfig(context)
|
|
404
404
|
),
|
|
405
|
-
isYamlEnabled && import("./yaml-
|
|
406
|
-
isTomlEnabled && import("./toml-
|
|
407
|
-
isJsoncEnabled && import("./jsonc-
|
|
408
|
-
isPackageJsonEnabled && import("./package-json-
|
|
409
|
-
isPerfectionistEnabled && import("./perfectionist-
|
|
410
|
-
isDeMorganEnabled && import("./de-morgan-
|
|
411
|
-
isJsonSchemaValidatorEnabled && import("./json-schema-validator-
|
|
412
|
-
isCasePoliceEnabled && import("./case-police-
|
|
413
|
-
isNodeDependenciesEnabled && import("./node-dependencies-
|
|
414
|
-
isDependEnabled && import("./depend-
|
|
415
|
-
isErasableSyntaxOnlyEnabled && import("./erasable-syntax-only-
|
|
416
|
-
isCspellEnabled && import("./cspell-
|
|
417
|
-
isEslintPluginEnabled && import("./eslint-plugin-
|
|
418
|
-
isFileProgressEnabled && import("./file-progress-
|
|
405
|
+
isYamlEnabled && import("./yaml-MHJ37ZB3.js").then((m) => m.yamlUnConfig(context)),
|
|
406
|
+
isTomlEnabled && import("./toml-G6D3KUS2.js").then((m) => m.tomlUnConfig(context)),
|
|
407
|
+
isJsoncEnabled && import("./jsonc-DWAKVDV3.js").then((m) => m.jsoncUnConfig(context)),
|
|
408
|
+
isPackageJsonEnabled && import("./package-json-M3TXKTU4.js").then((m) => m.packageJsonUnConfig(context)),
|
|
409
|
+
isPerfectionistEnabled && import("./perfectionist-YNLIXAYD.js").then((m) => m.perfectionistUnConfig(context)),
|
|
410
|
+
isDeMorganEnabled && import("./de-morgan-ZFJ4NTMF.js").then((m) => m.deMorganUnConfig(context)),
|
|
411
|
+
isJsonSchemaValidatorEnabled && import("./json-schema-validator-RZ6RSDJH.js").then((m) => m.jsonSchemaValidatorUnConfig(context)),
|
|
412
|
+
isCasePoliceEnabled && import("./case-police-JZMM6HGT.js").then((m) => m.casePoliceUnConfig(context)),
|
|
413
|
+
isNodeDependenciesEnabled && import("./node-dependencies-6XA4VZPN.js").then((m) => m.nodeDependenciesUnConfig(context)),
|
|
414
|
+
isDependEnabled && import("./depend-MCNEZTSC.js").then((m) => m.dependUnConfig(context)),
|
|
415
|
+
isErasableSyntaxOnlyEnabled && import("./erasable-syntax-only-4U6QLHJF.js").then((m) => m.erasableSyntaxOnlyUnConfig(context)),
|
|
416
|
+
isCspellEnabled && import("./cspell-A4YUIDDM.js").then((m) => m.cspellUnConfig(context)),
|
|
417
|
+
isEslintPluginEnabled && import("./eslint-plugin-XRRES4BL.js").then((m) => m.eslintPluginUnConfig(context)),
|
|
418
|
+
isFileProgressEnabled && import("./file-progress-EW3DUDN7.js").then((m) => m.fileProgressUnConfig(context)),
|
|
419
419
|
/* Other configs */
|
|
420
420
|
tsEslintConfigResult,
|
|
421
421
|
// Must come after all rulesets for vanilla JS
|
|
422
|
-
isEsEnabled && import("./es-
|
|
422
|
+
isEsEnabled && import("./es-LJVX5GID.js").then((m) => m.esUnConfig(context)),
|
|
423
423
|
// Must come after ts
|
|
424
424
|
vueEslintConfigResult,
|
|
425
425
|
// Must come after ts
|
|
@@ -429,12 +429,12 @@ var eslintConfigInternal = async (options = {}, internalOptions = {}) => {
|
|
|
429
429
|
// Must come after ts
|
|
430
430
|
svelteEslintConfigResult,
|
|
431
431
|
// Must be after ts
|
|
432
|
-
isGraphqlEnabled && import("./graphql-
|
|
433
|
-
isMarkdownEnabled && import("./markdown-
|
|
432
|
+
isGraphqlEnabled && import("./graphql-OOSILWCN.js").then((m) => m.graphqlUnConfig(context)),
|
|
433
|
+
isMarkdownEnabled && import("./markdown-F2W7EZD7.js").then((m) => m.markdownUnConfig(context)),
|
|
434
434
|
// Must be last
|
|
435
435
|
rootConfigBuilder,
|
|
436
|
-
isCliEnabled && import("./cli-
|
|
437
|
-
isCloudfrontFunctionsEnabled && import("./cloudfront-functions-
|
|
436
|
+
isCliEnabled && import("./cli-54Z6QR4K.js").then((m) => m.cliUnConfig(context)),
|
|
437
|
+
isCloudfrontFunctionsEnabled && import("./cloudfront-functions-AERESJBQ.js").then(
|
|
438
438
|
(m) => m.cloudfrontFunctionsEslintConfig(context)
|
|
439
439
|
),
|
|
440
440
|
...extraConfigs.map((config, configIndex) => ({
|
|
@@ -443,7 +443,7 @@ var eslintConfigInternal = async (options = {}, internalOptions = {}) => {
|
|
|
443
443
|
name: genFlatConfigEntryName(`extra-config/${config.name || `unnamed${configIndex}`}`)
|
|
444
444
|
})),
|
|
445
445
|
// MUST be last
|
|
446
|
-
isNoStylisticRulesEnabled && import("./no-stylistic-rules-
|
|
446
|
+
isNoStylisticRulesEnabled && import("./no-stylistic-rules-JYYS6HHP.js").then((m) => m.noStylisticRulesUnConfig(context)),
|
|
447
447
|
disablePrettierIncompatibleRules && interopDefault(import("eslint-config-prettier")).then((eslintConfigPrettier) => ({
|
|
448
448
|
name: genFlatConfigEntryName("eslint-config-prettier"),
|
|
449
449
|
rules: Object.fromEntries(
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
RULES_TO_DISABLE_IN_TEST_FILES,
|
|
3
3
|
generateConsistentTestItOptions,
|
|
4
4
|
generateDefaultTestFiles
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CLQYBMTN.js";
|
|
6
6
|
import {
|
|
7
7
|
ERROR,
|
|
8
8
|
GLOB_JS_TS_X_EXTENSION,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
defu,
|
|
14
14
|
doesPackageExist,
|
|
15
15
|
pluginsLoaders
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3DYOBUII.js";
|
|
17
17
|
|
|
18
18
|
// src/configs/jest.ts
|
|
19
19
|
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-CLQYBMTN.js";
|
|
6
6
|
import {
|
|
7
7
|
ERROR,
|
|
8
8
|
createConfigBuilder,
|
|
9
9
|
defu,
|
|
10
10
|
interopDefault
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3DYOBUII.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-CLQYBMTN.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
GLOB_JSON,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
createConfigBuilder,
|
|
11
11
|
defu,
|
|
12
12
|
interopDefault
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3DYOBUII.js";
|
|
14
14
|
|
|
15
15
|
// src/configs/jsonc.ts
|
|
16
16
|
var jsoncUnConfig = async (context) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RULES_TO_DISABLE_IN_EMBEDDED_CODE_BLOCKS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CLQYBMTN.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
GLOB_MARKDOWN,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
defu,
|
|
11
11
|
interopDefault,
|
|
12
12
|
uniq
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3DYOBUII.js";
|
|
14
14
|
|
|
15
15
|
// src/configs/markdown.ts
|
|
16
16
|
var DEFAULT_FILES = [GLOB_MARKDOWN];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RULES_TO_DISABLE_IN_EMBEDDED_CODE_BLOCKS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CLQYBMTN.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
GLOB_MDX,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
defu,
|
|
11
11
|
interopDefault,
|
|
12
12
|
pluginsLoaders
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3DYOBUII.js";
|
|
14
14
|
|
|
15
15
|
// src/configs/mdx.ts
|
|
16
16
|
var DEFAULT_FILES = [GLOB_MDX];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_FILES_PACKAGE_JSON
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QSGAQ24J.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
OFF,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
createConfigBuilder,
|
|
9
9
|
defu,
|
|
10
10
|
interopDefault
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3DYOBUII.js";
|
|
12
12
|
|
|
13
13
|
// src/configs/node-dependencies.ts
|
|
14
14
|
var nodeDependenciesUnConfig = async (context) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
noRestrictedHtmlElementsDefault
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CLQYBMTN.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
GLOB_JS_TS_X,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
createConfigBuilder,
|
|
11
11
|
defu,
|
|
12
12
|
doesPackageExist
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3DYOBUII.js";
|
|
14
14
|
|
|
15
15
|
// src/configs/react.ts
|
|
16
16
|
var LATEST_REACT_VERSION = 19;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
noRestrictedHtmlElementsDefault
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CLQYBMTN.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
GLOB_SVELTE,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getKeysOfTruthyValues,
|
|
13
13
|
interopDefault,
|
|
14
14
|
pluginsLoaders
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3DYOBUII.js";
|
|
16
16
|
|
|
17
17
|
// src/configs/svelte.ts
|
|
18
18
|
var LATEST_SVELTE_MAJOR_VERSION = 5;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RULES_TO_DISABLE_IN_TEST_FILES,
|
|
3
3
|
generateDefaultTestFiles
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CLQYBMTN.js";
|
|
5
5
|
import {
|
|
6
6
|
ERROR,
|
|
7
7
|
GLOB_JS_TS_X_EXTENSION,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
createConfigBuilder,
|
|
11
11
|
defu,
|
|
12
12
|
doesPackageExist
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3DYOBUII.js";
|
|
14
14
|
|
|
15
15
|
// src/configs/testing-library.ts
|
|
16
16
|
var testingLibraryUnConfig = async (context) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TOML_DEFAULT_FILES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CLQYBMTN.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
OFF,
|
|
7
7
|
createConfigBuilder,
|
|
8
8
|
defu,
|
|
9
9
|
interopDefault
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3DYOBUII.js";
|
|
11
11
|
|
|
12
12
|
// src/configs/toml.ts
|
|
13
13
|
var DEFAULT_FILES_TO_IGNORE = ["Cargo.lock"];
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
RULES_TO_DISABLE_IN_TEST_FILES,
|
|
3
3
|
generateConsistentTestItOptions,
|
|
4
4
|
generateDefaultTestFiles
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CLQYBMTN.js";
|
|
6
6
|
import {
|
|
7
7
|
ERROR,
|
|
8
8
|
GLOB_JS_TS_X_EXTENSION,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createConfigBuilder,
|
|
12
12
|
defu,
|
|
13
13
|
pluginsLoaders
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3DYOBUII.js";
|
|
15
15
|
|
|
16
16
|
// src/configs/vitest.ts
|
|
17
17
|
var vitestUnConfig = async (context) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
noRestrictedHtmlElementsDefault
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CLQYBMTN.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
GLOB_JS_TS_EXTENSION,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
interopDefault,
|
|
16
16
|
joinPaths,
|
|
17
17
|
pluginsLoaders
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3DYOBUII.js";
|
|
19
19
|
|
|
20
20
|
// src/configs/vue.ts
|
|
21
21
|
import globals from "globals";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
YAML_DEFAULT_FILES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CLQYBMTN.js";
|
|
4
4
|
import {
|
|
5
5
|
ERROR,
|
|
6
6
|
OFF,
|
|
7
7
|
createConfigBuilder,
|
|
8
8
|
defu,
|
|
9
9
|
interopDefault
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3DYOBUII.js";
|
|
11
11
|
|
|
12
12
|
// src/configs/yaml.ts
|
|
13
13
|
var DEFAULT_FILES_TO_IGNORE = ["yarn.lock", "pnpm-lock.yaml"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-un",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.6",
|
|
4
4
|
"description": "A universal-ish ESLint config aiming to be reasonably strict and easily configurable.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"@typescript-eslint/parser": "8.34.1",
|
|
81
81
|
"@vitest/eslint-plugin": "1.2.7",
|
|
82
82
|
"@vue/compiler-sfc": "3.5.16",
|
|
83
|
-
"angular-eslint-plugin-template17": "file
|
|
84
|
-
"angular-eslint-plugin18": "file
|
|
83
|
+
"angular-eslint-plugin-template17": "file:./deps/angular-eslint-eslint-plugin-template-17.5.3.tgz",
|
|
84
|
+
"angular-eslint-plugin18": "file:./deps/angular-eslint-eslint-plugin-18.4.3.tgz",
|
|
85
85
|
"astro-eslint-parser": "1.2.2",
|
|
86
86
|
"consola": "3.4.2",
|
|
87
87
|
"debug": "4.4.1",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"eslint-plugin-math": "0.10.1",
|
|
117
117
|
"eslint-plugin-mdx": "3.5.0",
|
|
118
118
|
"eslint-plugin-n": "17.20.0",
|
|
119
|
-
"eslint-plugin-no-type-assertion": "file
|
|
119
|
+
"eslint-plugin-no-type-assertion": "file:./deps/eslint-plugin-no-type-assertion-1.3.0.tgz",
|
|
120
120
|
"eslint-plugin-no-unsanitized": "4.1.2",
|
|
121
121
|
"eslint-plugin-node-dependencies": "1.1.2",
|
|
122
122
|
"eslint-plugin-package-json": "0.40.0",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"eslint-plugin-pinia": "0.4.1",
|
|
125
125
|
"eslint-plugin-pnpm": "0.3.1",
|
|
126
126
|
"eslint-plugin-prefer-arrow-functions": "3.6.2",
|
|
127
|
-
"eslint-plugin-prettier": "file
|
|
127
|
+
"eslint-plugin-prettier": "file:./deps/eslint-plugin-prettier-5.5.0.tgz",
|
|
128
128
|
"eslint-plugin-promise": "7.2.1",
|
|
129
129
|
"eslint-plugin-qwik": "1.14.1",
|
|
130
130
|
"eslint-plugin-react": "7.37.5",
|
package/dist/es-ECTKO4KZ.js
DELETED