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 golangci lint #35

Merged
merged 12 commits into from
Jan 28, 2024
Merged

Add golangci lint #35

merged 12 commits into from
Jan 28, 2024

Commits on Jan 28, 2024

  1. Use golangci-lint for checks

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    3a11c86 View commit details
    Browse the repository at this point in the history
  2. Address misspell issues

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    8b82aa9 View commit details
    Browse the repository at this point in the history
  3. Run goimports -l

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    2c4957c View commit details
    Browse the repository at this point in the history
  4. Add exception for random number generator in test

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    300e2d5 View commit details
    Browse the repository at this point in the history
  5. Address gocritic error: capitalized local variables

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    404149d View commit details
    Browse the repository at this point in the history
  6. Fix checking of returned error values

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    495d563 View commit details
    Browse the repository at this point in the history
  7. Rewrite single case switch statements

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    28f9599 View commit details
    Browse the repository at this point in the history
  8. Remove deprecated call to rand.Seed

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    d547743 View commit details
    Browse the repository at this point in the history
  9. Use os.Create instead of creating file with 0666 permissions

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    8bbce50 View commit details
    Browse the repository at this point in the history
  10. Fix implicit memory aliasing in loop

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    3cba2c1 View commit details
    Browse the repository at this point in the history
  11. Add nolint for gosec G204

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    0513cf4 View commit details
    Browse the repository at this point in the history
  12. Remove unneeded gitlab pipeline var

    Signed-off-by: Evan Lezar <[email protected]>
    elezar committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    0c7baea View commit details
    Browse the repository at this point in the history