Skip to content

Conversation

@tpounds
Copy link
Contributor

@tpounds tpounds commented Sep 16, 2019

Adds https://github.com/alexkohler/dogsled linter to detect assignments with too many blank identifiers.

e.g. x, _, _, _, := f()

The logic was ported similar to what was done for nakedret and prealloc since the upstream source cannot be integrated directly.

@jirfag jirfag merged commit 92168d0 into golangci:master Sep 17, 2019
@jirfag
Copy link
Contributor

jirfag commented Sep 17, 2019

great, thank you!

@tpounds tpounds deleted the add-dogsled branch September 17, 2019 13:49
@ldez ldez added the linter: new Support new linter label Dec 7, 2020
@ldez ldez added this to the v1.19 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linter: new Support new linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants