golangci-lint

module
v1.63.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2025 License: GPL-3.0

README

golangci-lint logo

golangci-lint

Fast linters runner for Go


golangci-lint is a fast Go linters runner.

It runs linters in parallel, uses caching, supports YAML configuration, integrates with all major IDEs, and includes over a hundred linters.

Install golangci-lint

Documentation

Documentation is hosted at https://golangci-lint.run.

Social Networks

Join Slack Follow on Mastodon Follow on Bluesky Follow on Twitter

Supporting Us

Open Collective backers and sponsors GitHub Sponsors Linter Authors

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, we appreciate it! ❤

Badges

Build Status License Release Docker GitHub Releases Stats of golangci-lint

Contributors

This project exists thanks to all the people who contribute. How to contribute.

Stargazers over time

Stargazers over time

Directories

Path Synopsis
cmd
internal
go/cache
Package cache implements a build artifact cache.
Package cache implements a build artifact cache.
go/mmap
The mmap package provides an abstraction for memory mapping files on different platforms.
The mmap package provides an abstraction for memory mapping files on different platforms.
go/quoted
Package quoted provides string manipulation utilities.
Package quoted provides string manipulation utilities.
go/robustio
Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
go/testenv
Package testenv provides information about what functionality is available in different testing environments run by the Go team.
Package testenv provides information about what functionality is available in different testing environments run by the Go team.
x/tools/analysisinternal
Package analysisinternal provides gopls' internal analyses with a number of helper functions that operate on typed syntax trees.
Package analysisinternal provides gopls' internal analyses with a number of helper functions that operate on typed syntax trees.
x/tools/diff
Package diff computes differences between text files or strings.
Package diff computes differences between text files or strings.
x/tools/diff/lcs
package lcs contains code to find longest-common-subsequences (and diffs)
package lcs contains code to find longest-common-subsequences (and diffs)
x/tools/diff/myers
Package myers implements the Myers diff algorithm.
Package myers implements the Myers diff algorithm.
pkg
goanalysis
Package goanalysis defines the implementation of the checker commands.
Package goanalysis defines the implementation of the checker commands.
golinters/nolintlint/internal
Package internal provides a linter to ensure that all //nolint directives are followed by explanations
Package internal provides a linter to ensure that all //nolint directives are followed by explanations
scripts
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL