mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-04-05 08:54:09 -04:00
chore(lint): add goerr113 linter
- Change database id to be `uint` instead of `int` - Define and use sentinel errors - Return `string` instead of `error` when appropriate (linode)
This commit is contained in:
@@ -16,8 +16,9 @@ issues:
|
||||
- gomnd
|
||||
- path: _test\.go
|
||||
linters:
|
||||
- dupl
|
||||
- containedctx
|
||||
- dupl
|
||||
- goerr113
|
||||
|
||||
linters:
|
||||
enable:
|
||||
@@ -51,7 +52,7 @@ linters:
|
||||
- gomoddirectives
|
||||
- goprintffuncname
|
||||
- gosec
|
||||
# - goerr113 # TODO
|
||||
- goerr113
|
||||
- grouper
|
||||
- importas
|
||||
- interfacebloat
|
||||
|
||||
Reference in New Issue
Block a user