mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 20:52:12 -05:00
adding golang
This commit is contained in:
parent
9b68dc7f6e
commit
e0d4e19cf2
1 changed files with 11 additions and 0 deletions
|
@ -274,10 +274,21 @@ taz = "some/huge/line/string/with/embed/#{values}.that/surpasses/the/max/column/
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
## Golang
|
## Golang
|
||||||
|
- [golangci-lint](https://github.com/golangci/golangci-lint)
|
||||||
|
|
||||||
### golangci-lint standard Config file
|
### 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
|
### golangci-lint disable single line
|
||||||
|
- There is currently **No** way to disable rules inline of the file(s)
|
||||||
|
|
||||||
### golangci-lint disable code block
|
### golangci-lint disable code block
|
||||||
|
- There is currently **No** way to disable rules inline of the file(s)
|
||||||
|
|
||||||
### golangci-lint disable entire file
|
### golangci-lint disable entire file
|
||||||
|
- There is currently **No** way to disable rules inline of the file(s)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
## Dockerfile
|
## Dockerfile
|
||||||
|
|
Loading…
Reference in a new issue