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

checkers/internal/astwalk: adapted from a lintpack #934

Merged
merged 1 commit into from May 27, 2020

Conversation

quasilyte
Copy link
Member

Since we might want to reduce dependencies from
a lintpack project that is going to be replaced
with go/analysis, it's beneficial to move useful
things we want to keep inside go-critic repository.

astwalk only depends on the lintpack.FileWalker
interface that can be easily moved or replaced later.

Refs #854

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

Since we might want to reduce dependencies from
a lintpack project that is going to be replaced
with go/analysis, it's beneficial to move useful
things we want to keep inside go-critic repository.

astwalk only depends on the lintpack.FileWalker
interface that can be easily moved or replaced later.

Refs #854

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
@quasilyte quasilyte merged commit 5c8144e into master May 27, 2020
@quasilyte quasilyte deleted the quasilyte/deps/make_astwalk_part_of_gocritic branch May 27, 2020 09:19
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