Skip to content

Check for gofmt doesn't exclude unstaged #15

Description

@proidiot

The script which checks every file against gofmt -s runs against all files and not just the relevant ones. For its initial use within Travis Ci, this is fine, but the same script couldn't necessarily be used as a pre-commit hook for local development, but there's no reason it couldn't be modified for use in this context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions