0.2.1 • Published 3 years ago
lint-staged-tsc v0.2.1
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"
}
}