🌱 Disabling failing linters (#474)

* Disabling failing linters.
They will be re-enabled as all errors are fixed.
Also linter will now fail on any error, not just newly introduced.

* Explicitly specifying lint config file

Co-authored-by: Naveen <172697+naveensrinivasan@users.noreply.github.com>
This commit is contained in:
Chris McGehee 2021-05-19 18:45:23 -07:00 committed by GitHub
parent 09c44bd355
commit 8372067a70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View File

@ -12,31 +12,31 @@ linters:
- deadcode
- depguard
- dogsled
- dupl
# - dupl
- errcheck
- exhaustive
- exportloopref
- gochecknoinits
# - gochecknoinits
- gocognit
- goconst
- gocritic
# - gocritic
- gocyclo
- godot
- godox
- goerr113
# - goerr113
- gofmt
- gofumpt
- goheader
- goimports
- golint
- gomnd
# - golint
# - gomnd
- gomodguard
- goprintffuncname
- gosec
- gosimple
- govet
# - govet
- ineffassign
- lll
# - lll
- misspell
- nakedret
- nestif
@ -49,7 +49,7 @@ linters:
- sqlclosecheck
- staticcheck
- structcheck
- stylecheck
# - stylecheck
- thelper
- tparallel
- typecheck

View File

@ -60,7 +60,7 @@ $(GOLANGGCI_LINT): install
check-linter: ## Install and run golang linter
check-linter: $(GOLANGGCI_LINT)
# Run golangci-lint linter
golangci-lint run -n
golangci-lint run -c .golangci.yml
validate-projects: ## Validates ./cron/projects.txt
validate-projects: build-scripts