Skip to content

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

@releaseband/lint-staged-config

lint-staged shareable config

Installing

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


Assets

  • lint-staged-config-1.1.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all