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 commit-msg-hook and edit style of scroll bar #376

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Xebec19
Copy link

@Xebec19 Xebec19 commented Aug 15, 2022

This PR:

  1. added commit-msg hook to check that commit messages contain at least one verb like "feat", "refactor" etc to highlight the purpose of the commit
  2. edited style of the scroll bar

Self-Review Checklist

  • PR title is clear with proper spelling and grammar
  • PR description contains a bulleted list of changes contained in the PR
  • PR links to relevant issues, with keywords to auto-close any issues fully resolved upon merge
  • All automated checks passed
  • Any variables introduced are named clearly and explicitly

commit-msg hook

every git commit message should contain one verb like "feat", "chore", "docs" etc and the message should be like "feat: some feature".
Please make sure that the hook is executable by

chmod +x .githooks/commit-msg

What happens when an invalid commit message is provided
Screenshot from 2022-08-15 21-39-59

scroll bar fix

before
Screenshot from 2022-08-15 20-30-44

after
Screenshot from 2022-08-15 21-06-06

added style for scroll bar in styles/global.css, wrote simple css due to my unfimiliarity with tailwind
@vercel
Copy link

vercel bot commented Aug 15, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
helpafamily ❌ Failed (Inspect) Aug 15, 2022 at 4:14PM (UTC)

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