Closed shortdudey123 closed 8 years ago
removing the "require: rubocop-rspec" from the yaml file makes it go away and appears to not break anything. Not sure why though.
@awead It does break running "rubocop" without arguments, it looks like:
$ rubocop
Warning: unrecognized cop RSpec/DescribeClass found in /home/mjg/workspace/sufia/.rubocop_todo.yml
Warning: unrecognized cop RSpec/AnyInstance found in /home/mjg/workspace/sufia/.rubocop.yml
Warning: unrecognized cop RSpec/ExampleWording found in /home/mjg/workspace/sufia/.rubocop.yml
Warning: unrecognized cop RSpec/FilePath found in /home/mjg/workspace/sufia/.rubocop.yml
Warning: unrecognized cop RSpec/InstanceVariable found in /home/mjg/workspace/sufia/.rubocop.yml
Warning: unrecognized cop RSpec/NotToNot found in /home/mjg/workspace/sufia/.rubocop.yml
Warning: unrecognized cop RSpec/DescribeClass found in /home/mjg/workspace/sufia/.rubocop.yml
Inspecting 418 files
I can get around this by using rake rubocop
since I have that task configured to require 'rubocop-rspec', or by invoking rubocop
with the --require rubocop-rspec
argument.
Looks like they're working on a fix to Rubocop for this, at which point this issue can be closed in rubocop-rspec: https://github.com/bbatsov/rubocop/pull/2936
Cool, i will close this and assume Rubocop 0.38.1
will work correctly
I am trying to update from Rubocop
0.37.2
to0.38.0
and i am getting a LoadError. Not sure if this is an issue on this side or the Rubocop sideMaybe its the way the rubocop require changed?? https://github.com/bbatsov/rubocop/compare/v0.37.2...v0.38.0#diff-e2fc41e8fa0504d203570a8d822495afR40