On Tuesday, November 29, 2022 at 9:07:25 AM UTC+1 Marcel Huijkman wrote:
> golangci-lint has :
> dogsled:
> # checks assignments with too many blank identifiers; default is 2
> max-blank-identifiers: 0
>
Great, thank you.
w.
--
You received this message because you are subscribed to the Googl
On Monday, November 28, 2022 at 1:50:21 PM UTC+1 Jan Mercl wrote:
> On Mon, Nov 28, 2022 at 1:44 PM Wojciech Muła wrote:
>
> > Is there any tool that would point out places with
> > an assignment to the blank identifier?
> >
> > I'd like to spot possible refactoring/debug leftovers,
> > li
golangci-lint has :
dogsled:
# checks assignments with too many blank identifiers; default is 2
max-blank-identifiers: 0
On Monday, November 28, 2022 at 1:50:21 PM UTC+1 Jan Mercl wrote:
> On Mon, Nov 28, 2022 at 1:44 PM Wojciech Muła wrote:
>
> > Is there any tool that would point out places wi
On Mon, Nov 28, 2022 at 1:44 PM Wojciech Muła wrote:
> Is there any tool that would point out places with
> an assignment to the blank identifier?
>
> I'd like to spot possible refactoring/debug leftovers,
> like `_ := func() {}` or unused imports.
>
> I went through the staticcheck list of check
Hi!
Is there any tool that would point out places with
an assignment to the blank identifier?
I'd like to spot possible refactoring/debug leftovers,
like `_ := func() {}` or unused imports.
I went through the staticcheck list of checks, but
didn't find anything similar.
cheers
Wojciech
--
You