paleite / eslint-plugin-diff

Run ESLint on your changes only
https://npm.im/eslint-plugin-diff
MIT License
181 stars 14 forks source link

do not use origin... #41

Open subskribe-kevin opened 1 year ago

subskribe-kevin commented 1 year ago

Do not automagically add origin/ to the branch name.

If the user wants to user origin/ they can add it themselves.

This prevents:

fatal: ambiguous argument 'origin/my_branch': unknown revision or path not in the working tree.

KalleChen commented 1 week ago

@paleite we need this to be merged as it also resolves the issue where commit hashes can’t be used in the CI environment. https://github.com/paleite/eslint-plugin-diff/issues/60