@eslint-react/eslint-plugin 1.20.1 → 1.20.2-next.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
@@ -70,16 +70,28 @@ export default [
70
70
 
71
71
  ## Presets
72
72
 
73
- ### Flat Config
73
+ ### Bare Bones
74
+
75
+ - **Core** (`core`)\
76
+ Enable rules for `"react"`.
77
+ - **DOM** (`dom`)\
78
+ Enable rules for `"react-dom"`.
79
+ - **Web API** (`web-api`)\
80
+ Enable rules for interacting with Web APIs.
81
+
82
+ ### General Purpose
83
+
84
+ - **Recommended** (`recommended`)\
85
+ Enforce rules that are recommended by ESLint React.\
86
+ _This preset includes the `core`, `dom`, and `web-api` presets._
87
+
88
+ ### TypeScript Specialized
89
+
90
+ - **Recommended TypeScript** (`recommended-typescript`)\
91
+ Same as the `recommended` preset but disables rules that can be covered by TypeScript.
74
92
 
75
- - **recommended**\
76
- Enable rules that are recommended by ESLint React.
77
- - **recommended-typescript**\
78
- Enable rules that are recommended by ESLint React and disable rules that can be covered by TypeScript.\
79
- _This preset includes the `recommended` preset._
80
- - **recommended-type-checked**\
81
- Enable rules that are recommended by ESLint React with additional rules that require type information.\
82
- _This preset includes the `recommended-typescript` preset._
93
+ - **Recommended Type-Checked** (`recommended-type-checked`)\
94
+ Same as the `recommended-typescript` preset but enables additional rules that require type information.
83
95
 
84
96
  [Full Presets List↗](https://eslint-react.xyz/docs/presets)
85
97
 
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ var __export = (target, all) => {
26
26
 
27
27
  // package.json
28
28
  var name = "@eslint-react/eslint-plugin";
29
- var version = "1.20.1";
29
+ var version = "1.20.2-next.1";
30
30
 
31
31
  // src/configs/all.ts
32
32
  var all_exports = {};
package/dist/index.mjs CHANGED
@@ -15,7 +15,7 @@ var __export = (target, all) => {
15
15
 
16
16
  // package.json
17
17
  var name = "@eslint-react/eslint-plugin";
18
- var version = "1.20.1";
18
+ var version = "1.20.2-next.1";
19
19
 
20
20
  // src/configs/all.ts
21
21
  var all_exports = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint-plugin",
3
- "version": "1.20.1",
3
+ "version": "1.20.2-next.1",
4
4
  "description": "The main ESLint plugin of ESLint React. Contains all the rules and presets of ESLint React.",
5
5
  "keywords": [
6
6
  "react",
@@ -50,15 +50,15 @@
50
50
  "@typescript-eslint/type-utils": "^8.18.1",
51
51
  "@typescript-eslint/types": "^8.18.1",
52
52
  "@typescript-eslint/utils": "^8.18.1",
53
- "@eslint-react/shared": "1.20.1",
54
- "eslint-plugin-react-debug": "1.20.1",
55
- "eslint-plugin-react-dom": "1.20.1",
56
- "@eslint-react/tools": "1.20.1",
57
- "@eslint-react/types": "1.20.1",
58
- "eslint-plugin-react-web-api": "1.20.1",
59
- "eslint-plugin-react-hooks-extra": "1.20.1",
60
- "eslint-plugin-react-naming-convention": "1.20.1",
61
- "eslint-plugin-react-x": "1.20.1"
53
+ "@eslint-react/shared": "1.20.2-next.1",
54
+ "@eslint-react/tools": "1.20.2-next.1",
55
+ "@eslint-react/types": "1.20.2-next.1",
56
+ "eslint-plugin-react-debug": "1.20.2-next.1",
57
+ "eslint-plugin-react-hooks-extra": "1.20.2-next.1",
58
+ "eslint-plugin-react-dom": "1.20.2-next.1",
59
+ "eslint-plugin-react-naming-convention": "1.20.2-next.1",
60
+ "eslint-plugin-react-web-api": "1.20.2-next.1",
61
+ "eslint-plugin-react-x": "1.20.2-next.1"
62
62
  },
63
63
  "devDependencies": {
64
64
  "tsup": "^8.3.5",