Skip to content

Commit 111b7a7

Browse files
committed
docs: minor improvements
1 parent 87de085 commit 111b7a7

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

website/pages/docs/installation.mdx

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ module.exports = {
8484

8585
## Linting with type information
8686

87-
<ESLintConfig>
88-
89-
<Config>
90-
9187
<Info>
9288
Rules that require type information are not enabled by default.
9389

@@ -97,6 +93,10 @@ Then, you can enable the rules that require type information.
9793

9894
</Info>
9995

96+
<ESLintConfig>
97+
98+
<Config>
99+
100100
```js filename="eslint.config.js" {13,23}
101101
// @ts-check
102102

@@ -132,15 +132,6 @@ export default [
132132

133133
<Config>
134134

135-
<Info>
136-
Rules that require type information are not enabled by default.
137-
138-
To enable them, you need to set the `project` option in `parserOptions` to the path of your `tsconfig.json` file.
139-
140-
Then, you can enable the rules that require type information.
141-
142-
</Info>
143-
144135
```js filename=".eslintrc.js" {5,10}
145136
module.exports = {
146137
// ...

0 commit comments

Comments
 (0)