1.0.12 • Published 2 years ago

senn-node-linter v1.0.12

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

Senn Node Linters

The library adds linter (eslint), formatter (prettier) and pre-commit hook (husky and pretty-quick) into your project.

Installation

npm install --save-dev @sennder/senn-node-linters

Configuration

To apply linting/formatting rules into the project copy .eslintrc.json and .prettierrc.json files from assets folder into the project's root.

To add precommit hook copy .husky directory into the project's root and make all files executable

chmod ug+x .husky/*
chmod ug+x .git/hooks/*