这是indexloc提供的服务,不要输入任何密码
Skip to content

Tags: wusuower/golangci-lint

Tags

v1.7.2

Toggle v1.7.2's commit message
Fix golangci#122: don't crash govet on tests-only packages

v1.7.1

Toggle v1.7.1's commit message
Fix golangci#94: load object files for govet for old go

Do it in compatible with old go versions object files way:
use golang.org/x/tools/go/gcexportdata instead of importer.Default

v1.7

Toggle v1.7's commit message
Fix golangci#17, golangci#87: govet becomes SLOW linter by default

1. Allow govet to work in 2 modes: fast and slow. Default is slow.
In fast mode golangci-lint runs `go install -i` and `go test -i`
for analyzed packages. But it's fast only when:
  - go >= 1.10
  - it's repeated run or $GOPATH/pkg or `go env GOCACHE` is cached
  between CI builds
In slow mode we load program from source code like for another linters
and do it only once for all linters.

3. Patch govet code to warn about any troubles with the type
information. Default behaviour of govet was to hide such warnings.
Fail analysis if there are any troubles with type loading: it will
prevent false-positives and false-negatives from govet.

4. Describe almost all options in .golangci.example.yml and
include it into README. Describe when to use slow or fast mode of govet.

5. Speed up govet: reuse AST parsing: it's already parsed once by
golangci-lint.
For "slow" runs (when we run at least one slow linter) speedup by
not loading type information second time.

6. Improve logging, debug logging

7. Fix crash in logging of AST cache warnings (golangci#118)

v1.6.1

Toggle v1.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request golangci#84 from golangci/support/detect-mockgen-p…

…roperly

Properly detect generated files: fix detection when

v1.6

Toggle v1.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request golangci#82 from golangci/feature/match-more-autog…

…enerated-files

Fix golangci#72: match more autogenerated files patterns.

v1.5

Toggle v1.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request golangci#71 from golangci/feature/full-support-of-…

…nolint-directives

golangci#65, golangci#68: make //nolint processing like in gometalinter

v1.4.1

Toggle v1.4.1's commit message

Verified

This commit was signed with the committer’s verified signature. The key has expired.
jirfag Denis Isaev
fix --version option and improve installation section of docs

v1.4

Toggle v1.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request golangci#62 from golangci/feature/tab-output-format

golangci#37: add tab output format: --out-format=tab

v1.3.7

Toggle v1.3.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request golangci#46 from golangci/support/fix-no-results-f…

…or-gocyclo

golangci#45: fix no results for gocyclo

v1.3.6

Toggle v1.3.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request golangci#44 from golangci/support/exit-code-4-if-d…

…eadline

golangci#41: exit with code 4 if timeouted