Fast linters Runner for Go
golangci-lint
is a free and open-source project built by volunteers.
If you value it, consider supporting us, the maintainers and linter authors.
We appreciate it! :heart:
For key updates, see the changelog.
golangci-lint is a free and open-source project, built by people in their free time. Also, the linter authors are an important part of golangci-lint. If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). :heart:
The most important changes are detailed here: https://golangci-lint.run/product/changelog/#v1571
golangci-lint is a free and open-source project, built by people in their free time. Also, the linter authors are an important part of golangci-lint. If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). :heart:
The most important changes are detailed here: https://golangci-lint.run/product/changelog/#v1570
⚠️ Important ⚠️
enable-all
.deadline
) have been removed.run.skip-xxx
options by issues.exclude-xxx
options (#4509)golangci-lint is a free and open-source project, built by people in their free time. Also, the linter authors are an important part of golangci-lint. If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). :heart:
golangci-lint is a free and open-source project, built by people in their free time. Also, the linter authors are an important part of golangci-lint. If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). :heart:
golangci-lint is a free and open-source project, built by people in their free time. Also, the linter authors are an important part of golangci-lint. If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). :heart:
Important
testifylint
has breaking changes about enabling/disabling checks:
If you were using the option enable
with a filtered list of checks, you should either add disable-all: true
(1) or use disable
field (2).
# Example (1)
testifylint:
disable-all: true
enable:
- bool-compare
- compares
- empty
- error-is-as
- error-nil
- expected-actual
- go-require
- float-compare
- len
- nil-compare
- require-error
# - suite-dont-use-pkg
- suite-extra-assert-call
- suite-thelper
# Example (2)
testifylint:
disable:
- suite-dont-use-pkg
spancheck
linter (#4290)analysis
package (#4003)If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). :heart:
If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). :heart:
If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). :heart:
testifylint
linter (#4103)gochecksumtype
linter (#3671)sloglint
linter (#4133)appends
analyzer (#4127)If you use and appreciate golangci-lint please think to support us (golangci-lint maintainers and linter authors). :heart: