From e0d4e19cf2ee5c892888486c1a525cd0bea3d99a Mon Sep 17 00:00:00 2001 From: Lucas Gravley <29484535+admiralAwkbar@users.noreply.github.com> Date: Thu, 23 Apr 2020 09:11:42 -0500 Subject: [PATCH] adding golang --- docs/disabling-linters.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/disabling-linters.md b/docs/disabling-linters.md index 574643b8..5243b5f3 100644 --- a/docs/disabling-linters.md +++ b/docs/disabling-linters.md @@ -274,10 +274,21 @@ taz = "some/huge/line/string/with/embed/#{values}.that/surpasses/the/max/column/ -------------------------------------------------------------------------------- ## Golang +- [golangci-lint](https://github.com/golangci/golangci-lint) + ### golangci-lint standard Config file +- `.github/linters/.golangci.yml` +- You can pass multiple rules and overwrite default rules +- File should be located at: `.github/linters/.golangci.yml` + ### golangci-lint disable single line +- There is currently **No** way to disable rules inline of the file(s) + ### golangci-lint disable code block +- There is currently **No** way to disable rules inline of the file(s) + ### golangci-lint disable entire file +- There is currently **No** way to disable rules inline of the file(s) -------------------------------------------------------------------------------- ## Dockerfile