RuboCop

.rubocop.yml

TODO

.rubocop_todo.yml

You can first generate a reporting of issues using:

bundle exec rubocop \                                
  --auto-gen-config \
  --auto-gen-only-exclude \
  --no-exclude-limit

Auto correct a specific issue

You can fix a specific issue using this line:

rubocop --auto-correct-all --only Layout/EmptyLineAfterGuardClause

In this example, Layout/EmptyLineAfterGuardClause is the issue we auto correct.

Style guide for Ruby

https://github.com/bbatsov/ruby-style-guide

EditorConfig

http://editorconfig.org

Screen Resolution Stats

http://gs.statcounter.com/screen-resolution-stats/all/worldwide