npm install --save-dev eslint eslint-config-prettier eslint-plugin-import
ESLint is a fully pluggable tool for identifying and reporting on patterns in JavaScript.
Configuration file: .eslintrc.js
.
For more configuration options and details, see the configuration docs.
npm install --save-dev @commitlint/cli @commitlint/config-conventional commitizen cz-conventional-changelog
commitlint checks if your commit messages meet the conventional commit format.
Configuration file: [.commitlintrc
]
In general the pattern mostly looks like this:
type(scope?): subject #scope is optional
Are you a good commitizen
?
npm install --save-dev husky lint-staged prettier
Husky is a package that helps you create Git hooks easily.