Note: I haven't been able to test this because I couldn't get yarn v3 to install a local package and ran out of time, but I checked that removing difft from my git config fixes the issue.
An external tool configured in git's diff.external setting can break
eslint-plugin-diff.
For example difft seems to always take over regular git diff output,
even in non interactive sessions. This results in eslint-plugin-diff not
being able to parse the diff output and exiting with no errors.
This change adds --no-ext-diff to the git diff commands, which overrides
the diff.external setting.
Note: I haven't been able to test this because I couldn't get yarn v3 to install a local package and ran out of time, but I checked that removing difft from my git config fixes the issue.
An external tool configured in git's diff.external setting can break eslint-plugin-diff.
For example difft seems to always take over regular git diff output, even in non interactive sessions. This results in eslint-plugin-diff not being able to parse the diff output and exiting with no errors.
This change adds --no-ext-diff to the git diff commands, which overrides the diff.external setting.