mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
golangci-lint: add page (#12292)
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
51b4938e0b
commit
8243c51d20
1 changed files with 16 additions and 0 deletions
16
pages/common/golangci-lint.md
Normal file
16
pages/common/golangci-lint.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# golangci-lint
|
||||
|
||||
> Parallelized, smart and fast Go linters runner that integrates with all major IDEs and supports YAML configuration.
|
||||
> More information: <https://golangci-lint.run/usage/quick-start/>.
|
||||
|
||||
- Run linters in the current folder:
|
||||
|
||||
`golangci-lint run`
|
||||
|
||||
- List enabled and disabled linters (Note: disabled linters are shown last, do not mistake them for enabled ones):
|
||||
|
||||
`golangci-lint linters`
|
||||
|
||||
- [E]nable a specific linter for this run:
|
||||
|
||||
`golangci-lint run --enable {{linter}}`
|
Loading…
Add table
Reference in a new issue