-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Style/FileName: false positive when inspecting file in non-current directory #1598
Comments
P.S. If you're using Emacs 24.4+ this comment is redundant. |
I can confirm that there's a bug here, though I have not found that the emacs mode line makes any difference. Here's what I've found.
I think both of these are bugs. The behavior is different if I run from the inspected directory without arguments.
|
Ah. sorry. Feel free to change the title since the modeline has nothing to do with it. I assumed it was relevant. |
@jonas054 I wasn't running rubocop that way... lemme try to get a repro. ETA: I got nothing. Sorry. I don't remember how this came up exactly. OH. Maybe I do. I think I was running it via a private gem install relative to the current directory. So the pathing idea is probably the same. |
[Fix #1598] Match absolute path too in Config#file_to_include?
I have this on the top of my Rakefile:
and rubocop warns me about using snake case for file names.
The text was updated successfully, but these errors were encountered: