Runs ESLint on changed files.
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.
npx eslint-changeset
pnpx libyear
yarn add --dev eslint-changeset
yarn eslint-changeset
yarn dlx eslint-changeset
Accepts a git branch. Default master
.
Compare changes with the specified branch.
Accepts a boolean.
Automatically fix problems.
Accepts a git ref.
Compare changes since the specified reference.