forked from ThreeDotsLabs/wild-workouts-go-ddd-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ThreeDotsLabs#46 from ThreeDotsLabs/added-linters
Added linters
- Loading branch information
Showing
20 changed files
with
251 additions
and
59 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
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
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,47 @@ | ||
linters: | ||
disable-all: true | ||
enable: | ||
- deadcode | ||
- errcheck | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- staticcheck | ||
- structcheck | ||
- typecheck | ||
- unused | ||
- varcheck | ||
- asciicheck | ||
- bodyclose | ||
- dogsled | ||
- exhaustive | ||
- exportloopref | ||
- gocognit | ||
- goconst | ||
- gofmt | ||
- goheader | ||
- goimports | ||
- gosec | ||
- misspell | ||
- nakedret | ||
- nestif | ||
- noctx | ||
- rowserrcheck | ||
- sqlclosecheck | ||
- unconvert | ||
- unparam | ||
- whitespace | ||
|
||
issues: | ||
exclude: | ||
- "composite literal uses unkeyed fields" | ||
exclude-rules: | ||
- path: _test\.go | ||
linters: | ||
- gosec | ||
- noctx | ||
- unparam | ||
- bodyclose | ||
- path: fixtures.go | ||
linters: | ||
- gosec |
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
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
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
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,47 @@ | ||
linters: | ||
disable-all: true | ||
enable: | ||
- deadcode | ||
- errcheck | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- staticcheck | ||
- structcheck | ||
- typecheck | ||
- unused | ||
- varcheck | ||
- asciicheck | ||
- bodyclose | ||
- dogsled | ||
- exhaustive | ||
- exportloopref | ||
- gocognit | ||
- goconst | ||
- gofmt | ||
- goheader | ||
- goimports | ||
- gosec | ||
- misspell | ||
- nakedret | ||
- nestif | ||
- noctx | ||
- rowserrcheck | ||
- sqlclosecheck | ||
- unconvert | ||
- unparam | ||
- whitespace | ||
|
||
issues: | ||
exclude: | ||
- "composite literal uses unkeyed fields" | ||
exclude-rules: | ||
- path: _test\.go | ||
linters: | ||
- gosec | ||
- noctx | ||
- unparam | ||
- bodyclose | ||
- path: fixtures.go | ||
linters: | ||
- gosec |
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
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
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
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
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
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,47 @@ | ||
linters: | ||
disable-all: true | ||
enable: | ||
- deadcode | ||
- errcheck | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- staticcheck | ||
- structcheck | ||
- typecheck | ||
- unused | ||
- varcheck | ||
- asciicheck | ||
- bodyclose | ||
- dogsled | ||
- exhaustive | ||
- exportloopref | ||
- gocognit | ||
- goconst | ||
- gofmt | ||
- goheader | ||
- goimports | ||
- gosec | ||
- misspell | ||
- nakedret | ||
- nestif | ||
- noctx | ||
- rowserrcheck | ||
- sqlclosecheck | ||
- unconvert | ||
- unparam | ||
- whitespace | ||
|
||
issues: | ||
exclude: | ||
- "composite literal uses unkeyed fields" | ||
exclude-rules: | ||
- path: _test\.go | ||
linters: | ||
- gosec | ||
- noctx | ||
- unparam | ||
- bodyclose | ||
- path: fixtures.go | ||
linters: | ||
- gosec |
Oops, something went wrong.