@open-turo/eslint-config-react 23.0.2 → 24.0.0-pr-440.275.1.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.
package/README.md CHANGED
@@ -28,16 +28,6 @@ const turoConfig = require("@open-turo/eslint-config-react");
28
28
  module.exports = turoConfig();
29
29
  ```
30
30
 
31
- ### **[.eslintrc](https://eslint.org/docs/latest/use/configure/configuration-files)** (legacy example)
32
-
33
- ```jsonc
34
- {
35
- "extends": "@open-turo/eslint-config-react/recommended",
36
- }
37
- ```
38
-
39
- You will have to set the `ESLINT_USE_FLAT_CONFIG` env var to true.
40
-
41
31
  ## Development
42
32
 
43
33
  ### Pre-commit
@@ -0,0 +1,5 @@
1
+ # Breaking changes in v23
2
+
3
+ - Removes the **`@open-turo/eslint-config-react/recommended`** entry point and **`.eslintrc`-style** `recommended.cjs`. This package is **flat config only** (`eslint.config.*`). ESLint v10 no longer supports legacy configuration; migrate using the [ESLint migration guide](https://eslint.org/docs/latest/use/configure/migration-guide) if you still use `.eslintrc`.
4
+ - Replaces `eslint-plugin-import` with `eslint-plugin-import-x` for ESLint v10 support (and performance improvements)
5
+ - Drops support for ESLint v8
package/eslint.config.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  import openTuroConfig from "@open-turo/eslint-config-typescript";
2
2
 
3
- // eslint-disable-next-line import/no-default-export
3
+ // eslint-disable-next-line import-x/no-default-export
4
4
  export default openTuroConfig({ typescript: true });
package/index.d.mts CHANGED
@@ -40,5 +40,5 @@ declare namespace config {
40
40
  const plugins: Plugins;
41
41
  }
42
42
 
43
- // eslint-disable-next-line import/no-default-export -- Not valid here
43
+ // eslint-disable-next-line import-x/no-default-export -- Not valid here
44
44
  export default config;
package/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- // eslint-disable-next-line import/no-default-export
1
+ // eslint-disable-next-line import-x/no-default-export
2
2
  export { default } from "./index.cjs";
package/package.json CHANGED
@@ -3,16 +3,17 @@
3
3
  "description": "Turo eslint configuration for react",
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@open-turo/eslint-config-typescript": "22.1.3",
6
+ "@open-turo/eslint-config-typescript": "23.0.0-pr-499.691.1.1",
7
7
  "eslint-plugin-jsx-a11y": "6.10.2",
8
8
  "eslint-plugin-react": "7.37.5",
9
9
  "eslint-plugin-react-hooks": "7.0.1",
10
10
  "globals": "17.4.0",
11
- "typescript-eslint": "8.57.2"
11
+ "typescript-eslint": "8.57.1"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@types/react": "19.2.14",
15
- "eslint": "9.39.4",
15
+ "eslint": "10.1.0",
16
+ "eslint-import-resolver-typescript": "4.4.4",
16
17
  "jest": "30.3.0",
17
18
  "prettier": "3.8.1",
18
19
  "react": "19.2.4"
@@ -42,19 +43,16 @@
42
43
  "default": "./index.cjs"
43
44
  },
44
45
  "default": "./index.mjs"
45
- },
46
- "./recommended": {
47
- "require": "./recommended.cjs"
48
46
  }
49
47
  },
50
48
  "name": "@open-turo/eslint-config-react",
51
49
  "peerDependencies": {
52
- "eslint": "^8.18.0 || ^9.0.0",
50
+ "eslint": "^9.0.0 || ^10.0.0",
53
51
  "prettier": "^3.0.0"
54
52
  },
55
53
  "publishConfig": {
56
54
  "access": "public"
57
55
  },
58
56
  "repository": "https://github.com/open-turo/eslint-config-react",
59
- "version": "23.0.2"
57
+ "version": "24.0.0-pr-440.275.1.1"
60
58
  }