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

Add "enable-new" command that enables any linters not explicitly disabled #1754

Closed
wants to merge 4 commits into from

Commits on Feb 20, 2021

  1. Add "enable-new" command that enables any linters that are not explic…

    …itly disabled
    
    This command updates the identified configuration file and adds new linters to
    it, trying to preserve the original file as closely as possible
    
    This offers an alternative to the deprecated "enable-all" setting.  It allows
    projects to keep up-to-date with the latest linters without introducing new
    linters when the golangci-lint version is upgraded.
    ashanbrown committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    2c5300a View commit details
    Browse the repository at this point in the history
  2. Better description

    ashanbrown committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    69800e8 View commit details
    Browse the repository at this point in the history
  3. Fix lint errors

    ashanbrown committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    66f3f08 View commit details
    Browse the repository at this point in the history
  4. Fix lint error

    ashanbrown committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    ec125f7 View commit details
    Browse the repository at this point in the history