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

Update megacheck to the latest version #352

Merged
merged 1 commit into from
Jan 8, 2019
Merged

Conversation

jirfag
Copy link
Member

@jirfag jirfag commented Jan 8, 2019

Also do following improvements:

  • show proper sublinter name for megacheck sublinters
  • refactor and make more simple and robust megacheck
    merging/optimizing
  • improve handling of unknown linter names in //nolint directives
  • minimize diff of our megacheck version from the upstream,
    cmd/compile: panic on conversion to anonymous interface when 2 versions of library are built golang/go#29612 blocks usage of the upstream
    version
  • support the new stylecheck linter
  • improve tests coverage for megacheck and nolint related cases
  • update and use upstream versions of unparam and interfacer instead of forked
    ones
  • don't use golangci/tools repo anymore
  • fix newly found issues after updating linters

Relates: #314

Thank you for the pull request!

Please make sure you didn't directly change README.md: it should be changed only by changing README.tmpl.md and running make readme.

@jirfag jirfag force-pushed the feature/update-megacheck branch 4 times, most recently from a9d458e to 420fb26 Compare January 8, 2019 16:44
Also do following improvements:
  - show proper sublinter name for megacheck sublinters
  - refactor and make more simple and robust megacheck
  merging/optimizing
  - improve handling of unknown linter names in //nolint directives
  - minimize diff of our megacheck version from the upstream,
  golang/go#29612 blocks usage of the upstream
  version
  - support the new `stylecheck` linter
  - improve tests coverage for megacheck and nolint related cases
  - update and use upstream versions of unparam and interfacer instead of forked
  ones
  - don't use golangci/tools repo anymore
  - fix newly found issues after updating linters

Also should be noted that megacheck works much faster and consumes less
memory in the newest release, therefore golangci-lint works noticeably
faster and consumes less memory for large repos.

Relates: #314
@jirfag jirfag force-pushed the feature/update-megacheck branch from 420fb26 to ff372f7 Compare January 8, 2019 16:50
@jirfag
Copy link
Member Author

jirfag commented Jan 8, 2019

can't login to fossa, merging as is

@jirfag jirfag merged commit 7705f82 into master Jan 8, 2019
@jirfag jirfag deleted the feature/update-megacheck branch January 8, 2019 18:16
@ldez ldez added this to the v1.13 milestone Mar 6, 2024
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.

2 participants