Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require: in rubocop.yml is relative to pwd not the file #2865

Closed
ptarjan opened this issue Feb 18, 2016 · 0 comments
Closed

require: in rubocop.yml is relative to pwd not the file #2865

ptarjan opened this issue Feb 18, 2016 · 0 comments

Comments

@ptarjan
Copy link
Contributor

ptarjan commented Feb 18, 2016

When I do

require:
  ./foo/bar.rb

It changes which bar.rb I'm using based on which dir I'm running rubocop in. Worse, this breaks editor integrations because some of them have the pwd in /tmp somewhere with only your edited files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant