lint-my-app

So you can write your app instead of lint it!

View the Project on GitHub

current version Build Status Coverage Status Mutation testing badge semantic-release Commitizen friendly

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

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.