Skip to content

Commit 1b459e0

Browse files
committed
Update README to fix Table of Contents and section headings
1 parent 1c36042 commit 1b459e0

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
- [Setup](#setup)
2222
- [Presets](#presets)
2323
- [Bare Bones](#bare-bones)
24-
- [General Purpose](#general-purpose)
25-
- [TypeScript Specialized](#typescript-specialized)
24+
- [General Purpose](#general-purpose)
25+
- [TypeScript Specialized](#typescript-specialized)
26+
- [Category Based](#category-based)
2627
- [Other](#other)
2728
- [Rules](#rules)
2829
- [Benchmark](#benchmark)
@@ -127,7 +128,7 @@ export default defineConfig(
127128
- `web-api`\
128129
Enable rules for interacting with Web APIs.
129130

130-
## General Purpose
131+
### General Purpose
131132

132133
- `recommended`\
133134
Enforce rules that are recommended by ESLint React for general-purpose React + React DOM projects.\
@@ -136,7 +137,7 @@ export default defineConfig(
136137
- `strict`\
137138
Same as the `recommended` preset but enables additional strict rules.
138139

139-
## TypeScript Specialized
140+
### TypeScript Specialized
140141

141142
- `recommended-typescript`\
142143
Same as the `recommended` preset but disables rules that can be enforced by TypeScript.

packages/plugins/eslint-plugin/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
- [Setup](#setup)
2222
- [Presets](#presets)
2323
- [Bare Bones](#bare-bones)
24-
- [General Purpose](#general-purpose)
25-
- [TypeScript Specialized](#typescript-specialized)
24+
- [General Purpose](#general-purpose)
25+
- [TypeScript Specialized](#typescript-specialized)
26+
- [Category Based](#category-based)
2627
- [Other](#other)
2728
- [Rules](#rules)
2829
- [Benchmark](#benchmark)
@@ -127,7 +128,7 @@ export default defineConfig(
127128
- `web-api`\
128129
Enable rules for interacting with Web APIs.
129130

130-
## General Purpose
131+
### General Purpose
131132

132133
- `recommended`\
133134
Enforce rules that are recommended by ESLint React for general-purpose React + React DOM projects.\
@@ -136,7 +137,7 @@ export default defineConfig(
136137
- `strict`\
137138
Same as the `recommended` preset but enables additional strict rules.
138139

139-
## TypeScript Specialized
140+
### TypeScript Specialized
140141

141142
- `recommended-typescript`\
142143
Same as the `recommended` preset but disables rules that can be enforced by TypeScript.

0 commit comments

Comments
 (0)