mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-01-13 13:21:00 +00:00
chore: enable some more linters (#16)
This commit is contained in:
parent
f0eed8cc56
commit
d5fd606577
7 changed files with 48 additions and 18 deletions
27
.golangci.yaml
Normal file
27
.golangci.yaml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
linters:
|
||||
presets:
|
||||
- bugs
|
||||
- error
|
||||
- import
|
||||
- metalinter
|
||||
- module
|
||||
- unused
|
||||
|
||||
enable:
|
||||
- testifylint
|
||||
|
||||
disable:
|
||||
# preset error
|
||||
# These should probably be cleaned up at some point if we want to publish part of this as a library.
|
||||
- err113 # Very annoying to define static errors everywhere
|
||||
- wrapcheck # Very annoying to wrap errors everywhere
|
||||
# preset import
|
||||
- depguard
|
||||
|
||||
linters-settings:
|
||||
gci:
|
||||
sections:
|
||||
- standard
|
||||
- default
|
||||
- localmodule
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue