paleite / eslint-plugin-diff

Run ESLint on your changes only
https://npm.im/eslint-plugin-diff
MIT License
172 stars 13 forks source link

cli flag for ignoring plugin #45

Open reharik opened 1 year ago

reharik commented 1 year ago

Is your feature request related to a problem? Please describe. Sometimes I want to run lint on the whole project. Then I have to go into the eslintrc and comment out the "plugin:diff/diff" line. It would be very nice to have a cli flag that would do this for me.

Describe the solution you'd like Create a cli flag e.g. --noDiff or perhaps --diff:staged, --diff:diff, --diff:off

Describe alternatives you've considered I have to comment it out in the eslint file