diff --git a/.golangci.yml b/.golangci.yml index 0806e31c..10873cfe 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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 diff --git a/Makefile b/Makefile index 22ff0de3..471d25c7 100644 --- a/Makefile +++ b/Makefile @@ -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