Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

The extended version with the looppointer linter

Pre-release
Pre-release
Compare
Choose a tag to compare
@kamilsk kamilsk released this 24 Mar 19:03
· 2 commits to extended since this release
looppointer
cd890db

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