1
0
Fork 0
mirror of https://github.com/laravel-ls/uri synced 2026-06-16 01:54:57 +02:00

lint/golangci-lint: update golangci-lint config

This commit is contained in:
Koichi Shiraishi 2019-06-05 12:15:23 +09:00
parent 06512c375e
commit 0e3caec80a
No known key found for this signature in database
GPG key ID: A71DFD3B4DA7A79B

View file

@ -54,7 +54,29 @@ linters-settings:
linters:
enable:
enable-all: true
- deadcode
- depguard
- dupl
- errcheck
- goconst
- gocritic
- gofmt
- goimports
- golint
- ineffassign
- maligned
- misspell
- prealloc
- structcheck
- typecheck
- unconvert
- varcheck
- gosimple
- govet
- interfacer
- staticcheck
- stylecheck
- unparam
disable:
- gochecknoglobals
- gochecknoinits
@ -62,10 +84,15 @@ linters:
- gosec
- lll
- nakedret
- unused
fast: true
issues:
exclude-use-default: false
exclude-rules:
- path: "const.go"
linters:
- golint
- misspell
output:
format: colored-line-number