-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(lint): simplify .golangci.yml (#2480)
- Set timeout to 10min, remove timeout flag from Makefile - Remove copy pasted comments from example .golangci.yml - Add URL at the top to the .golangci.yml configuration documentation webpage - Remove linter settings for linters not enabled `dupl` and `gocritic` - Remove default `fast: false` - Limit to default 50 errors per linter, instead of no limit - Limit to default 3 same issues, instead of no limit - Remove `megacheck` linter which is no longer available - Remove copyright notice (not really anything to protect)
- Loading branch information
Showing
2 changed files
with
7 additions
and
81 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ help: Makefile | |
.PHONY: lint | ||
lint: | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
golangci-lint run --build-tags integration --timeout 10m | ||
golangci-lint run | ||
|
||
clean: | ||
rm -fr ./bin | ||
|