0.4.9 • Published 4 years ago

@bingsjs/op-lint-staged v0.4.9

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

@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)