So you can write your app instead of lint it!
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!
npm install --save-dev lint-my-app husky
// .huskyrc.js
module.exports = require('lint-my-app/husky');
git commit -m 'Keep calm and lint'
.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.