leonhartX / danger-eslint

A Danger plugin for linting javascript with eslint.
MIT License
13 stars 12 forks source link

Account for renamed files when linting #8

Closed joeltaylor closed 4 years ago

joeltaylor commented 4 years ago

When a file is renamed, the old path will show up in git.modified_files and will cause eslint to fail since it cannot find the file. To account for this, remove the old path and only lint the new.

postmechanical commented 3 years ago

I just opened a similar PR #11 not realizing this one existed. Why was it closed without merging @joeltaylor?