eslint-plugin-diff icon indicating copy to clipboard operation
eslint-plugin-diff copied to clipboard

Run ESLint on your changes only

Results 27 eslint-plugin-diff issues
Sort by recently updated
recently updated
newest added

When using the plugin, no warnings show up in the editor at all. The linting does work as expected, but the errors or warnings that show up in the editor...

bug
question

This commit fixes https://github.com/paleite/eslint-plugin-diff/issues/14

Since I updated to version 2.0.1 I get the error shown below where the git diff command doesn't recognise one of the options. ``` An unhandled exception occurred: Failed to...

Hi there, Firstly, thanks for this great plugin, it's a huge help to incrementally enabling new lint rules on our code base 🥳 There's one issue we ran into where...

When I turn on eslint-plugin-diff with eslint-plugin-vue at the same time, a simple .vue file content keey reporting rule 'vue/comment-directive ' error. From their document [https://eslint.vuejs.org/rules/comment-directive.html](), the problematic rule uses...

Either this plugin isn't compatible with [ESLint's flat config file](https://eslint.org/docs/latest/use/configure/configuration-files-new) yet, or I'm not setting it up quite right. Here's a simple example: Config ```js import globals from 'globals'; import...

Hi, if I'm setting `ESLINT_PLUGIN_DIFF_COMMIT` to be an actual commit, I'm getting an error ``` Error: Failed to load plugin 'diff' declared in '.eslintrc.js': Command failed: git diff --diff-algorithm=histogram --diff-filter=ACM...

### Background Because of various factors, my team prefers to run lints in a git pre-push hook. While the `diff` or `staged` config could work, an ideal solution is to...

In my case, when linting with the react-hooks/exhaustive-deps rule, if I only modify the code within the function of the useCallback hook without modifying the dependencies array, this error should...