Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: integrate lintpack as internal framework #937

Merged
merged 1 commit into from Jun 15, 2020

Conversation

quasilyte
Copy link
Member

Instead of using a lintpack as a dependency, clone
most of its code that we need.

This is an intermediate step to make transition to
go/analysis easier. Now we don't need to keep
lintpack dependency in sync and can make
framework/linter compatible with go/analysis later.

Doing a v0.5.0 release is suggested.

Updates #854

Signed-off-by: Iskander Sharipov quasilyte@gmail.com

Instead of using a lintpack as a dependency, clone
most of its code that we need.

This is an intermediate step to make transition to
go/analysis easier. Now we don't need to keep
lintpack dependency in sync and can make
framework/linter compatible with go/analysis later.

Doing a v0.5.0 release is suggested.

Updates #854

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
@@ -40,7 +40,7 @@ cover:
goveralls -package github.com/go-critic/go-critic/checkers -coverprofile=coverage.out -service travis-ci -repotoken ${COVERALLS_TOKEN}

gocritic:
lintpack build -o gocritic -linter.version='v0.4.3' -linter.name='gocritic' github.com/go-critic/go-critic/checkers
go build -o gocritic ./cmd/gocritic
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3

@quasilyte quasilyte merged commit 94678bc into master Jun 15, 2020
@quasilyte quasilyte deleted the quasilyte/integrate_lintpack branch June 15, 2020 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants