What is lint-staged?
"Lint files staged by git"
lint-staged is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 145.3 KB on disk.
Installation Guide
# Install via NPM
npm install lint-staged
# Install via Yarn
yarn add lint-staged