@luxass/eslint-config 7.4.0 → 7.4.1

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.
Files changed (2) hide show
  1. package/dist/index.mjs +6 -1
  2. package/package.json +1 -1
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",
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxass/eslint-config",
3
- "version": "7.4.0",
3
+ "version": "7.4.1",
4
4
  "description": "ESLint config for @luxass",
5
5
  "type": "module",
6
6
  "author": {