@eslint-react/eslint-plugin 5.20.8 → 5.21.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/README.md CHANGED
@@ -67,6 +67,12 @@ Composable ESLint rules for React and friends.
67
67
  > - ESLint: 10.3.0
68
68
  > - TypeScript: 5.0.0
69
69
 
70
+ > [!NOTE]
71
+ > The `eslint` package is an optional peer dependency, so the plugins can also be loaded by other runtimes
72
+ > (e.g. Oxlint's JS plugins) without ESLint installed. Note that transitive peer requirements (e.g. from
73
+ > `@typescript-eslint/utils`) may still cause package managers to install ESLint automatically unless peer
74
+ > auto-installation is disabled.
75
+
70
76
  ### Install
71
77
 
72
78
  ```sh
package/dist/index.js CHANGED
@@ -451,7 +451,7 @@ const settings = { ...settings$1 };
451
451
  //#endregion
452
452
  //#region package.json
453
453
  var name = "@eslint-react/eslint-plugin";
454
- var version = "5.20.8";
454
+ var version = "5.21.0";
455
455
 
456
456
  //#endregion
457
457
  //#region src/utils/type-of.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint-plugin",
3
- "version": "5.20.8",
3
+ "version": "5.21.0",
4
4
  "description": "ESLint React's unified ESLint plugin that combines all individual plugins into one.",
5
5
  "keywords": [
6
6
  "react",
@@ -42,19 +42,20 @@
42
42
  "dist"
43
43
  ],
44
44
  "dependencies": {
45
- "@eslint-react/shared": "5.20.8",
46
- "eslint-plugin-react-dom": "5.20.8",
47
- "eslint-plugin-react-jsx": "5.20.8",
48
- "eslint-plugin-react-naming-convention": "5.20.8",
49
- "eslint-plugin-react-rsc": "5.20.8",
50
- "eslint-plugin-react-web-api": "5.20.8",
51
- "eslint-plugin-react-x": "5.20.8"
45
+ "@eslint-react/shared": "5.21.0",
46
+ "eslint-plugin-react-dom": "5.21.0",
47
+ "eslint-plugin-react-jsx": "5.21.0",
48
+ "eslint-plugin-react-naming-convention": "5.21.0",
49
+ "eslint-plugin-react-rsc": "5.21.0",
50
+ "eslint-plugin-react-web-api": "5.21.0",
51
+ "eslint-plugin-react-x": "5.21.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@local/configs": "0.0.0",
55
55
  "@local/eff": "0.0.0",
56
56
  "@types/react": "^19.3.0",
57
57
  "@types/react-dom": "^19.3.0",
58
+ "dedent": "^1.7.2",
58
59
  "eslint": "^10.11.0",
59
60
  "tsdown": "^0.23.0",
60
61
  "typescript": "6.0.3"
@@ -63,6 +64,11 @@
63
64
  "eslint": "*",
64
65
  "typescript": "*"
65
66
  },
67
+ "peerDependenciesMeta": {
68
+ "eslint": {
69
+ "optional": true
70
+ }
71
+ },
66
72
  "engines": {
67
73
  "node": ">=22.0.0"
68
74
  },