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

pre-commit hook config #188

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Aug 23, 2023

  1. pre-commit hook config

    added `.pre-commit-config.yaml` to the repo. To use it:
    
    - `pip install pre-commit`
    - Install the following Go packages:
      * go install github.com/go-critic/go-critic/cmd/gocritic@latest
      * go install https://pkg.go.dev/golang.org/x/tools/cmd/goimports@latest
      * go install golang.org/x/lint/golint@latest
    - In your clone, run: `pre-commit install`
    
    This will create .git/hooks/pre-commit and following that, these tests will run every time you invoke `git commit`:
    ```sh
    go fmt...................................................................Passed
    go imports...............................................................Passed
    go vet...................................................................Passed
    go lint..................................................................Passed
    go-critic................................................................Passed
    ```
    jessp01 committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    006c6f5 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. Configuration menu
    Copy the full SHA
    6286b10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c446af View commit details
    Browse the repository at this point in the history
  3. rename stage

    jessp01 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    a42fe42 View commit details
    Browse the repository at this point in the history