2018-09-15 10:16:10 -04:00
|
|
|
inherit_from:
|
|
|
|
- https://raw.githubusercontent.com/thoughtbot/guides/master/style/ruby/.rubocop.yml
|
2018-10-21 11:39:48 -04:00
|
|
|
|
2018-09-27 21:35:05 -04:00
|
|
|
AllCops:
|
2018-10-04 21:07:56 -04:00
|
|
|
TargetRubyVersion: 2.3
|
2018-09-27 21:35:05 -04:00
|
|
|
Exclude:
|
|
|
|
- 'gemfiles/*'
|
2018-09-27 21:43:33 -04:00
|
|
|
- 'tmp/**/*'
|
2018-09-15 10:16:10 -04:00
|
|
|
|
|
|
|
Metrics/BlockLength:
|
2018-10-21 11:39:48 -04:00
|
|
|
CountComments: true
|
|
|
|
Max: 25
|
|
|
|
ExcludedMethods: []
|
2018-09-15 10:16:10 -04:00
|
|
|
Exclude:
|
2018-10-21 11:39:48 -04:00
|
|
|
- "spec/**/*"
|
|
|
|
- '*.gemspec'
|
|
|
|
|
|
|
|
Style/SymbolArray:
|
|
|
|
EnforcedStyle: brackets
|
2018-09-15 10:16:10 -04:00
|
|
|
|
|
|
|
Style/FormatStringToken:
|
2018-10-21 11:39:48 -04:00
|
|
|
Enabled: false
|
2018-09-15 10:16:10 -04:00
|
|
|
|
2018-10-21 11:39:48 -04:00
|
|
|
# TODO: gradually bring this down to 80 as we fix files
|
|
|
|
# Let's not open a big PR to fix all of these at once -
|
|
|
|
# we can fix gradually if we happen to be editing a file that has a violation
|
|
|
|
Metrics/LineLength:
|
2018-12-12 11:05:13 -05:00
|
|
|
Max: 110
|