Skip to content
Open
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
8 changes: 8 additions & 0 deletions runtime/plugins/linter/help/linter.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ following filetypes and linters:
* **swift**: swiftc (MacOS and Linux only)
* **yaml**: yamllint

You can easily enable linting in your `settings.json` file:
Copy link
Contributor

@Andriamanitra Andriamanitra Jul 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also mention the set linter on|off command which is the easier way to do this.


```json
{
"linter": true
}
```

If the linter plugin is enabled and the file corresponds to one of
these filetypes, each time the buffer is saved, or when the `> lint`
command is executed, micro will run the corresponding utility in the
Expand Down