0.1.5 • Published 5 years ago
eslint-changeset v0.1.5
eslint-changeset · 
Runs ESLint on changed files.
Why
Linting an entire project can be slow and some of the results may not be relevant. Oftentimes, we only care about linting the files that have changed.
This project contains a script that will run ESLint on a list of changed files.
Usage
npm
npx eslint-changesetpnpm
pnpx libyearyarn@1 (yarn classic)
yarn add --dev eslint-changeset
yarn eslint-changesetyarn@2 (yarn berry)
yarn dlx eslint-changesetCLI
--branch=<branch>
Accepts a git branch. Default master.
Compare changes with the specified branch.
--fix
Accepts a boolean.
Automatically fix problems.
--since=<ref>
Accepts a git ref.
Compare changes since the specified reference.