lint-staged-tsc
v0.2.1
Published
Lint staged plugin for typescript type checking
Downloads
271
Maintainers
Readme
lint-staged-tsc
A small util for extending lint-staged. It allows to run typescript type checking only for staged files
Installation
Simply run:
npm i -D lint-staged-tsc
Or, if you are using Yarn:
yarn add -D lint-staged-tsc
Usage
Paste lint-staged-tsc
into your lint-staged config, i.e. :
{
"lint-staged": {
"**/*.{ts,tsx}": "lint-staged-tsc"
}
}