Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(linter): WSL linter on api #1060

Open
wants to merge 2 commits into
base: feat/upgrade_lint_step1
Choose a base branch
from

Conversation

kissken
Copy link
Member

@kissken kissken commented Jul 18, 2024

feat(linter): WSL linter on api

@kissken kissken requested a review from a team as a code owner July 18, 2024 18:06
@@ -65,27 +71,35 @@ func GetAllTriggers(database moira.Database) (*dto.TriggersList, *api.ErrorRespo

// SearchTriggers gets trigger page and filter trigger by tags and search request terms.
func SearchTriggers(database moira.Database, searcher moira.Searcher, options moira.SearchOptions) (*dto.TriggersList, *api.ErrorResponse) { //nolint
var searchResults []*moira.SearchResult
var total int64
var (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это линтер наделал? Мне кажется, такое плохо выглядит в теле функций

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

или один вар или после каждого пробел

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants