diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-06-10 16:30:07 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-06-10 16:34:29 +0200 |
commit | 9b346202bc09d808064fa5b9647be4e43cfd488b (patch) | |
tree | d3f6c8b44311d9f68341abe3e5551c0070b3b2d3 /CONTRIBUTING.md | |
parent | 123dea35b53cf1f6ac55359516bc4ca33fa402fc (diff) | |
download | gitlab-ce-9b346202bc09d808064fa5b9647be4e43cfd488b.tar.gz |
Option B, Rubocop.
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 21fcfb14676..ee17f1d6cc9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -102,8 +102,10 @@ For examples of feedback on merge requests please look at already [closed merge ## Style guides -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: - - multi-line method chaining style **Option A**: leading `.` +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: + - multi-line method chaining style **Option B**: dot `.` on previous line - string literal quoting style **Option A**: single quoted by default 1. [Rails](https://github.com/bbatsov/rails-style-guide) 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 1. [Shell commands](doc/development/shell_commands.md) 1. [Markdown](http://www.cirosantilli.com/markdown-styleguide) -The above styles are used by Hound CI. +This is also the style used by linting tools such as [Rubocop](https://github.com/bbatsov/rubocop) +and [Hound CI](https://houndci.com). |