lint-my-app

    3.7.65 • Public • Published

    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 💩 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.

    Install

    npm i lint-my-app

    DownloadsWeekly Downloads

    27

    Version

    3.7.65

    License

    MIT

    Unpacked Size

    41.6 kB

    Total Files

    19

    Last publish

    Collaborators

    • saiichihashimoto