So you can write your app instead of lint it!
lint-staged keeps the 💩 out of your app. I got tired of configuring husky and lint-staged to get started. lint-my-app sets sane linting defaults so you can write your app instead of lint it!
npm install --save-dev lint-my-app husky
// .huskyrc.js
module.exports = require('lint-my-app/husky');
git commit -m 'Keep calm and lint'
- Fixes files using lint-staged on commit.
- Lints your entire codebase on push.
- All batteries included (except husky configuration).
- Uses your personal eslint and stylelint configs
- Respects
.gitignore
For the most part, lint-my-app/husky
can be given to husky and you're done! But the internal commands are open to you!
This lints your entire app.
This fixes your entire app.
This fixes your git staged files.