fixed most init errors in channels/store/storetest dir | 24 files edited (#26522)

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
Этот коммит содержится в:
Matthew Straughn
2024-10-29 05:50:38 -04:00
коммит произвёл GitHub
родитель 5dba6e082d
Коммит 71bf7777f5
48 изменённых файлов: 3018 добавлений и 3020 удалений

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

@@ -28,8 +28,6 @@ linters:
- errcheck
issues:
exclude-dirs:
- channels/store/storetest/mocks
exclude-rules:
- linters:
# ignore unused warnings from enterprise code
@@ -39,8 +37,8 @@ issues:
- linters:
- revive
text: "var-naming|error-naming|exported|increment-decrement|error-strings|if-return|unused-parameter|blank-imports|empty-block"
# We need to fix the unused parameter issues and remove the exception.
text: "var-naming|error-naming|exported|increment-decrement|error-strings|if-return|unused-parameter|blank-imports|empty-block"
# Use a seperate set of exception for the enterprise code to allow community members to fix only the open source issues.
- linters: