mirror of
https://github.com/docker/cli.git
synced 2026-08-24 10:05:37 -05:00
fix(QF1003): Convert if/else-if chain to tagged switch
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
+3
-4
@@ -116,10 +116,9 @@ linters:
|
||||
staticcheck:
|
||||
checks:
|
||||
- all
|
||||
- -QF1003 # FIXME Convert if/else-if chain to tagged switch
|
||||
- -QF1008 # FIXME Omit embedded fields from selector expression
|
||||
- -ST1020 # FIXME The documentation of an exported function should start with the function’s name
|
||||
- -ST1022 # FIXME The documentation of an exported variable or constant should start with variable’s name
|
||||
- -QF1008 # Omit embedded fields from selector expression
|
||||
- -ST1020 # The documentation of an exported function should start with the function’s name
|
||||
- -ST1022 # The documentation of an exported variable or constant should start with variable’s name
|
||||
|
||||
revive:
|
||||
rules:
|
||||
|
||||
Reference in New Issue
Block a user