lint-my-app
v3.7.65
Published
So you can write your app instead of lint it!
Downloads
22
Maintainers
Readme
So you can write your app instead of lint it!
lint-staged keeps the :poop: 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!
Install
npm install --save-dev lint-my-app husky
// .huskyrc.js
module.exports = require('lint-my-app/husky');
git commit -m 'Keep calm and lint'
Features
- 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
Commands
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!
lint-my-app lint
This lints your entire app.
lint-my-app fix
This fixes your entire app.
lint-my-app staged
This fixes your git staged files.