Skip to content

Commit

Permalink
add golangci config and remove fast option
Browse files Browse the repository at this point in the history
  • Loading branch information
Atrox committed Oct 12, 2018
1 parent 030205b commit 9d5eaf3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
linters-settings:
lll:
line-length: 150

linters:
enable-all: true

issues:
max-same: 0 # Disable maximum count of issues with the same text.
exclude:
- G104 # Duplicate of errcheck

exclude-use-default: false
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ install:

script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
- golangci-lint run --fast
- golangci-lint run

after_success:
- bash <(curl -s https://codecov.io/bash)
Expand Down

0 comments on commit 9d5eaf3

Please sign in to comment.