-
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.
CI: update GolangCI-Lint settings (#104)
* CI: update GolangCI-Lint settings Use .golangci.yml for GolangCI-Lint configuration and remove Gocritic since it can be called from the GolangCI-Lint. * ResellV2: fix spelling in Quotas package Use "length" in the projectQuotasSlice comment.
- Loading branch information
1 parent
d609e5c
commit 6431e52
Showing
6 changed files
with
13 additions
and
34 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,8 @@ | ||
linters: | ||
fast: false | ||
enable-all: true | ||
disable: | ||
- dupl | ||
- gochecknoglobals | ||
- gosec | ||
- 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
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,14 +1,11 @@ | ||
default: tests | ||
|
||
tests: golangci-lint critic unittest | ||
tests: golangci-lint unittest | ||
|
||
unittest: | ||
@sh -c "'$(CURDIR)/scripts/gotest.sh'" | ||
|
||
golangci-lint: | ||
@sh -c "'$(CURDIR)/scripts/golangci_lint_check.sh'" | ||
|
||
critic: | ||
@sh -c "'$(CURDIR)/scripts/gocritic_check.sh'" | ||
|
||
.PHONY: tests unittest golangci-lint critic | ||
.PHONY: tests unittest golangci-lint |
This file was deleted.
Oops, something went wrong.
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