[MM-57743] Enable errcheck linter (#26723)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5746bb8df3
Коммит
32d93fd469
@@ -26,11 +26,10 @@ linters:
|
||||
- goimports
|
||||
- makezero
|
||||
- whitespace
|
||||
# TODO: enable this later
|
||||
# - errcheck
|
||||
- errcheck
|
||||
|
||||
issues:
|
||||
skip-dirs:
|
||||
exclude-dirs:
|
||||
- channels/store/storetest/mocks
|
||||
exclude-rules:
|
||||
- linters:
|
||||
@@ -57,3 +56,7 @@ issues:
|
||||
- linters:
|
||||
- staticcheck
|
||||
text: SA1019
|
||||
|
||||
- linters:
|
||||
- errcheck
|
||||
path: "channels|platform|cmd/mattermost|public/model|public/plugin|public/shared/mlog|enterprise/data_retention|enterprise/saml|enterprise/cloud|enterprise/ldap"
|
||||
|
||||
Ссылка в новой задаче
Block a user