eslint-config-un 1.0.0-alpha.33 → 1.0.0-alpha.34
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 +8 -7
- package/dist/{angular-DnFTQdqp.js → angular-hUDjHtyO.js} +2 -2
- package/dist/{astro-BSgwgV-Q.js → astro-CCqwmjlq.js} +2 -2
- package/dist/{ava-67I2zuRu.js → ava-XLTjnKkI.js} +2 -2
- package/dist/{better-tailwind-Bkh1vMsh.js → better-tailwind-13QmAcF_.js} +1 -1
- package/dist/{case-police-CVQjHOLM.js → case-police-F7DpyYRf.js} +1 -1
- package/dist/{cli-DEtqi6Qx.js → cli-B0FZT5Q6.js} +1 -1
- package/dist/{cloudfront-functions-DDwo3Ggr.js → cloudfront-functions-BwaAEujn.js} +2 -2
- package/dist/{compat-CdMLgbTn.js → compat-COF52GN-.js} +1 -1
- package/dist/{cspell-BZOOFXmH.js → cspell-C91qVtyX.js} +1 -1
- package/dist/{css-CZ5U0i4d.js → css-B92qY-6K.js} +1 -1
- package/dist/{css-in-js-Be2lbwZ0.js → css-in-js-TWqi371U.js} +1 -1
- package/dist/{cypress-BLInl92c.js → cypress-DyyoSpuS.js} +2 -2
- package/dist/{de-morgan-DShHlhC_.js → de-morgan-66Rpn8-y.js} +1 -1
- package/dist/{depend-W4mOQR7m.js → depend-C7DMAD-_.js} +2 -2
- package/dist/{ember-q6d78erg.js → ember-CS8FJNUs.js} +2 -2
- package/dist/{erasable-syntax-only-ssIYbcJp.js → erasable-syntax-only-Dd_3zBHa.js} +1 -1
- package/dist/{es-BS-n7Ulm.js → es-Dnm9yHjK.js} +1 -1
- package/dist/es-DoieAWel.js +4 -0
- package/dist/{eslint-DQBkZ85F.js → eslint-Bw0-yCUK.js} +46 -45
- package/dist/{eslint-comments-CFpcAiMc.js → eslint-comments-BTY3YBF9.js} +1 -1
- package/dist/{eslint-plugin-CE0h9NsO.js → eslint-plugin-BJT9UrO5.js} +2 -2
- package/dist/{file-progress-Cs6g8eds.js → file-progress-BU8ShOOB.js} +1 -1
- package/dist/{graphql-ULWtiCi7.js → graphql-D4xGKKw7.js} +1 -1
- package/dist/{header-CWQNOtaS.js → header-DOKjIbXF.js} +1 -1
- package/dist/{headers-BFts5D9t.js → headers-B5kD088l.js} +1 -1
- package/dist/{html-CoWgaUh_.js → html-BFWEMZkV.js} +1 -1
- package/dist/{import-BfUrz6LT.js → import-BA0z49Fg.js} +1 -1
- package/dist/{import-zod-CEvf-S96.js → import-zod-Bc68ZbtP.js} +1 -1
- package/dist/index.d.ts +219 -562
- package/dist/index.js +78 -78
- package/dist/{jest-xzczH8dF.js → jest-DEGRaIHG.js} +2 -2
- package/dist/{js-CDcqmhNC.js → js-DAeDtuaU.js} +1 -1
- package/dist/{js-inline-BXn0ZfBD.js → js-inline-Da1JzVZm.js} +1 -1
- package/dist/{jsdoc-Dz-QdvqT.js → jsdoc-CNgPLcdS.js} +1 -1
- package/dist/{json-schema-validator-BYrpc1LL.js → json-schema-validator-C-Je4MwA.js} +2 -2
- package/dist/{jsonc-DzZBje0R.js → jsonc-CbwmWXDT.js} +2 -2
- package/dist/{jsx-a11y-aHVD5-ue.js → jsx-a11y-CpO2u0UD.js} +2 -2
- package/dist/{lit-g7d2eKs8.js → lit-C1nI7z7p.js} +2 -2
- package/dist/{markdown-Dq0Hi2Rh.js → markdown-I3ptyKV0.js} +3 -3
- package/dist/{math-CBrIU5ol.js → math-6pRQ5aDr.js} +1 -1
- package/dist/{mdx-BXa4OCtS.js → mdx-DfaCXVk2.js} +2 -2
- package/dist/{mocha-Djz5YK2i.js → mocha-Bz4ViuCH.js} +2 -2
- package/dist/{nextjs-CYXq8TPr.js → nextjs-Bh3qAiaK.js} +1 -1
- package/dist/{no-only-tests-C2goW3FS.js → no-only-tests-D5GEk186.js} +2 -2
- package/dist/{no-stylistic-rules-DLFQRllY.js → no-stylistic-rules-CLiAqT_v.js} +3 -2
- package/dist/{no-unsanitized-B4yWvSQZ.js → no-unsanitized-B_N-PEc8.js} +1 -1
- package/dist/{node-Ozn_sNTR.js → node-DS8q8XU5.js} +1 -1
- package/dist/{node-dependencies-79ozAC-J.js → node-dependencies-C1z5bhir.js} +2 -2
- package/dist/{nx-AH8D3I7Q.js → nx-BTPezjyN.js} +1 -1
- package/dist/{package-json-yEPmMVDB.js → package-json-D-bnSi6i.js} +1 -1
- package/dist/package-json-D74SUead.js +4 -0
- package/dist/{perfectionist-dFtppyHZ.js → perfectionist-Bun8A1vR.js} +1 -1
- package/dist/{playwright-XmZ6ZmKw.js → playwright-yr6GBwjy.js} +2 -2
- package/dist/{pnpm-CYKgwNaj.js → pnpm-CUSGJKoQ.js} +1 -1
- package/dist/{prefer-arrow-functions-Iew1I-rc.js → prefer-arrow-functions-BOzXB0cP.js} +1 -1
- package/dist/{promise-PTXJk6Nw.js → promise-BnUURBOc.js} +1 -1
- package/dist/{qunit-ChWAIMHJ.js → qunit-BDRjcSO3.js} +2 -2
- package/dist/{qwik-8Umug5Rj.js → qwik-itEECseE.js} +1 -1
- package/dist/{react-BXrh2H7o.js → react-Bk6Zzhxg.js} +2 -2
- package/dist/{regexp-4dNbIXgN.js → regexp-DFo3gnYy.js} +1 -1
- package/dist/{rxjs-Zo313x8x.js → rxjs-DLQBQsjd.js} +1 -1
- package/dist/{security-CMlTXy09.js → security-CuKV_OC6.js} +1 -1
- package/dist/{shared-dQgYTR3w.js → shared-DJZD7aXN.js} +1 -1
- package/dist/{solid-C9Gsfush.js → solid-BMWIKeOc.js} +1 -1
- package/dist/{sonar-BBaYN45x.js → sonar-5fgpwoVo.js} +2 -2
- package/dist/{storybook-prrfpYns.js → storybook-Tmv5NIkU.js} +1 -1
- package/dist/{svelte-9DDgOgeu.js → svelte-kprQMUwX.js} +2 -2
- package/dist/{tailwind-7fvLSG1h.js → tailwind-C3JZqwkT.js} +1 -1
- package/dist/{tanstack-query-Com60ZBs.js → tanstack-query-CAzOT2Wi.js} +1 -1
- package/dist/{testing-library-B5WpVxhE.js → testing-library--CAktp6s.js} +2 -2
- package/dist/{toml-C0hPVmvw.js → toml-e-Z97Jk1.js} +2 -2
- package/dist/{ts-BLLUo0PC.js → ts-C3eEiTSV.js} +11 -4
- package/dist/{turbo-D_qGXuTt.js → turbo-v2K7USCX.js} +1 -1
- package/dist/{un--1xmTs0I.js → un-BHYv8mII.js} +1 -1
- package/dist/{unicorn-C9l5U2kN.js → unicorn-BGJA801_.js} +1 -1
- package/dist/{unnecessary-abstractions-DCP5Ix8k.js → unnecessary-abstractions-DOIQyNUJ.js} +1 -1
- package/dist/{unocss-N7r8dn3u.js → unocss-CSvhIXKP.js} +1 -1
- package/dist/{unused-imports-CxzDEbf3.js → unused-imports-BOXGy39H.js} +1 -1
- package/dist/{vitest-NOa4e-ED.js → vitest-DJgB9jq_.js} +2 -2
- package/dist/{vue-eSShA_ZZ.js → vue-DamwZ5jL.js} +2 -2
- package/dist/{web-components-DRiCwPMp.js → web-components-CnZv9ihq.js} +1 -1
- package/dist/{yaml-DeT71SOj.js → yaml-SmTeQoni.js} +2 -2
- package/dist/{you-dont-need-lodash-underscore-BkQmP7Wf.js → you-dont-need-lodash-underscore-QnLmFxHf.js} +1 -1
- package/package.json +44 -43
- package/dist/es-5NBzX6ko.js +0 -4
- package/dist/package-json-BqReGsbO.js +0 -4
package/README.md
CHANGED
|
@@ -246,7 +246,7 @@ Sub-config is a Config located within Config's options. If the parent config is
|
|
|
246
246
|
|  `mdx` | ✅ | [eslint-plugin-mdx](https://npmjs.com/eslint-plugin-mdx) (`mdx`) | Since v1.0.0<br>Configured to also lint fenced code blocks inside .mdx files |
|
|
247
247
|
|  `css` | ✅ (unless `stylelint` is installed) | [@eslint/css](https://npmjs.com/package/@eslint/css) (`css`) | Since v0.7.0 |
|
|
248
248
|
|  `cssInJs` | ✅ | [eslint-plugin-css](https://npmjs.com/eslint-plugin-css) (`css-in-js`) | Since v0.2.0<br>Lints inlined CSS |
|
|
249
|
-
| `jsxA11y` | ✅ | [eslint-plugin-jsx-a11y](https://npmjs.com/eslint-plugin-jsx-a11y) (`jsx-a11y`) | Since v0.8.0 |
|
|
249
|
+
| `jsxA11y` | ✅ | [eslint-plugin-jsx-a11y-x](https://npmjs.com/eslint-plugin-jsx-a11y-x) (`jsx-a11y`) | Since v1.0.0<br>Since v0.8.0 and until v1.0.0, [eslint-plugin-jsx-a11y](https://npmjs.com/eslint-plugin-jsx-a11y) was used |
|
|
250
250
|
|  `yaml` | ❌ | [eslint-plugin-yaml](https://npmjs.com/eslint-plugin-yaml) (`yaml`) | Since v0.1.0 |
|
|
251
251
|
|  `jsonc` | ❌ | [eslint-plugin-jsonc](https://npmjs.com/eslint-plugin-jsonc) (`jsonc`) | Since v0.1.4<br>Supports JSON, JSON5, JSONC |
|
|
252
252
|
| `jsonc/json` | ❌ | ^ | Config exclusively for `.json` files, does nothing by default |
|
|
@@ -400,12 +400,13 @@ eslint-config-un provides the ability to change any registered plugin prefix. Ad
|
|
|
400
400
|
|
|
401
401
|
#### Default renames
|
|
402
402
|
|
|
403
|
-
| Plugin
|
|
404
|
-
|
|
|
405
|
-
| [`typescript-eslint`](https://npmjs.com/typescript-eslint)
|
|
406
|
-
| [`eslint-plugin-import-x`](https://npmjs.com/eslint-plugin-import-x)
|
|
407
|
-
| [`eslint-plugin-n`](https://npmjs.com/eslint-plugin-n)
|
|
408
|
-
| [`eslint-plugin-css`](https://npmjs.com/eslint-plugin-css)
|
|
403
|
+
| Plugin | Suggested prefix | Our prefix | Reason |
|
|
404
|
+
| ------------------------------------------------------------------------ | -------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------- |
|
|
405
|
+
| [`typescript-eslint`](https://npmjs.com/typescript-eslint) | `@typescript-eslint` | `ts` | More concise and convenient to use |
|
|
406
|
+
| [`eslint-plugin-import-x`](https://npmjs.com/eslint-plugin-import-x) | `import-x` | `import` | This plugin is a fork and is meant to replace the original plugin with `import` prefix |
|
|
407
|
+
| [`eslint-plugin-n`](https://npmjs.com/eslint-plugin-n) | `n` | `node` | Same ^ |
|
|
408
|
+
| [`eslint-plugin-css`](https://npmjs.com/eslint-plugin-css) | `css` | `css-in-js` | Conflicts with [`@eslint/css`](https://npmjs.com/package/@eslint/css) and our name better captures the essence of the plugin |
|
|
409
|
+
| [`eslint-plugin-jsx-a11y-x`](https://npmjs.com/eslint-plugin-jsx-a11y-x) | `jsx-a11y-x` | `jsx-a11y` | This plugin is a fork and is meant to replace the original plugin with `jsx-a11y` prefix |
|
|
409
410
|
|
|
410
411
|
<!-- eslint-disable-next-line markdown/no-missing-label-refs -->
|
|
411
412
|
> [!NOTE]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ERROR, GLOB_HTML, GLOB_JS_TS_X, OFF, WARNING, assignDefaults, cloneDeep, createConfigBuilder, fetchPackageInfo, interopDefault, pluginsLoaders } from "./eslint-
|
|
1
|
+
import { ERROR, GLOB_HTML, GLOB_JS_TS_X, OFF, WARNING, assignDefaults, cloneDeep, createConfigBuilder, fetchPackageInfo, interopDefault, pluginsLoaders } from "./eslint-Bw0-yCUK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/configs/angular.ts
|
|
4
4
|
const SUPPORTED_ANGULAR_VERSIONS = [
|
|
@@ -91,7 +91,7 @@ const angularUnConfig = async (context) => {
|
|
|
91
91
|
filesFallback: [GLOB_HTML],
|
|
92
92
|
parser: "@angular-eslint/template-parser",
|
|
93
93
|
doNotIgnoreHtml: true
|
|
94
|
-
}]).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-alt-text", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-elements-content", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-interactive-supports-focus", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-label-for", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-label-has-associated-control", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-role-has-required-aria", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-table-scope", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-valid-aria", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("alt-text", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("attributes-order", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("banana-in-box", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("button-has-type", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("click-events-have-key-events", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("conditional-complexity", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("cyclomatic-complexity", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("elements-content", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("eqeqeq", ERROR), [{ allowNullOrUndefined: true }]).addRule(...getAngularEslintTemplatePluginRuleSeverity("i18n", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("interactive-supports-focus", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("label-has-associated-control", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("mouse-events-have-key-events", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-any", WARNING)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-autofocus", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-call-expression", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-distracting-elements", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-duplicate-attributes", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-inline-styles", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-interpolation-in-attributes", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-negated-async", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-nested-tags", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-positive-tabindex", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-at-empty", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-contextual-for-variables", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-control-flow", preferControlFlow ? ERROR : OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-ngsrc", preferNgSrc ? ERROR : OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-template-literal", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-self-closing-tags", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-static-string-properties", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("role-has-required-aria", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("table-scope", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("use-track-by-function", requireLoopIndexes ? ERROR : OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("valid-aria", a11yRulesSeverity)).addOverrides();
|
|
94
|
+
}]).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-alt-text", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-elements-content", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-interactive-supports-focus", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-label-for", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-label-has-associated-control", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-role-has-required-aria", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-table-scope", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("accessibility-valid-aria", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("alt-text", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("attributes-order", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("banana-in-box", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("button-has-type", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("click-events-have-key-events", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("conditional-complexity", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("cyclomatic-complexity", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("elements-content", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("eqeqeq", ERROR), [{ allowNullOrUndefined: true }]).addRule(...getAngularEslintTemplatePluginRuleSeverity("i18n", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("interactive-supports-focus", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("label-has-associated-control", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("mouse-events-have-key-events", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-any", WARNING)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-autofocus", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-call-expression", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-distracting-elements", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-duplicate-attributes", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-empty-control-flow", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-inline-styles", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-interpolation-in-attributes", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-negated-async", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-nested-tags", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("no-positive-tabindex", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-at-empty", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-contextual-for-variables", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-control-flow", preferControlFlow ? ERROR : OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-ngsrc", preferNgSrc ? ERROR : OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-template-literal", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-self-closing-tags", OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("prefer-static-string-properties", ERROR)).addRule(...getAngularEslintTemplatePluginRuleSeverity("role-has-required-aria", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("table-scope", a11yRulesSeverity)).addRule(...getAngularEslintTemplatePluginRuleSeverity("use-track-by-function", requireLoopIndexes ? ERROR : OFF)).addRule(...getAngularEslintTemplatePluginRuleSeverity("valid-aria", a11yRulesSeverity)).addOverrides();
|
|
95
95
|
return {
|
|
96
96
|
configs: [configBuilderGeneral, configBuilderTemplate],
|
|
97
97
|
optionsResolved
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ERROR, GLOB_ASTRO, OFF, WARNING, assignDefaults, createConfigBuilder, interopDefault, pluginsLoaders } from "./eslint-
|
|
1
|
+
import { ERROR, GLOB_ASTRO, OFF, WARNING, assignDefaults, createConfigBuilder, interopDefault, pluginsLoaders } from "./eslint-Bw0-yCUK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/configs/astro.ts
|
|
4
4
|
const DEFAULT_ASTRO_FILES = [GLOB_ASTRO];
|
|
@@ -33,7 +33,7 @@ const astroUnConfig = async (context) => {
|
|
|
33
33
|
}]).addRule("missing-client-only-directive-value", ERROR).addRule("no-conflict-set-directives", ERROR).addRule("no-deprecated-astro-canonicalurl", ERROR).addRule("no-deprecated-astro-fetchcontent", ERROR).addRule("no-deprecated-astro-resolve", ERROR).addRule("no-deprecated-getentrybyslug", ERROR).addRule("no-exports-from-components", ERROR).addRule("no-unused-define-vars-in-style", ERROR).addRule("valid-compile", ERROR).addRule("no-set-html-directive", ERROR).addRule("no-set-text-directive", OFF).addRule("no-unused-css-selector", WARNING).addRule("prefer-class-list-directive", ERROR).addRule("prefer-object-class-list", ERROR).addRule("prefer-split-class-list", ERROR).addRule("sort-attributes", ERROR).addRule("semi", OFF).addOverrides();
|
|
34
34
|
return {
|
|
35
35
|
configs: [configBuilder, ...configJsxA11y === false ? [] : await (async () => {
|
|
36
|
-
const { jsxA11yUnConfig } = await import("./jsx-a11y-
|
|
36
|
+
const { jsxA11yUnConfig } = await import("./jsx-a11y-CpO2u0UD.js");
|
|
37
37
|
const result = await jsxA11yUnConfig(context, {
|
|
38
38
|
prefix: "astro",
|
|
39
39
|
options: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ERROR, GLOB_JS_TS_X_EXTENSION, OFF, WARNING, assignDefaults, createConfigBuilder } from "./eslint-
|
|
2
|
-
import { RULES_TO_DISABLE_IN_TEST_FILES, generateConfigNoOnlyTestsBuilder, generateDefaultTestFiles } from "./shared-
|
|
1
|
+
import { ERROR, GLOB_JS_TS_X_EXTENSION, OFF, WARNING, assignDefaults, createConfigBuilder } from "./eslint-Bw0-yCUK.js";
|
|
2
|
+
import { RULES_TO_DISABLE_IN_TEST_FILES, generateConfigNoOnlyTestsBuilder, generateDefaultTestFiles } from "./shared-DJZD7aXN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/configs/ava.ts
|
|
5
5
|
const avaUnConfig = (context) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ERROR, OFF, WARNING, assignDefaults, createConfigBuilder } from "./eslint-
|
|
1
|
+
import { ERROR, OFF, WARNING, assignDefaults, createConfigBuilder } from "./eslint-Bw0-yCUK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/configs/better-tailwind.ts
|
|
4
4
|
const betterTailwindUnConfig = (context) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ERROR, GLOB_JS_TS_EXTENSION, assignDefaults, createConfigBuilder } from "./eslint-
|
|
1
|
+
import { ERROR, GLOB_JS_TS_EXTENSION, assignDefaults, createConfigBuilder } from "./eslint-Bw0-yCUK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/configs/extra/cli.ts
|
|
4
4
|
const DEFAULT_CLI_DIRS = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ERROR, OFF, assignDefaults, createConfigBuilder } from "./eslint-
|
|
2
|
-
import { esUnConfig } from "./es-
|
|
1
|
+
import { ERROR, OFF, assignDefaults, createConfigBuilder } from "./eslint-Bw0-yCUK.js";
|
|
2
|
+
import { esUnConfig } from "./es-Dnm9yHjK.js";
|
|
3
3
|
|
|
4
4
|
//#region src/configs/extra/cloudfront-functions.ts
|
|
5
5
|
const genSyntaxNotAllowedErrorMessage = (syntax, isPlural = false) => `${syntax} ${isPlural ? "are" : "is"} not allowed in CloudFront functions`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ERROR, GLOB_CSS, OFF, WARNING, assignDefaults, createConfigBuilder, getKeysOfTruthyValues, interopDefault } from "./eslint-
|
|
1
|
+
import { ERROR, GLOB_CSS, OFF, WARNING, assignDefaults, createConfigBuilder, getKeysOfTruthyValues, interopDefault } from "./eslint-Bw0-yCUK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/configs/css.ts
|
|
4
4
|
const cssUnConfig = async (context) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ERROR, GLOB_JS_TS_X_EXTENSION, OFF, WARNING, assignDefaults, createConfigBuilder } from "./eslint-
|
|
2
|
-
import { RULES_TO_DISABLE_IN_TEST_FILES, generateConfigNoOnlyTestsBuilder, generateDefaultTestFiles } from "./shared-
|
|
1
|
+
import { ERROR, GLOB_JS_TS_X_EXTENSION, OFF, WARNING, assignDefaults, createConfigBuilder } from "./eslint-Bw0-yCUK.js";
|
|
2
|
+
import { RULES_TO_DISABLE_IN_TEST_FILES, generateConfigNoOnlyTestsBuilder, generateDefaultTestFiles } from "./shared-DJZD7aXN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/configs/cypress.ts
|
|
5
5
|
const cypressUnConfig = (context) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ERROR, assignDefaults, createConfigBuilder, interopDefault } from "./eslint-
|
|
2
|
-
import { DEFAULT_FILES_PACKAGE_JSON } from "./package-json-
|
|
1
|
+
import { ERROR, assignDefaults, createConfigBuilder, interopDefault } from "./eslint-Bw0-yCUK.js";
|
|
2
|
+
import { DEFAULT_FILES_PACKAGE_JSON } from "./package-json-D-bnSi6i.js";
|
|
3
3
|
|
|
4
4
|
//#region src/configs/depend.ts
|
|
5
5
|
const dependUnConfig = async (context) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ERROR, GLOB_JS_TS, GLOB_JS_TS_EXTENSION, OFF, WARNING, assignDefaults, createConfigBuilder } from "./eslint-
|
|
2
|
-
import { RULES_TO_DISABLE_IN_TEST_FILES, generateConfigNoOnlyTestsBuilder, generateDefaultTestFiles } from "./shared-
|
|
1
|
+
import { ERROR, GLOB_JS_TS, GLOB_JS_TS_EXTENSION, OFF, WARNING, assignDefaults, createConfigBuilder } from "./eslint-Bw0-yCUK.js";
|
|
2
|
+
import { RULES_TO_DISABLE_IN_TEST_FILES, generateConfigNoOnlyTestsBuilder, generateDefaultTestFiles } from "./shared-DJZD7aXN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/configs/ember.ts
|
|
5
5
|
const GLIMMER_TEMPLATES_FILES = ["**/*.{gjs,gts}"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ERROR, GLOB_TSX, OFF, assignDefaults, createConfigBuilder } from "./eslint-
|
|
1
|
+
import { ERROR, GLOB_TSX, OFF, assignDefaults, createConfigBuilder } from "./eslint-Bw0-yCUK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/configs/erasable-syntax-only.ts
|
|
4
4
|
const erasableSyntaxOnlyUnConfig = (context) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ERROR, OFF, assignDefaults, createConfigBuilder, memoize } from "./eslint-
|
|
1
|
+
import { ERROR, OFF, assignDefaults, createConfigBuilder, memoize } from "./eslint-Bw0-yCUK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/configs/es.ts
|
|
4
4
|
const esUnConfig = (context, customConfig) => {
|
|
@@ -140,7 +140,7 @@ const PACKAGES_TO_GET_INFO_FOR = [
|
|
|
140
140
|
//#endregion
|
|
141
141
|
//#region package.json
|
|
142
142
|
var name = "eslint-config-un";
|
|
143
|
-
var version = "1.0.0-alpha.
|
|
143
|
+
var version = "1.0.0-alpha.34";
|
|
144
144
|
var description = "A universal-ish ESLint config aiming to be reasonably strict and easily configurable.";
|
|
145
145
|
var keywords = ["eslint", "eslint-config"];
|
|
146
146
|
var homepage = "https://github.com/andreww2012/eslint-plugin-un";
|
|
@@ -169,13 +169,14 @@ var scripts = {
|
|
|
169
169
|
"lint:eslint": "eslint --cache",
|
|
170
170
|
"lint:eslint:fix": "nr lint:eslint --fix",
|
|
171
171
|
"lint:types": "tsc --noEmit",
|
|
172
|
+
"lint:types:go": "tsgo --noEmit",
|
|
172
173
|
"lint:deps": "pnpm dedupe --check",
|
|
173
|
-
"lint": "nr lint:types && nr format:check && nr lint:eslint",
|
|
174
|
+
"lint": "nr lint:types:go && nr format:check && nr lint:eslint",
|
|
174
175
|
"lint:fix": "nr lint:eslint:fix && nr format:fix",
|
|
175
176
|
"typegen": "tsx scripts/typegen.ts",
|
|
176
177
|
"knip": "knip --no-progress",
|
|
177
178
|
"build:code": "tsdown --clean",
|
|
178
|
-
"build:code:test": "tsdown --
|
|
179
|
+
"build:code:test": "tsdown --out-dir temp/dist",
|
|
179
180
|
"build": "nr typegen && nr build:code",
|
|
180
181
|
"test": "nr typegen && nr knip && nr spellcheck && nr lint && nr build:code:test",
|
|
181
182
|
"lint:public-types": "npx attw --pack . --profile esm-only",
|
|
@@ -191,19 +192,19 @@ var dependencies = {
|
|
|
191
192
|
"@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
|
|
192
193
|
"@eslint/compat": "1.3.2",
|
|
193
194
|
"@eslint/css": "0.10.0",
|
|
194
|
-
"@eslint/markdown": "7.
|
|
195
|
-
"@html-eslint/eslint-plugin": "0.
|
|
196
|
-
"@html-eslint/parser": "0.
|
|
195
|
+
"@eslint/markdown": "7.2.0",
|
|
196
|
+
"@html-eslint/eslint-plugin": "0.46.0",
|
|
197
|
+
"@html-eslint/parser": "0.46.0",
|
|
197
198
|
"@stylistic/eslint-plugin": "5.2.3",
|
|
198
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
199
|
-
"@typescript-eslint/parser": "8.
|
|
200
|
-
"@vue/compiler-sfc": "3.5.
|
|
199
|
+
"@typescript-eslint/eslint-plugin": "8.40.0",
|
|
200
|
+
"@typescript-eslint/parser": "8.40.0",
|
|
201
|
+
"@vue/compiler-sfc": "3.5.20",
|
|
201
202
|
"ci-info": "4.3.0",
|
|
202
203
|
"consola": "3.4.2",
|
|
203
204
|
"debug": "4.4.1",
|
|
204
205
|
"defu": "6.1.4",
|
|
205
206
|
"enhanced-resolve": "5.18.3",
|
|
206
|
-
"es-toolkit": "1.39.
|
|
207
|
+
"es-toolkit": "1.39.10",
|
|
207
208
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
208
209
|
"eslint-config-prettier": "10.1.8",
|
|
209
210
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
@@ -214,10 +215,10 @@ var dependencies = {
|
|
|
214
215
|
"eslint-plugin-file-progress": "3.0.2",
|
|
215
216
|
"eslint-plugin-html": "8.1.3",
|
|
216
217
|
"eslint-plugin-import-x": "4.16.1",
|
|
217
|
-
"eslint-plugin-jsdoc": "54.1.
|
|
218
|
+
"eslint-plugin-jsdoc": "54.1.1",
|
|
218
219
|
"eslint-plugin-json-schema-validator": "5.4.1",
|
|
219
220
|
"eslint-plugin-jsonc": "2.20.1",
|
|
220
|
-
"eslint-plugin-jsx-a11y": "
|
|
221
|
+
"eslint-plugin-jsx-a11y-x": "0.1.1",
|
|
221
222
|
"eslint-plugin-math": "0.13.0",
|
|
222
223
|
"eslint-plugin-mdx": "3.6.2",
|
|
223
224
|
"eslint-plugin-n": "17.21.3",
|
|
@@ -225,57 +226,57 @@ var dependencies = {
|
|
|
225
226
|
"eslint-plugin-no-type-assertion": "file:./deps/eslint-plugin-no-type-assertion-1.3.0.tgz",
|
|
226
227
|
"eslint-plugin-no-unsanitized": "4.1.2",
|
|
227
228
|
"eslint-plugin-node-dependencies": "1.1.2",
|
|
228
|
-
"eslint-plugin-package-json": "0.
|
|
229
|
+
"eslint-plugin-package-json": "0.55.0",
|
|
229
230
|
"eslint-plugin-pnpm": "1.1.1",
|
|
230
231
|
"eslint-plugin-prettier": "file:./deps/eslint-plugin-prettier-5.5.0.tgz",
|
|
231
232
|
"eslint-plugin-promise": "7.2.1",
|
|
232
233
|
"eslint-plugin-regexp": "2.10.0",
|
|
233
234
|
"eslint-plugin-security": "3.0.1",
|
|
234
|
-
"eslint-plugin-sonarjs": "3.0.
|
|
235
|
+
"eslint-plugin-sonarjs": "3.0.5",
|
|
235
236
|
"eslint-plugin-toml": "0.12.0",
|
|
236
237
|
"eslint-plugin-unicorn": "60.0.0",
|
|
237
238
|
"eslint-plugin-unnecessary-abstractions": "1.0.0",
|
|
238
|
-
"eslint-plugin-unused-imports": "4.
|
|
239
|
+
"eslint-plugin-unused-imports": "4.2.0",
|
|
239
240
|
"eslint-plugin-yml": "1.18.0",
|
|
240
241
|
"eslint-processor-vue-blocks": "2.0.0",
|
|
241
242
|
"eslint-rule-composer": "0.3.0",
|
|
242
243
|
"globals": "16.3.0",
|
|
243
|
-
"is-in-editor": "0.
|
|
244
|
+
"is-in-editor": "0.3.0",
|
|
244
245
|
"jsonc-eslint-parser": "2.4.0",
|
|
245
246
|
"klona": "2.0.6",
|
|
246
|
-
"local-pkg": "1.1.
|
|
247
|
+
"local-pkg": "1.1.2",
|
|
247
248
|
"package-manager-detector": "1.3.0",
|
|
248
249
|
"read-package-up": "11.0.0",
|
|
249
250
|
"semver": "7.7.2",
|
|
250
251
|
"tailwind-csstree": "0.1.3",
|
|
251
252
|
"type-fest": "4.41.0",
|
|
252
|
-
"typescript-eslint": "8.
|
|
253
|
+
"typescript-eslint": "8.40.0"
|
|
253
254
|
};
|
|
254
255
|
var devDependencies = {
|
|
255
|
-
"@angular-eslint/eslint-plugin": "20.
|
|
256
|
-
"@angular-eslint/eslint-plugin-template": "20.
|
|
257
|
-
"@angular-eslint/template-parser": "20.
|
|
256
|
+
"@angular-eslint/eslint-plugin": "20.2.0",
|
|
257
|
+
"@angular-eslint/eslint-plugin-template": "20.2.0",
|
|
258
|
+
"@angular-eslint/template-parser": "20.2.0",
|
|
258
259
|
"@antfu/ni": "25.0.0",
|
|
259
260
|
"@arethetypeswrong/cli": "0.18.2",
|
|
260
261
|
"@cspell/eslint-plugin": "9.2.0",
|
|
261
|
-
"@eslint-react/eslint-plugin": "1.52.
|
|
262
|
+
"@eslint-react/eslint-plugin": "1.52.6",
|
|
262
263
|
"@eslint/config-inspector": "1.2.0",
|
|
263
264
|
"@graphql-eslint/eslint-plugin": "4.4.0",
|
|
264
265
|
"@intlify/eslint-plugin-vue-i18n": "4.1.0",
|
|
265
266
|
"@jest/environment": "30.0.5",
|
|
266
267
|
"@jest/expect": "30.0.5",
|
|
267
|
-
"@next/eslint-plugin-next": "15.
|
|
268
|
-
"@nx/eslint-plugin": "21.
|
|
268
|
+
"@next/eslint-plugin-next": "15.5.0",
|
|
269
|
+
"@nx/eslint-plugin": "21.4.1",
|
|
269
270
|
"@smarttools/eslint-plugin-rxjs": "1.0.22",
|
|
270
|
-
"@sveltejs/kit": "2.
|
|
271
|
+
"@sveltejs/kit": "2.36.2",
|
|
271
272
|
"@tanstack/eslint-plugin-query": "5.83.1",
|
|
272
273
|
"@types/debug": "4.1.12",
|
|
273
|
-
"@types/eslint-plugin-jsx-a11y": "6.10.0",
|
|
274
274
|
"@types/eslint-plugin-security": "3.0.0",
|
|
275
275
|
"@types/eslint-plugin-tailwindcss": "3.17.0",
|
|
276
276
|
"@types/estree": "1.0.8",
|
|
277
277
|
"@types/node": "20.19.1",
|
|
278
278
|
"@types/semver": "7.7.0",
|
|
279
|
+
"@typescript/native-preview": "7.0.0-dev.20250825.1",
|
|
279
280
|
"@unocss/eslint-plugin": "66.4.2",
|
|
280
281
|
"@vitest/eslint-plugin": "1.3.4",
|
|
281
282
|
"angular-eslint-plugin-template15": "npm:@angular-eslint/eslint-plugin-template@15.2.1",
|
|
@@ -289,12 +290,12 @@ var devDependencies = {
|
|
|
289
290
|
"eslint": "9.33.0",
|
|
290
291
|
"eslint-plugin-astro": "1.3.1",
|
|
291
292
|
"eslint-plugin-ava": "15.1.0",
|
|
292
|
-
"eslint-plugin-better-tailwindcss": "3.7.
|
|
293
|
+
"eslint-plugin-better-tailwindcss": "3.7.5",
|
|
293
294
|
"eslint-plugin-case-police": "2.0.0",
|
|
294
295
|
"eslint-plugin-compat": "6.0.2",
|
|
295
296
|
"eslint-plugin-cypress": "5.1.1",
|
|
296
297
|
"eslint-plugin-de-morgan": "1.3.1",
|
|
297
|
-
"eslint-plugin-ember": "12.7.
|
|
298
|
+
"eslint-plugin-ember": "12.7.3",
|
|
298
299
|
"eslint-plugin-erasable-syntax-only": "0.3.1",
|
|
299
300
|
"eslint-plugin-es-x": "9.0.0",
|
|
300
301
|
"eslint-plugin-eslint-plugin": "7.0.0",
|
|
@@ -311,14 +312,14 @@ var devDependencies = {
|
|
|
311
312
|
"eslint-plugin-playwright": "2.2.2",
|
|
312
313
|
"eslint-plugin-prefer-arrow-functions": "3.6.2",
|
|
313
314
|
"eslint-plugin-qunit": "8.2.5",
|
|
314
|
-
"eslint-plugin-qwik": "1.
|
|
315
|
+
"eslint-plugin-qwik": "1.16.0",
|
|
315
316
|
"eslint-plugin-react": "7.37.5",
|
|
316
317
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
317
318
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
318
319
|
"eslint-plugin-react-refresh": "0.4.20",
|
|
319
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "0.4.
|
|
320
|
+
"eslint-plugin-react-you-might-not-need-an-effect": "0.4.3",
|
|
320
321
|
"eslint-plugin-solid": "0.14.5",
|
|
321
|
-
"eslint-plugin-storybook": "9.1.
|
|
322
|
+
"eslint-plugin-storybook": "9.1.3",
|
|
322
323
|
"eslint-plugin-svelte": "3.11.0",
|
|
323
324
|
"eslint-plugin-tailwindcss": "3.18.2",
|
|
324
325
|
"eslint-plugin-testing-library": "7.6.6",
|
|
@@ -332,15 +333,15 @@ var devDependencies = {
|
|
|
332
333
|
"json-schema": "0.4.0",
|
|
333
334
|
"json-schema-to-ts": "3.1.1",
|
|
334
335
|
"json-schema-to-typescript-lite": "15.0.0",
|
|
335
|
-
"knip": "5.
|
|
336
|
+
"knip": "5.63.0",
|
|
336
337
|
"npm-check-updates": "18.0.2",
|
|
337
338
|
"prettier": "3.6.2",
|
|
338
339
|
"release-it": "19.0.4",
|
|
339
|
-
"shiki": "3.
|
|
340
|
+
"shiki": "3.11.0",
|
|
340
341
|
"svelte-eslint-parser": "1.3.1",
|
|
341
342
|
"toml-eslint-parser": "0.10.0",
|
|
342
|
-
"tsdown": "0.14.
|
|
343
|
-
"tsx": "4.20.
|
|
343
|
+
"tsdown": "0.14.2",
|
|
344
|
+
"tsx": "4.20.5",
|
|
344
345
|
"typescript": "5.9.2",
|
|
345
346
|
"vue-eslint-parser": "10.2.0",
|
|
346
347
|
"yaml-eslint-parser": "1.3.0",
|
|
@@ -351,11 +352,11 @@ var peerDependencies = {
|
|
|
351
352
|
"@angular-eslint/eslint-plugin-template": ">=13 <21",
|
|
352
353
|
"@angular-eslint/template-parser": ">=13 <21",
|
|
353
354
|
"@cspell/eslint-plugin": "^9.2.0",
|
|
354
|
-
"@eslint-react/eslint-plugin": "^1.52.
|
|
355
|
+
"@eslint-react/eslint-plugin": "^1.52.6",
|
|
355
356
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
356
357
|
"@intlify/eslint-plugin-vue-i18n": "^4.1.0",
|
|
357
|
-
"@next/eslint-plugin-next": "^15.
|
|
358
|
-
"@nx/eslint-plugin": "^21.
|
|
358
|
+
"@next/eslint-plugin-next": "^15.5.0",
|
|
359
|
+
"@nx/eslint-plugin": "^21.4.1",
|
|
359
360
|
"@smarttools/eslint-plugin-rxjs": "^1.0.22",
|
|
360
361
|
"@tanstack/eslint-plugin-query": "^5.83.1",
|
|
361
362
|
"@unocss/eslint-plugin": "^66.4.2",
|
|
@@ -365,12 +366,12 @@ var peerDependencies = {
|
|
|
365
366
|
"eslint": "^9.15.0",
|
|
366
367
|
"eslint-plugin-astro": "^1.3.1",
|
|
367
368
|
"eslint-plugin-ava": "^15.1.0",
|
|
368
|
-
"eslint-plugin-better-tailwindcss": "^3.7.
|
|
369
|
+
"eslint-plugin-better-tailwindcss": "^3.7.5",
|
|
369
370
|
"eslint-plugin-case-police": "^2.0.0",
|
|
370
371
|
"eslint-plugin-compat": "^6.0.2",
|
|
371
372
|
"eslint-plugin-cypress": "^5.1.1",
|
|
372
373
|
"eslint-plugin-de-morgan": "^1.3.1",
|
|
373
|
-
"eslint-plugin-ember": "^12.7.
|
|
374
|
+
"eslint-plugin-ember": "^12.7.3",
|
|
374
375
|
"eslint-plugin-erasable-syntax-only": "^0.3.1",
|
|
375
376
|
"eslint-plugin-es-x": "^9.0.0",
|
|
376
377
|
"eslint-plugin-eslint-plugin": "^7.0.0",
|
|
@@ -387,14 +388,14 @@ var peerDependencies = {
|
|
|
387
388
|
"eslint-plugin-playwright": "^2.2.2",
|
|
388
389
|
"eslint-plugin-prefer-arrow-functions": "^3.6.2",
|
|
389
390
|
"eslint-plugin-qunit": "^8.2.5",
|
|
390
|
-
"eslint-plugin-qwik": "^1.
|
|
391
|
+
"eslint-plugin-qwik": "^1.16.0",
|
|
391
392
|
"eslint-plugin-react": "^7.37.5",
|
|
392
393
|
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
|
|
393
394
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
394
395
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
395
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "^0.4.
|
|
396
|
+
"eslint-plugin-react-you-might-not-need-an-effect": "^0.4.3",
|
|
396
397
|
"eslint-plugin-solid": "^0.14.5",
|
|
397
|
-
"eslint-plugin-storybook": "^9.1.
|
|
398
|
+
"eslint-plugin-storybook": "^9.1.3",
|
|
398
399
|
"eslint-plugin-svelte": "^3.11.0",
|
|
399
400
|
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
400
401
|
"eslint-plugin-testing-library": "^7.6.6",
|
|
@@ -618,7 +619,7 @@ const pluginsLoaders = {
|
|
|
618
619
|
...genModuleLoader("jsdoc", "eslint-plugin-jsdoc", () => interopDefault(import("eslint-plugin-jsdoc"))),
|
|
619
620
|
...genModuleLoader("json-schema-validator", "eslint-plugin-json-schema-validator", () => interopDefault(import("eslint-plugin-json-schema-validator"))),
|
|
620
621
|
...genModuleLoader("jsonc", "eslint-plugin-jsonc", () => interopDefault(import("eslint-plugin-jsonc"))),
|
|
621
|
-
...genModuleLoader("jsx-a11y", "eslint-plugin-jsx-a11y", () => interopDefault(import("eslint-plugin-jsx-a11y"))),
|
|
622
|
+
...genModuleLoader("jsx-a11y", "eslint-plugin-jsx-a11y-x", () => interopDefault(import("eslint-plugin-jsx-a11y-x"))),
|
|
622
623
|
...genModuleLoader("markdown", "@eslint/markdown", () => interopDefault(import("@eslint/markdown"))),
|
|
623
624
|
...genModuleLoader("mocha", "eslint-plugin-mocha", () => interopDefault(import("eslint-plugin-mocha"))),
|
|
624
625
|
...genModuleLoader("no-only-tests", "eslint-plugin-no-only-tests", () => interopDefault(import("eslint-plugin-no-only-tests"))),
|
|
@@ -754,7 +755,7 @@ const resolveOverrides = (context, overrides$1, existingRules) => {
|
|
|
754
755
|
const getRuleUnSeverityAndOptionsFromEntry = (entry, severityOrOptionsOverride) => {
|
|
755
756
|
const severityRaw = Array.isArray(entry) ? entry[0] : entry;
|
|
756
757
|
const severity = severityOrOptionsOverride?.[0] ?? (typeof severityRaw === "string" ? STRING_SEVERITY_TO_NUMERIC[severityRaw] : severityRaw);
|
|
757
|
-
return [severity, severityOrOptionsOverride?.[1] ?? (Array.isArray(entry) ? entry.slice(1) : [])];
|
|
758
|
+
return [severity, severityOrOptionsOverride?.[1] ?? (Array.isArray(entry) ? structuredClone(entry.slice(1)) : [])];
|
|
758
759
|
};
|
|
759
760
|
var ConfigEntryBuilder = class {
|
|
760
761
|
pluginPrefix;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ERROR, GLOB_JS_TS_EXTENSION, OFF, assignDefaults, createConfigBuilder } from "./eslint-
|
|
2
|
-
import { RULES_TO_DISABLE_IN_TEST_FILES, generateDefaultTestFiles } from "./shared-
|
|
1
|
+
import { ERROR, GLOB_JS_TS_EXTENSION, OFF, assignDefaults, createConfigBuilder } from "./eslint-Bw0-yCUK.js";
|
|
2
|
+
import { RULES_TO_DISABLE_IN_TEST_FILES, generateDefaultTestFiles } from "./shared-DJZD7aXN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/configs/eslint-plugin.ts
|
|
5
5
|
const eslintPluginUnConfig = (context) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ERROR, GLOB_ASTRO, GLOB_EMBER_GLIMMER, GLOB_FLOW, GLOB_GRAPHQL, GLOB_JS_TS_X, GLOB_SVELTE, OFF, WARNING, assignDefaults, createConfigBuilder, doesPackageExist, getKeysOfTruthyValues, pickBy, pluginsLoaders } from "./eslint-
|
|
1
|
+
import { ERROR, GLOB_ASTRO, GLOB_EMBER_GLIMMER, GLOB_FLOW, GLOB_GRAPHQL, GLOB_JS_TS_X, GLOB_SVELTE, OFF, WARNING, assignDefaults, createConfigBuilder, doesPackageExist, getKeysOfTruthyValues, pickBy, pluginsLoaders } from "./eslint-Bw0-yCUK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/configs/graphql.ts
|
|
4
4
|
const graphqlUnConfig = async (context) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ERROR, GLOB_HTML_ALL, OFF, WARNING, assignDefaults, createConfigBuilder, interopDefault } from "./eslint-
|
|
1
|
+
import { ERROR, GLOB_HTML_ALL, OFF, WARNING, assignDefaults, createConfigBuilder, interopDefault } from "./eslint-Bw0-yCUK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/configs/html.ts
|
|
4
4
|
const htmlUnConfig = async (context) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ERROR, GLOB_MARKDOWN_ALL_CODE_BLOCKS, OFF, WARNING, arraify, assignDefaults, createConfigBuilder, interopDefault, isNonEmptyArray, pluginsLoaders } from "./eslint-
|
|
1
|
+
import { ERROR, GLOB_MARKDOWN_ALL_CODE_BLOCKS, OFF, WARNING, arraify, assignDefaults, createConfigBuilder, interopDefault, isNonEmptyArray, pluginsLoaders } from "./eslint-Bw0-yCUK.js";
|
|
2
2
|
|
|
3
3
|
//#region src/configs/import.ts
|
|
4
4
|
const importUnConfig = async (context) => {
|