Setup husky and lint-staged
This sets up husky and lint-staged to lint files upon committing changes:
- Staged
.js
and.vue
files are automatically fixed if possible. - Runs the
markdown_lint
script to ensure that all Markdown files end with a new line. - Offences that can't be auto-fixed cause the commit command to error out.
Edited by Paul Gascou-Vaillancourt