lint-staged-config
/
1.1.0
lint-staged-config 1.1.0
Install from the command line:
Learn more about npm packages
$ npm install @releaseband/lint-staged-config@1.1.0
Install via package.json:
"@releaseband/lint-staged-config": "1.1.0"
About this version
lint-staged shareable config
npm i -D @releaseband/lint-staged-config
npx install-peerdeps --dev @releaseband/lint-staged-config
create .lintstagedrc.js
file in the root project folder:
module.exports = require('@releaseband/lint-staged-config');
Add husky hook
initialize husky:
npx husky-init && npm install
add pre-commit hook:
npx husky add .husky/pre-commit 'npx --no lint-staged'
Details
- lint-staged-config
- releaseband
- 2 months ago
- MIT
- 2 dependencies
Assets
- lint-staged-config-1.1.0.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0