/pōˈmandər,ˈpōˌmandər/ (noun) - a ball or perforated container of sweet-smelling substances such as herbs and spices, placed in a closet, drawer, or codebase to perfume the air or (formerly) carried as a supposed protection against infection.
Within a git repository, run the following command:
curl -s https://raw.githubusercontent.com/hackreactor-labs/pomander/master/bin/install | bashIf you don't have ESLint installed, also run the following command:
npm install -g eslint
Pomander uses a pre-commit hook to run staged JavaScript files through ESLint before each commit.
ESLint is a popular linter that checks your code for syntax and style errors. By default, ESLint only checks for syntax errors. To create a more robust rule-set, you need to set up ESLint in your project
It's useful to know that you can skip the hook during commits with the --no-verify option.