core-web-components
Development
Husky and commit-lint
Commit messages in this repository have to adhere to the Conventional Commits specification. Husky and commit-lint have been set up to enforce this. The commit message should be structured as follows:
<type>[optional scope]: <description>
EXAMPLE: feat(authentication): introduces signOut method
See here for more details and explanation about the conventional commits specification.
Forcing Tower to husky's git-hooks
In order to keep using Tower for managing GIT related stuff please do the following.
- Run the
printenv
command in your terminal and copy the value forPATH
- Create a
.huskyrc
file in your home folder (mkdir ~/.huskyrc
) - Open
.huskyrc
, putPATH=
and paste the value you just copied.- Example:
PATH=/usr/local/sbin:/Users/adriaan/.nvm/versions/node/v14.16.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin
- Example: