mirror of
https://github.com/zyedidia/micro.git
synced 2025-06-19 07:15:34 -04:00
Add settings.json linter documentation
Add a JSON example of how to enable linting in settings.json
This commit is contained in:
parent
dc7759204b
commit
490c4ac8ab
@ -24,6 +24,14 @@ following filetypes and linters:
|
|||||||
* **swift**: swiftc (MacOS and Linux only)
|
* **swift**: swiftc (MacOS and Linux only)
|
||||||
* **yaml**: yamllint
|
* **yaml**: yamllint
|
||||||
|
|
||||||
|
You can easily enable linting in your `settings.json` file:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"linter": true
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
If the linter plugin is enabled and the file corresponds to one of
|
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`
|
these filetypes, each time the buffer is saved, or when the `> lint`
|
||||||
command is executed, micro will run the corresponding utility in the
|
command is executed, micro will run the corresponding utility in the
|
||||||
|
Loading…
Reference in New Issue
Block a user