diff --git a/pages/common/golangci-lint.md b/pages/common/golangci-lint.md new file mode 100644 index 000000000..e4c08eb29 --- /dev/null +++ b/pages/common/golangci-lint.md @@ -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: . + +- 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}}`