Sha256: f26af60c56582a07febec70f7dc2df5fc2721cb14e59427cbda4d6ce4dd67e4e

Contents?: true

Size: 669 Bytes

Versions: 48

Compression:

Stored size: 669 Bytes

Contents

<h1>Rubocop</h1>

<h2>RuboCop is a Ruby code style checking and code formatting tool.</h2>

<p>It aims to enforce the community-driven Ruby Style Guide.</p>

<hr />

<h3>.rubocop.yml</h3>

<pre>
<code>
<%= File.read('.rubocop.yml') %>
</code>
</pre>

<hr />

<h3>controllers/home_controller.rb</h3>

<pre>
<code>
<%= File.read('app/controllers/home_controller.rb') %>
</code>
</pre>

<hr />

<h3>Call rubocop variations</h3>

<pre>
<code>
# uses .rubocop.yml and any hierarchy configs
rubocop

# uses .rubocop.yml only
rubocop --config .rubocop.yml

# uses will AutoCorrect offenses
rubocop -A --config .rubocop.yml
</code>
</pre>

<hr />

<%= image_tag 'cop-output' %>

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.3.5 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.3.4 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.3.3 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.3.2 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.3.1 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.3.0 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.43 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.42 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.41 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.40 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.39 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.38 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.37 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.36 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.35 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.34 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.33 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.32 after_templates/addons/rubocop/app/views/home/index.html.erb
rails_app_generator-0.2.31 after_templates/addons/rubocop/app/views/home/index.html.erb