Sha256: ffb712c2824304d0f7585887af0193eb169ab9df08c42ed8448a141c400224ae

Contents?: true

Size: 621 Bytes

Versions: 2

Compression:

Stored size: 621 Bytes

Contents

= Usage

You need to tell RuboCop to load the RuboCop RSpec Extra extension.
There are some ways to do this:

== RuboCop configuration file

Put this into your `.rubocop.yml`:

----
require: rubocop-rspec-extra
----

or, if you are using several extensions:

----
require:
  - rubocop-rspec
  - rubocop-rspec-extra
----

Now you can run `rubocop` and it will automatically load the RuboCop RSpec Extra
cops together with the standard cops.

[source,bash]
----
$ rubocop --require rubocop-rspec-extra
----

== Rake task

[source,ruby]
----
RuboCop::RakeTask.new do |task|
  task.requires << 'rubocop-rspec-extra'
end
----

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-rspec-extra-0.2.0 docs/modules/ROOT/pages/usage.adoc
rubocop-rspec-extra-0.1.0 docs/modules/ROOT/pages/usage.adoc