Skip to content

A better way to install and run golangci-lint in a single command #1657

Open
@ysmood

Description

@ysmood

Currently, the major way to install golangci-lint requires extra dependencies like sh, curl, tar, etc. It's not cross-platform and not user friendly to maintain.

Since any user use this tool will have golang installed, why not just use golang to do the automation job? So that there will be zero dependencies and assumptions for users' environment.

Here's my demo solution project: https://github.com/ysmood/golangci-lint
The demo project has zero dependencies and fast to download, build, and run.

How about we fork the project to a namespace like golangci/golangci-linter and document it here

So that we don't have to maintain Brew or MacPorts binary anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions