Commit 8a88fc5
Use an opinionated set of rules for Rubocop (#722)
* Use an opinionated set of rules for Rubocop
Most projects that thoughtbot is working on currently did not start here.
The "Use standard" recommendation comes from a time that that wasn't
true.
There are a few reasons not to use Standard in existing projects:
- A large project does not already use Standard and retrofitting would be costly
- Need or want Rubocop rules other than Standard's opinionated set
* additions to nme-standard branch (#754)
* Use an opinionated set of rules for Rubocop
Most projects that thoughtbot is working on currently did not start here.
The "Use standard" recommendation comes from a time that that wasn't
true.
There are a few reasons not to use Standard in existing projects:
- A large project does not already use Standard and retrofitting would be costly
- Need or want Rubocop rules other than Standard's opinionated set
* link rubocop guideline to additional information
* fix typos and add trade-offs for using standard
---------
Co-authored-by: Neil Carvalho <me@neil.pro>
---------
Co-authored-by: Valerie Burzynski <valerie.burzynski@thoughtbot.com>1 parent 383a792 commit 8a88fc5
File tree
3 files changed
+29
-3
lines changed- ruby
3 files changed
+29
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments