mirror of https://github.com/usememos/memos.git
chore: update golangci config
This commit is contained in:
parent
ec17c4b015
commit
3d610a78f2
|
|
@ -92,11 +92,6 @@ linters:
|
||||||
- pattern: 'fmt\.Errorf(# Please use errors\.Wrap\|Wrapf\|Errorf instead)?'
|
- pattern: 'fmt\.Errorf(# Please use errors\.Wrap\|Wrapf\|Errorf instead)?'
|
||||||
- pattern: 'ioutil\.ReadDir(# Please use os\.ReadDir)?'
|
- pattern: 'ioutil\.ReadDir(# Please use os\.ReadDir)?'
|
||||||
|
|
||||||
issues:
|
|
||||||
exclude:
|
|
||||||
- Rollback
|
|
||||||
- fmt.Printf
|
|
||||||
|
|
||||||
formatters:
|
formatters:
|
||||||
enable:
|
enable:
|
||||||
- goimports
|
- goimports
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue