Merge pull request #8531 from filecoin-project/fix/lint
chore: fix lint issue
This commit is contained in:
commit
bab500bec5
@ -39,6 +39,7 @@ issues:
|
|||||||
- "package comment should be of the form"
|
- "package comment should be of the form"
|
||||||
- "Potential hardcoded credentials"
|
- "Potential hardcoded credentials"
|
||||||
- "Use of weak random number generator"
|
- "Use of weak random number generator"
|
||||||
|
- "xerrors.* is deprecated"
|
||||||
|
|
||||||
exclude-use-default: false
|
exclude-use-default: false
|
||||||
exclude-rules:
|
exclude-rules:
|
||||||
@ -53,7 +54,7 @@ issues:
|
|||||||
- path: build/params_.*\.go
|
- path: build/params_.*\.go
|
||||||
linters:
|
linters:
|
||||||
- golint
|
- golint
|
||||||
|
|
||||||
- path: api/apistruct/struct.go
|
- path: api/apistruct/struct.go
|
||||||
linters:
|
linters:
|
||||||
- golint
|
- golint
|
||||||
|
Loading…
Reference in New Issue
Block a user