Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 1.07 KB

installation-pretteri-husky-lint.md

File metadata and controls

38 lines (20 loc) · 1.07 KB

ESLint

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.


Commitlint

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 ?


Husky

npm install --save-dev husky lint-staged prettier

Husky is a package that helps you create Git hooks easily.