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

Automatically add pre-commit hook for spotlessCheck #18

Merged
merged 1 commit into from
Oct 8, 2023

Conversation

moallemi
Copy link
Owner

@moallemi moallemi commented Oct 8, 2023

As a software developer,
I want a pre-commit hook to automatically be added for running spotlessCheck,
So that I can ensure code formatting standards are adhered to before any code is committed to the repository.

Acceptance Criteria:

  1. The pre-commit hook should trigger the spotlessCheck task before allowing the commit to proceed.
  2. If the spotlessCheck task fails, the commit should be blocked, and a descriptive error message should be shown indicating the formatting issues.
  3. If the spotlessCheck task passes, the commit should proceed as normal.
  4. There should be documentation provided on how to manually set up, disable, or modify the pre-commit hook for spotlessCheck.
  5. The functionality should work across different operating systems and should be compatible with the version control system in use.

@moallemi moallemi merged commit a89f16e into dev Oct 8, 2023
1 check passed
@moallemi moallemi deleted the chore/auto-pre-commit branch October 8, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant