+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

docs(website): add section to explain how fixes work #3173

Merged
merged 4 commits into from
Sep 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions website/src/_includes/docs/linter.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,17 @@ declare const Foo: number;
// rome-ignore lint(js/noUnusedVariables): reason
declare const Bar: number;
```


### Code fixes

Lint rules may provide automatic code fixes. Rome distinguishes between two types of fixes:

* safe fixes
* suggested fixes

Safe fixes are guaranteed to not change the semantics of your code,
and can be applied without explicit review.

Suggested fixes may change the semantics of your program, and it's,
therefore, advised to manually review the changes.
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载