Skip to content

The extended version with the looppointer linter

Pre-release
Pre-release
Compare
Choose a tag to compare
@kamilsk kamilsk released this 03 Nov 13:57
· 10 commits to extended since this release
looppointer
e3c2265

Motivation

As a Go developer, I actively use golangci-lint as a static linter,
but it doesn't support the looppointer linter. I need to extend it
to include the linter, which you can enable through the configuration:

linters:

  enable:
    - looppointer

or passing the argument

$ golangci-lint run --enable looppointer ./...

What's changed

  • The golangci-lint supports the looppointer linter.
  • The tool is available by brew install octolab/tap/golangci-lint.
  • The installation is also possible by
    $ curl -sSfL https://install.octolab.org/golangci-lint | sh -s -- -b /usr/local/bin

Related issues

made with ❤️ for everyone by OctoLab