Lightlines
By cxuu

go-linting

cxuu1.2k installs

Catch Go code issues with consistent lint checks.

What it does

Sets up consistent Go linting with a validated configuration and a clean lint pass.

When to use it

Use when setting up Go project linting, configuring golangci-lint, adding Go checks to CI/CD, or choosing linters for a new project.

How to use it

Give it a Go project to set up linting; it creates the configuration and fixes lint findings until the checks pass.

What you provide

  • An existing project

Uses

Latest review

What you need · 2

The documented golangci-lint installation uses the Go toolchain.

Requires golangci-lint on PATH for the setup script's initial lint pass; the configuration targets v2 and was verified with 2.10.1.


Access · 2

This skill

GitHub

Read

Reads an example lint configuration

golangci-lint

Execute

Installs golangci-lint