Skip to content

Can't provide commit SHA to ESLINT_PLUGIN_DIFF_COMMIT Β #60

@cakeinpanic

Description

@cakeinpanic

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 --find-renames=100% --name-only --no-ext-diff --relative origin/4f357bc497d291cfb953ec84460b8aa7244ccc1f --
fatal: bad revision 'origin/4f357bc497d291cfb953ec84460b8aa7244ccc1f'

But sometimes I want to compare with a revision, can you please support provide an ability to use SHA there?

I believe this can be a simple solutions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions