Lint automatically with hooks
Follow the steps to create a pre-commit hook
Create the file
pre-commit
inside the path.git/hooks/
of your local repository with this content:
Assign it execution permission
Last updated
Follow the steps to create a pre-commit hook
Create the file pre-commit
inside the path .git/hooks/
of your local repository with this content:
Assign it execution permission
Last updated