@luxass/eslint-config 7.4.0 → 7.4.2

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/index.mjs CHANGED
@@ -1745,7 +1745,7 @@ async function test(options = {}) {
1745
1745
  fn: "it",
1746
1746
  withinDescribe: "it"
1747
1747
  }],
1748
- "test/no-focused-tests": isInEditor ? "off" : ["error", { fixable: true }],
1748
+ "test/no-focused-tests": isInEditor ? "warn" : "error",
1749
1749
  "test/no-identical-title": "error",
1750
1750
  "test/no-import-node-test": "error",
1751
1751
  "test/prefer-hooks-in-order": "error",
@@ -1938,7 +1938,7 @@ async function typescript(options = {}) {
1938
1938
  }] : [],
1939
1939
  ...erasableOnly ? [{
1940
1940
  name: "luxas/typescript/erasable-syntax-only",
1941
- plugins: { "erasable-syntax-only": await interop(import("./lib-D3Kr7UIJ.mjs")) },
1941
+ plugins: { "erasable-syntax-only": await interop(import("./lib-EoktVv6C.mjs")) },
1942
1942
  rules: {
1943
1943
  "erasable-syntax-only/enums": "error",
1944
1944
  "erasable-syntax-only/import-aliases": "error",
@@ -2390,6 +2390,11 @@ function luxass(options = {}, ...userConfigs) {
2390
2390
  let composer = new FlatConfigComposer();
2391
2391
  composer = composer.append(...configs, ...userConfigs);
2392
2392
  if (autoRenamePlugins) composer = composer.renamePlugins(defaultPluginRenaming);
2393
+ if (isInEditor) composer = composer.disableRulesFix([
2394
+ "unused-imports/no-unused-imports",
2395
+ "test/no-focused-tests",
2396
+ "prefer-const"
2397
+ ], { builtinRules: () => import(["eslint", "use-at-your-own-risk"].join("/")).then((r) => r.builtinRules) });
2393
2398
  return composer;
2394
2399
  }
2395
2400
  //#endregion