Skip to content

Commit 12ecbf6

Browse files
committed
docs: update linter features
1 parent 4f1ad27 commit 12ecbf6

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

src/docs/guide/usage/linter.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ We recommend running oxlint before ESLint in your lint-staged or CI setup for a
2323
- 50 - 100 times faster than ESLint, and scales with the number of CPU cores ([benchmark](https://github.com/oxc-project/bench-javascript-linter)).
2424
- Over 500 rules with a growing list from `eslint`, `typescript`, `eslint-plugin-react`, `eslint-plugin-jest`, `eslint-plugin-unicorn`, `eslint-plugin-jsx-a11y` and [many more](https://github.com/oxc-project/oxc/issues/481).
2525
- Supports
26-
- [.eslintignore](https://eslint.org/docs/latest/use/configure/ignore#the-eslintignore-file).
27-
- [ESLint comment disabling](https://eslint.org/docs/latest/use/configure/rules#disabling-rules).
28-
- [Partial ESLint v8 Configuration](./linter/config) in `json` format
26+
- [`.oxlintrc.json` configuration file](./linter/config).
27+
- [Nested configuration file](./linter/nested-config)
28+
- [Comment disabling](./linter/config.html#configuring-rules-via-inline-configuration-comments).
29+
- [Automatic Fixes](./linter/automatic-fixes)
2930

3031
## Language Support
3132

src/docs/guide/usage/linter/config.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,3 +249,7 @@ You can ignore certain patterns of files by configuring the `ignorePatterns` pro
249249
"ignorePatterns": ["vendor", "test/snapshots/**", "test.js"],
250250
}
251251
```
252+
253+
### .eslintignore
254+
255+
Oxlint works with our previous [.eslintignore](https://eslint.org/docs/latest/use/configure/ignore#the-eslintignore-file) file.

src/docs/guide/usage/linter/nested-config.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ outline: [2, 3]
33
editLink: false
44
---
55

6-
# Nested Configs
7-
8-
## Nesting configuration files
6+
# Nesting configuration files
97

108
> [!WARNING]
119
> This is currently an experimental feature and may have bugs. To enable it, pass the `--experimental-nested-config` option in the command-line.

0 commit comments

Comments
 (0)