You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@n-studio I've release a pre-release of this feature. It's pre-released as version 2.0.2-0 and if you like, you could try it out right now. It's completely automatic, so you don't have to specify if you're running in CI or not.
Please note: There's no new command-line option (ESLint doesn't allow that), but since I added auto-detection instead, it should work by simply changing your config from "plugin:diff/diff" to "plugin:diff/ci".
This is a nice idea, but 1) it's not released and 2) it seems to force prefixing origin to ESLINT_PLUGIN_DIFF_COMMIT so it can't reference anything but a branch?
On my CI I want to lint only the diff lines, but when I run lint locally I want to be able to scan my whole project.
Is it possible to add a command line option, for example
eslint src/** --disable-diff
to restore the default behaviour?The text was updated successfully, but these errors were encountered: