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:
parent
06512c375e
commit
0e3caec80a
1 changed files with 29 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue