eslint-plugin-diff
eslint-plugin-diff copied to clipboard
Can you add a parameter to specify certain rules to not validate within the diff scope?
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 be excluded.
Can you provide a method to achieve a similar effect as shown below?
https://github.com/paleite/eslint-plugin-diff/compare/main...Crazydogs:eslint-plugin-diff:patch-1