Change depreciated `enable-all` golangci
@@ -6,7 +6,40 @@ run:
- sysl2/sysl/grammar/sysl_parser.go
- sysl2/sysl/grammar/syslparser_base_listener.go
linters:
- enable-all: true
+ disable-all: true
+ enable:
+ - bodyclose
+ - deadcode
+ - depguard
+ - dogsled
+ - dupl
+ - errcheck
+ - funlen
+ - gochecknoinits
+ - goconst
+ - gocritic
+ - gocyclo
+ - gofmt
+ - goimports
+ - golint
+ - gosec
+ - gosimple
+ - govet
+ - ineffassign
+ - interfacer
+ - lll
+ - misspell
+ - nakedret
+ - scopelint
+ - staticcheck
+ - structcheck
+ - stylecheck
+ - typecheck
+ - unconvert
+ - unused
+ - varcheck
+ - whitespace
+ # - unparam
linters-settings:
errcheck:
check-blank: true
