Skip to content

Commit 13a4f16

Browse files
committed
Reorganize preset docs sections and descriptions
1 parent f5f8054 commit 13a4f16

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

apps/website/content/docs/presets.mdx

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,35 +15,31 @@ The following presets are available in `@eslint-react/eslint-plugin`:
1515

1616
## General Purpose
1717

18+
- `strict` (beta)\
19+
Same as the `recommended` preset but enables additional strict rules.
20+
1821
- `recommended`\
1922
Enforce rules that are recommended by ESLint React for general purpose React + React DOM projects.\
2023
_This preset includes the `x`, `dom`, and `web-api` presets._
2124

22-
- `strict` (beta)\
23-
Same as the `recommended` preset but enables additional strict rules.
24-
2525
## TypeScript Specialized
2626

27-
- `recommended-typescript`\
28-
Same as the `recommended` preset but disables rules that can be enforced by TypeScript.
29-
30-
- `recommended-type-checked`\
31-
Same as the `recommended-typescript` preset but enables additional rules that require type information.
32-
3327
- `strict-typescript` (beta)\
3428
Same as the `strict` preset but disables rules that can be enforced by TypeScript.
3529

3630
- `strict-type-checked` (beta)\
3731
Same as the `strict-typescript` preset but enables additional rules that require type information.
3832

39-
### Combined (beta)
33+
- `recommended-typescript`\
34+
Same as the `recommended` preset but disables rules that can be enforced by TypeScript.
4035

41-
- `no-deprecated`\
42-
Enable all non-deprecated rules from the `x` and `dom` presets.\
43-
_This preset sets the severity of these rules to `"error"`._
36+
- `recommended-type-checked`\
37+
Same as the `recommended-typescript` preset but enables additional rules that require type information.
4438

4539
## Other
4640

41+
- `no-deprecated`\
42+
Enable all non-deprecated rules from the `x` and `dom` presets.
4743
- `disable-dom`\
4844
Disable rules in the `dom` preset.
4945
- `disable-web-api`\

0 commit comments

Comments
 (0)