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

Use go modules, analysis package and add test #8

Merged
merged 7 commits into from
Nov 2, 2023

Commits on Aug 10, 2023

  1. Use go modules, analysis package and add test

    * Use go modules
    * Use `analysis.Analyzer` for the linter
    * Introduce running mode to use from `golangci-lint`
    * Add tests using the testing package and assert fixer
    * Add standalone linter (`cmd/whitespace`)
    bombsimon committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    19b2d28 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Configuration menu
    Copy the full SHA
    e334819 View commit details
    Browse the repository at this point in the history
  2. Add GitHub actions

    bombsimon committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    6064ab3 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Make linter work on non formatted files

    Instead of relying on the file being `gofmt`:ed and only containing one
    empty line at most this commit will keep track of comments after the
    opening bracket of block statements and set the fix start to where this
    comment ends. This means that we will fix all the way from the left
    bracket or comment til the first statement no matter how many empty
    lines this is.
    
    This will also keep a list of lines affected by the linter to support
    fixing multiple empty lines in `golangci-lint`.
    bombsimon committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    d9dd7ed View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    b5ade39 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    4f3cb80 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Fix typo

    bombsimon committed Oct 31, 2023
    1 Configuration menu
    Copy the full SHA
    7f92e17 View commit details
    Browse the repository at this point in the history