[MM-57743] Enable errcheck linter (#26723)

Этот коммит содержится в:
Ben Schumacher
2024-04-29 11:23:01 +02:00
коммит произвёл GitHub
родитель 5746bb8df3
Коммит 32d93fd469
9 изменённых файлов: 56 добавлений и 35 удалений

Просмотреть файл

@@ -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"