Sha256: e21193116b047494b3bb37843cef63b4c963dc02cefeaeb3ebff7c76da85d3c6

Contents?: true

Size: 609 Bytes

Versions: 2

Compression:

Stored size: 609 Bytes

Contents

= Usage

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

== RuboCop configuration file

Put this into your `.rubocop.yml`:

----
require: rubocop-committee
----

or, if you are using several extensions:

----
require:
  - rubocop-committee
  - rubocop-rspec
----

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

[source,bash]
----
$ rubocop --require rubocop-committee
----

== Rake task

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-committee-0.1.1 docs/modules/ROOT/pages/usage.adoc
rubocop-committee-0.1.0 docs/modules/ROOT/pages/usage.adoc