@bingsjs/op-lint-staged

0.4.9 • Public • Published

@bingsjs/op-lint-staged

Pre-configured lint-staged to process staged files

Usage

Put a line in git "pre-commit" hook

yarn op-lint-staged

Pre-configs

See pre-configs dir for pre-configuration(s)

By default:

  • Typescript (.ts): op-lint
  • Javascript (.js): op-lint
  • JSON (.json): op-lint and prettier
  • Markdown (.md): markdown-toc (compile Table of Content)

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @bingsjs/op-lint-staged

    Weekly Downloads

    0

    Version

    0.4.9

    License

    ISC

    Unpacked Size

    6.72 kB

    Total Files

    7

    Last publish

    Collaborators

    • bingtimren