lint: add lint checking for time.Equal (#841)
No issues found, tested that the lint works by changing code locally. fixes https://github.com/zrepl/zrepl/issues/5
This commit is contained in:
committed by
GitHub
parent
2923009689
commit
dc05cd00f2
@@ -1,7 +1,12 @@
|
||||
linters:
|
||||
enable:
|
||||
- goimports
|
||||
- revive
|
||||
|
||||
linters-settings:
|
||||
revive:
|
||||
rules:
|
||||
- name: time-equal
|
||||
issues:
|
||||
exclude-rules:
|
||||
- path: _test\.go
|
||||
|
||||
Reference in New Issue
Block a user