@@ -13,28 +13,28 @@ The following presets are available in `@eslint-react/eslint-plugin`:
13
13
These presets are for ESLint Flat Config (` eslint.config.js ` ) only.
14
14
</Info >
15
15
16
- - ** core** \
17
- Enable rules that are renderer-agnostic .
18
- - ** dom** \
16
+ - Core ( ` core ` ) \
17
+ Enable basic rules for React itself .
18
+ - DOM ( ` dom ` ) \
19
19
Enable rules that are specific to React DOM.
20
- - ** web-api** \
20
+ - Web API ( ` web-api ` ) \
21
21
Enable rules for interacting with Web APIs.
22
- - ** recommended ** \
22
+ - ** Recommended ** ( ` recommended ` ) \
23
23
Enable rules that are recommended by ESLint React.\
24
24
_ This preset includes the ` core ` , ` dom ` , and ` web-api ` presets._
25
- - ** recommended-typescript** \
25
+ - ** Recommended TypeScript ** ( ` recommended-typescript ` ) \
26
26
Enable rules that are recommended by ESLint React and disable rules that can be covered by TypeScript.\
27
27
_ This preset includes the ` recommended ` preset._
28
- - ** recommended-type-checked** \
28
+ - ** Recommended Type-Checked ** ( ` recommended-type-checked ` ) \
29
29
Enable rules that are recommended by ESLint React with additional rules that require type information.\
30
30
_ This preset includes the ` recommended-typescript ` preset._
31
- - ** disable-dom** \
32
- Disable rules that are specific to React DOM .
33
- - ** disable-web-api** \
34
- Disable rules for interacting with Web APIs .
35
- - ** disable-type-checked** \
31
+ - Disable DOM ( ` disable-dom ` ) \
32
+ Disable rules in the ` dom ` preset .
33
+ - Disable Web API ( ` disable-web-api ` ) \
34
+ Disable rules in the ` web-api ` preset .
35
+ - Disable Type-Checked ( ` disable-type-checked ` ) \
36
36
Disable rules that require type information.
37
- - ** off** \
37
+ - Off ( ` off ` ) \
38
38
Disable all rules in this plugin except for debug rules.
39
39
40
40
</Config >
@@ -43,28 +43,28 @@ The following presets are available in `@eslint-react/eslint-plugin`:
43
43
44
44
<Info >These presets are for ESLint Legacy Config (` .eslintrc.* ` ) only.</Info >
45
45
46
- - ** core-legacy** \
47
- Enable rules that are renderer-agnostic .
48
- - ** dom-legacy** \
46
+ - Core ( ` core-legacy ` ) \
47
+ Enable basic rules for React itself .
48
+ - DOM ( ` dom-legacy ` ) \
49
49
Enable rules that are specific to React DOM.
50
- - ** web-api-legacy** \
50
+ - Web API ( ` web-api-legacy ` ) \
51
51
Enable rules for interacting with Web APIs.
52
- - ** recommended-legacy** \
52
+ - ** Recommended ** ( ` recommended-legacy ` ) \
53
53
Enable rules that are recommended by ESLint React.\
54
54
_ This preset includes the ` core-legacy ` , ` dom-legacy ` , and ` web-api-legacy ` presets._
55
- - ** recommended-typescript-legacy** \
55
+ - ** Recommended TypeScript ** ( ` recommended-typescript-legacy ` ) \
56
56
Enable rules that are recommended by ESLint React and disable rules that can be covered by TypeScript.\
57
57
_ This preset includes the ` recommended-legacy ` preset._
58
- - ** recommended-type-checked-legacy** \
58
+ - ** Recommended Type-Checked ** ( ` recommended-type-checked-legacy ` ) \
59
59
Enable rules that are recommended by ESLint React with additional rules that require type information.\
60
60
_ This preset includes the ` recommended-typescript-legacy ` preset._
61
- - ** disable-dom-legacy** \
62
- Disable rules that are specific to React DOM .
63
- - ** disable-web-api-legacy** \
64
- Disable rules for interacting with Web APIs .
65
- - ** disable-type-checked-legacy** \
61
+ - Disable DOM ( ` disable-dom-legacy ` ) \
62
+ Disable rules in the ` dom-legacy ` preset .
63
+ - Disable Web API ( ` disable-web-api-legacy ` ) \
64
+ Disable rules in the ` web-api-legacy ` preset .
65
+ - Disable Type-Checked ( ` disable-type-checked-legacy ` ) \
66
66
Disable rules that require type information.
67
- - ** off-legacy** \
67
+ - Off ( ` off-legacy ` ) \
68
68
Disable all rules in this plugin except for debug rules.
69
69
70
70
</Config >
0 commit comments