1
0
Fork 0
mirror of https://github.com/laravel-ls/uri synced 2026-07-04 16:34:11 +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: linters:
enable: 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: disable:
- gochecknoglobals - gochecknoglobals
- gochecknoinits - gochecknoinits
@ -62,10 +84,15 @@ linters:
- gosec - gosec
- lll - lll
- nakedret - nakedret
- unused
fast: true fast: true
issues: issues:
exclude-use-default: false exclude-rules:
- path: "const.go"
linters:
- golint
- misspell
output: output:
format: colored-line-number format: colored-line-number