chore(lint): add ireturn linter
This commit is contained in:
@@ -39,12 +39,14 @@ issues:
|
|||||||
- linters:
|
- linters:
|
||||||
- lll
|
- lll
|
||||||
source: "^//go:generate "
|
source: "^//go:generate "
|
||||||
|
- text: "returns interface \\(github\\.com\\/vishvananda\\/netlink\\.Link\\)"
|
||||||
|
linters:
|
||||||
|
- ireturn
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
enable:
|
enable:
|
||||||
# - cyclop
|
# - cyclop
|
||||||
# - errorlint
|
# - errorlint
|
||||||
# - ireturn
|
|
||||||
# - varnamelen
|
# - varnamelen
|
||||||
# - wrapcheck
|
# - wrapcheck
|
||||||
- asciicheck
|
- asciicheck
|
||||||
@@ -79,6 +81,7 @@ linters:
|
|||||||
- grouper
|
- grouper
|
||||||
- ifshort
|
- ifshort
|
||||||
- importas
|
- importas
|
||||||
|
- ireturn
|
||||||
- lll
|
- lll
|
||||||
- maintidx
|
- maintidx
|
||||||
- makezero
|
- makezero
|
||||||
|
|||||||
Reference in New Issue
Block a user