Commit 9b346202bc09d808064fa5b9647be4e43cfd488b

Authored by Ciro Santilli
1 parent 123dea35

Option B, Rubocop.

Showing 1 changed file with 6 additions and 3 deletions   Show diff stats
CONTRIBUTING.md
@@ -102,8 +102,10 @@ For examples of feedback on merge requests please look at already [closed merge @@ -102,8 +102,10 @@ For examples of feedback on merge requests please look at already [closed merge
102 102
103 ## Style guides 103 ## Style guides
104 104
105 -1. [Ruby](https://github.com/bbatsov/ruby-style-guide). Important sections include [Source Code Layout](https://github.com/bbatsov/ruby-style-guide#source-code-layout) and [Naming](https://github.com/bbatsov/ruby-style-guide#naming). Use:  
106 - - multi-line method chaining style **Option A**: leading `.` 105 +1. [Ruby](https://github.com/bbatsov/ruby-style-guide).
  106 + Important sections include [Source Code Layout](https://github.com/bbatsov/ruby-style-guide#source-code-layout)
  107 + and [Naming](https://github.com/bbatsov/ruby-style-guide#naming). Use:
  108 + - multi-line method chaining style **Option B**: dot `.` on previous line
107 - string literal quoting style **Option A**: single quoted by default 109 - string literal quoting style **Option A**: single quoted by default
108 1. [Rails](https://github.com/bbatsov/rails-style-guide) 110 1. [Rails](https://github.com/bbatsov/rails-style-guide)
109 1. [Testing](https://github.com/thoughtbot/guides/tree/master/style#testing) 111 1. [Testing](https://github.com/thoughtbot/guides/tree/master/style#testing)
@@ -111,4 +113,5 @@ For examples of feedback on merge requests please look at already [closed merge @@ -111,4 +113,5 @@ For examples of feedback on merge requests please look at already [closed merge
111 1. [Shell commands](doc/development/shell_commands.md) 113 1. [Shell commands](doc/development/shell_commands.md)
112 1. [Markdown](http://www.cirosantilli.com/markdown-styleguide) 114 1. [Markdown](http://www.cirosantilli.com/markdown-styleguide)
113 115
114 -The above styles are used by Hound CI. 116 +This is also the style used by linting tools such as [Rubocop](https://github.com/bbatsov/rubocop)
  117 +and [Hound CI](https://houndci.com).