Skip to content

Commit 2ae687a

Browse files
committed
docs: minor improvements
1 parent 27ed0d8 commit 2ae687a

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

examples/vite-react-ts-flat/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default [
3434
...reactHooks.configs.recommended.rules,
3535
},
3636
},
37-
// React rules
37+
// ESLint React rules
3838
{
3939
files: ["src/**/*.{ts,tsx}"],
4040
...eslintReact.configs.recommended,

examples/vite-react-ts/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default [
3434
...reactHooks.configs.recommended.rules,
3535
},
3636
},
37-
// React rules
37+
// ESLint React rules
3838
{
3939
files: ["src/**/*.{ts,tsx}"],
4040
...eslintReact.configs.recommended,

website/pages/docs/configuration.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ import { Config, ESLintConfig } from "#/components/eslint-config";
88
sections may be incomplete or subject to changes.
99
</Warning>
1010

11-
This plugin exposes some settings to help you customize the behavior of the plugin itself.
11+
This plugin provides the following configurations:
1212

1313
## Settings
1414

15+
1516
### `jsx.pragma`
1617

1718
(type: `string`, default: `"React"`)

website/pages/docs/installation.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Config, ESLintConfig } from "#/components/eslint-config";
55

66
## Install
77

8-
<Tabs items={["npm", "pnpm", "yarn", "bun"]}>
8+
<Tabs items={["npm", "yarn", "pnpm", "bun"]}>
99

1010
<Tab>
1111

@@ -18,15 +18,15 @@ npm install --save-dev eslint-plugin-react-hooks @eslint-react/eslint-plugin
1818
<Tab>
1919

2020
```bash filename="Terminal"
21-
pnpm add --save-dev eslint-plugin-react-hooks @eslint-react/eslint-plugin
21+
yarn add --dev eslint-plugin-react-hooks @eslint-react/eslint-plugin
2222
```
2323

2424
</Tab>
2525

2626
<Tab>
2727

2828
```bash filename="Terminal"
29-
yarn add --dev eslint-plugin-react-hooks @eslint-react/eslint-plugin
29+
pnpm add --save-dev eslint-plugin-react-hooks @eslint-react/eslint-plugin
3030
```
3131

3232
</Tab>
@@ -100,7 +100,7 @@ export default [
100100
...reactHooks.configs.recommended.rules,
101101
},
102102
},
103-
// React rules
103+
// ESLint React rules
104104
{
105105
files: ["src/**/*.{ts,tsx}"],
106106
...eslintReact.configs.recommended,
@@ -198,7 +198,7 @@ export default [
198198
...reactHooks.configs.recommended.rules,
199199
},
200200
},
201-
// React rules
201+
// ESLint React rules
202202
{
203203
files: ["src/**/*.{ts,tsx}"],
204204
...eslintReact.configs["recommended-type-checked"],

0 commit comments

Comments
 (0)