Skip to content

Commit

Permalink
s/--fix-dangerous/fix-dangerously
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Sep 23, 2024
1 parent 0d56c1a commit 38df82e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/docs/guide/usage/linter/automatic-fixes.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You can find which rules are fixable from the [rules page](./rules.md).
Some fixes and suggestions are considered dangerous. Being more aggressive in
nature, **these may produce invalid code and/or change the behavior of your
program**. These are disabled by default and can be enabled with the
`--fix-dangerous` flag. You should review each change carefully before
`--fix-dangerously` flag. You should review each change carefully before
committing it to your codebase.

:::warning
Expand All @@ -37,13 +37,13 @@ commands below using `git add -A`.

```sh
# Safe and dangerous fixes only
oxlint --fix-dangerous
oxlint --fix-dangerously

# Safe and dangerous suggestions only
oxlint --fix-suggestions --fix-dangerous
oxlint --fix-suggestions --fix-dangerously

# Applies all possible fixes and suggestions
oxlint --fix --fix-suggestions --fix-dangerous
oxlint --fix --fix-suggestions --fix-dangerously
```

## Pending Fixes
Expand Down

0 comments on commit 38df82e

Please sign in to comment.