@ghettoddos/eslint-config 1.5.0 → 1.5.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.js +2 -1
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -7,6 +7,7 @@ import pluginNode from "eslint-plugin-n";
7
7
  import pluginPerfectionist from "eslint-plugin-perfectionist";
8
8
  import pluginUnicorn from "eslint-plugin-unicorn";
9
9
  import pluginUnusedImports from "eslint-plugin-unused-imports";
10
+ import { fixupPluginRules } from "@eslint/compat";
10
11
  import process from "node:process";
11
12
  import { fileURLToPath } from "node:url";
12
13
  import globals from "globals";
@@ -223,7 +224,7 @@ async function effector(options = {}) {
223
224
  const [pluginEffector] = await Promise.all([interopDefault(import("eslint-plugin-effector"))]);
224
225
  return [{
225
226
  name: "effector/setup",
226
- plugins: { effector: pluginEffector }
227
+ plugins: { effector: fixupPluginRules(pluginEffector) }
227
228
  }, {
228
229
  name: "effector/rules",
229
230
  rules: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ghettoddos/eslint-config",
3
3
  "type": "module",
4
- "version": "1.5.0",
4
+ "version": "1.5.1",
5
5
  "description": "ghettoDdOS ESLint config",
6
6
  "author": "ghettoDdOS <pen.egor2002@gamil.com> (https://github.com/ghettoDdOS/)",
7
7
  "license": "MIT",
@@ -58,6 +58,7 @@
58
58
  "@clack/prompts": "^0.11.0",
59
59
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
60
60
  "@eslint-react/eslint-plugin": "^1.50.0",
61
+ "@eslint/compat": "^1.2.9",
61
62
  "@eslint/markdown": "^6.4.0",
62
63
  "@stylistic/eslint-plugin": "^4.4.0",
63
64
  "@typescript-eslint/eslint-plugin": "^8.33.0",