2019-05-13 02:38:46 +00:00
|
|
|
require: rubocop-performance
|
|
|
|
|
2018-09-15 14:16:10 +00:00
|
|
|
inherit_from:
|
|
|
|
- https://raw.githubusercontent.com/thoughtbot/guides/master/style/ruby/.rubocop.yml
|
2018-10-21 15:39:48 +00:00
|
|
|
|
2018-09-28 01:35:05 +00:00
|
|
|
AllCops:
|
2018-10-05 01:07:56 +00:00
|
|
|
TargetRubyVersion: 2.3
|
2018-09-28 01:35:05 +00:00
|
|
|
Exclude:
|
|
|
|
- 'gemfiles/*'
|
2018-09-28 01:43:33 +00:00
|
|
|
- 'tmp/**/*'
|
2018-09-15 14:16:10 +00:00
|
|
|
|
2020-01-17 19:40:13 +00:00
|
|
|
Rails:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-09-15 14:16:10 +00:00
|
|
|
Metrics/BlockLength:
|
2018-10-21 15:39:48 +00:00
|
|
|
CountComments: true
|
|
|
|
Max: 25
|
|
|
|
ExcludedMethods: []
|
2018-09-15 14:16:10 +00:00
|
|
|
Exclude:
|
2018-10-21 15:39:48 +00:00
|
|
|
- "spec/**/*"
|
|
|
|
- '*.gemspec'
|
|
|
|
|
|
|
|
Style/SymbolArray:
|
|
|
|
EnforcedStyle: brackets
|
2018-09-15 14:16:10 +00:00
|
|
|
|
|
|
|
Style/FormatStringToken:
|
2018-10-21 15:39:48 +00:00
|
|
|
Enabled: false
|
2018-09-15 14:16:10 +00:00
|
|
|
|
2018-10-21 15:39:48 +00: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
|
2020-01-17 19:44:33 +00:00
|
|
|
Layout/LineLength:
|
2018-12-12 16:05:13 +00:00
|
|
|
Max: 110
|