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

Allow custom linters to auto-fix suggested fixes #2300

Closed
wants to merge 1 commit into from

Commits on Oct 20, 2021

  1. Allow custom linters to auto-fix

    This allows custom linters hook into the `--fix` functionality.
    Custom linters specify the fixes using the Go analysis structures,
    which allow for arbitrary char offsets for fixes; they get converted
    into golangci structures, which are line-based. If the conversion is
    not possible, the fix is dropped on the floor.
    
    Signed-off-by: Steve Coffman <steve@khanacademy.org>
    StevenACoffman committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    d8ad9c3 View commit details
    Browse the repository at this point in the history