@bingsjs/op-lint-staged
v0.4.9
Published
Pre-configured lint-staged to lint all staged files
Downloads
4
Readme
@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)