@paratco/eslint-config 0.4.4 → 0.5.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paratco/eslint-config",
3
- "version": "0.4.4",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "author": "Paratco",
@@ -20,16 +20,15 @@
20
20
  "format": "prettier --write src/"
21
21
  },
22
22
  "peerDependencies": {
23
- "eslint": "^9.5.0",
23
+ "eslint": "^8.57.0",
24
24
  "prettier": "^3.3.2",
25
25
  "typescript-eslint": "^7.14.1"
26
26
  },
27
27
  "dependencies": {
28
- "@eslint/compat": "^1.1.0",
29
28
  "@eslint/js": "^9.5.0",
30
29
  "@types/eslint__js": "^8.42.3",
31
30
  "eslint-config-prettier": "^9.1.0",
32
- "eslint-plugin-react": "^7.34.2",
31
+ "eslint-plugin-react": "^7.34.3",
33
32
  "eslint-plugin-react-hooks": "^4.6.2",
34
33
  "eslint-plugin-react-refresh": "^0.4.7",
35
34
  "globals": "^15.6.0"
@@ -1,9 +1,6 @@
1
1
  import globals from "globals";
2
2
  import baseConfig from "./base.js";
3
3
 
4
- // Fix plugins compatibility with ESLint 9.x
5
- import { fixupPluginRules } from "@eslint/compat";
6
-
7
4
  // Plugins
8
5
  import react from "eslint-plugin-react";
9
6
  import reactHooks from "eslint-plugin-react-hooks";
@@ -25,7 +22,7 @@ export default [
25
22
  {
26
23
  files: ["**/*.{js,jsx,mjs,cjs,ts,tsx}"],
27
24
  plugins: {
28
- react: fixupPluginRules(react),
25
+ react: react,
29
26
  "react-hooks": reactHooks,
30
27
  "react-refresh": reactRefresh
31
28
  },