Open alexander-myltsev opened 7 years ago
I'm having the same issue using RubMine 2017.2.2. I know the configuration is correct because running Rubcop from the command line does not flag the specs as having errors. I've also tried excluding specs for various specific cops rather than just AllCops, e.g.:
Metrics/BlockLength:
Exclude:
- spec/**/*
But all exclusions seem to get ignored by RubyMine.
Hey everyone - I didn't have the time to keep this projected updated anymore.
Maybe you have read about this somewhere, but RubyMine 2017.1 EAP 2 supports RuboCop now.
Expected Behavior
I have
.rubocop.yml
config rule as follows:I expect RubyMine won't highlight Rubocop errors for specs.
Actual Behavior
But it does highlight them.
Logs
Follow instructions here: https://github.com/sirlantis/rubocop-for-rubymine/blob/master/CONTRIBUTING.md
Environment
Operating System: System Version: macOS 10.12.2 (16C67) Kernel Version: Darwin 16.3.0
RubyMine Version: RubyMine 2016.3.2 Build #RM-163.10154.57, built on January 19, 2017 JRE: 1.8.0_112-release-408-b6 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Quick Troubleshooting
mine .
) to fully propagateENV
.