KarimMokhtar / react-drag-drop-files

Light and simple Reactjs drag and drop files library to use with very flexible options to change, so you put whatever the design you want for your drop-area. Users can drag and drop or even select the file anywhere in the window.
MIT License
245 stars 86 forks source link

feat: add husky pre-commit hook #75

Closed AmrAhmedA closed 1 year ago

AmrAhmedA commented 2 years ago

Summary

Proposal for adding Husky pre-commit hook to run scripts such as lint, prettier, conventional commit message checking at staged files.

Why use pre-commit hook?

Pre-commit hooks allows to run custom scripts against react-drag-drop-files repository locally, ensurers that it meets the integrity and some rules.

Example of adding a commit message that violates conventional commit

image

TODOS

Key Changes

Check List