-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
andrey1s
committed
Jul 24, 2019
1 parent
373359d
commit 477e804
Showing
1 changed file
with
36 additions
and
0 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 |
---|---|---|
@@ -1,3 +1,39 @@ | ||
run: | ||
tests: true | ||
skip-dirs: | ||
- bin | ||
- vendor | ||
- var | ||
- tmp | ||
- example/* | ||
|
||
linters-settings: | ||
errcheck: | ||
ignore: fmt:.*,[rR]ead|[wW]rite|[cC]lose,io:Copy | ||
|
||
linters: | ||
enable-all: true | ||
disable: | ||
- lll | ||
- gochecknoglobals | ||
- gochecknoinits | ||
- unparam | ||
- gocritic | ||
- goimports | ||
- misspell | ||
- gocyclo | ||
- scopelint | ||
- prealloc | ||
- goconst | ||
- maligned | ||
- golint | ||
|
||
issues: | ||
exclude-rules: | ||
# Exclude some linters from running on tests files. | ||
- path: _test\.go | ||
linters: | ||
- gocyclo | ||
- errcheck | ||
- dupl | ||
- gosec |