chore: pin eslint-plugin-diff to workaround git ref issue - #16049
Conversation
|
Is there an upstream bug report for this? |
|
I couldn't see one yet. Do you want to create one? Are you happy to merge this in the interim to unblock #16037 ? |
|
Could you file this issue? I am not so into it to put a good description. |
04d231d to
81310fc
Compare
81310fc to
b0eae7c
Compare
daschuer
left a comment
There was a problem hiding this comment.
LGTM, Thank you for the additional documentation. I will merge this to unblock the depending PR.
It looks like this is an intended change form upstream. The situation that we are cut off from updates is not so good. Do we have a plan to change that?
|
Good question. Quite frankly, I cannot tell. I guess the easy option would be to add a One issue we have to work with is that pre-commit isn't really the leading linter for git pre commit checks and thus it is unlikely they have or would consider its behaviour. One question becomes what side effect are to be expected (e.g running locally, falling back to Not entirely sure what is the best option, probably trying to see if they would consider keeping this behaviour as opt out could be good? |
|
Yes. At least they should understand our issue. |
|
Ah I didn't realise we were passing the branch explicitly in the pipeline: 8a9b040 |
Fix an issue where the remote ref is wrongly assumed to always be the PR base, instead of pre-commit
fromarg, regression introduce by eslint-plugin-diff@v2.1.1 (see paleite/eslint-plugin-diff@e1fd847)