DEV-9 | Get Husky linting setup
Merge Request
add-husky-and-linting -> develop
Overview
Added husky, lint-staged, and linters with configurations. Linted the files.
Checklist
I certify that I have verified and completed the following criteria before having marked this MR as ready for review.
-
The source branch is up-to-date with the remote (i.e. git pull). -
The source branch is up-to-date with the developbranch (i.e.git merge develop). -
The target branch is set to develop. -
The source branch's local build is up-to-date ( nvm useandnpm ciwere ran). -
The app is able to load in the browser without issue. -
There are no dev console errors.
Notes
- Added husky with git hooks for lint-staged, commitlint, and general git tasks.
- Configured ESLint for JS, CJS, MJS, Vue, JSON, and MD files.
- Configured Stylelint for CSS, SCSS, and Vue files.
- Configured Prettier to be run as a Stylelint task for CSS and SCSS files.
- Linted all of the files.
- Added package.json
lint:js,lint:styles,lint:fix:js, andlint:fix:stylesscripts.
Edited by Tracey Jones