mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-30 23:28:04 +08:00
lint: add nolintlint and fix violations
We should be able to detect nolint comments that point to linters that are disabled (such as with the removed structcheck). Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
@@ -21,6 +21,7 @@ linters:
|
||||
- revive
|
||||
- staticcheck
|
||||
- typecheck
|
||||
- nolintlint
|
||||
disable-all: true
|
||||
|
||||
linters-settings:
|
||||
|
Reference in New Issue
Block a user