You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you pass the files you want to lint to the rubocop.lint method you could have this error because if you moved files to a new path when linting them they will have the old path, why only perform the mapping if you don't pass the files?
In my case I need to filter my changed files by file extension:
I would suggest adding the config to exclude file extensions, that would solve my issue, for now I have to map old paths with new paths in changed files manually before sending them to rubocop.lint
The text was updated successfully, but these errors were encountered:
If you pass the files you want to lint to the
rubocop.lint
method you could have this error because if you moved files to a new path when linting them they will have the old path, why only perform the mapping if you don't pass the files?In my case I need to filter my changed files by file extension:
https://github.com/ashfurrow/danger-rubocop/blob/60621dcd390bb64d444f297e77054be7d3fa3fbe/lib/danger_plugin.rb#L149C2-L149C2
I would suggest adding the config to exclude file extensions, that would solve my issue, for now I have to map old paths with new paths in changed files manually before sending them to
rubocop.lint
The text was updated successfully, but these errors were encountered: