-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
425 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# See https://github.com/golangci/golangci-lint/blob/master/.golangci.yml for more examples | ||
|
||
linters: | ||
enabled: | ||
# In addition to default standard linters (see: golangci-lint help linters) | ||
# Try extra ones line this: golangci-lint run --disable-all --enable=lll | ||
- goimports | ||
# For future consideration (requires some extra work, but suggestions look useful) | ||
# - gocritic | ||
# - golint # can sometimes be a bit pedantic | ||
# - lll | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
sudo: false | ||
language: go | ||
before_script: | ||
- go get github.com/golangci/golangci-lint/cmd/golangci-lint | ||
- go install github.com/golangci/golangci-lint/cmd/golangci-lint | ||
env: | ||
- GO111MODULE=on | ||
go: | ||
- 1.x # latest version | ||
- 1.12 # lowest supported version | ||
script: | ||
- golangci-lint run --enable-all # this is excessive but we get away with it for now | ||
- ./test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.