-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
23 lines (21 loc) · 870 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
AllCops:
# Cop names are not displayed in offense messages by default. We find it
# useful to include this information so we can use it to investigate what the
# fix may be.
DisplayCopNames: true
# Style guide URLs are not displayed in offense messages by default. Again we
# find it useful to go straight to the documentation for a rule when
# investigating what the fix may be.
DisplayStyleGuide: true
Exclude:
# spec_helper is generated by rspec so not the responsibility of me to lint
- 'spec/spec_helper.rb'
# Disable this rubocop style because we want to make the arguments passed into
# quke available to anywhere when the code is executed
# rubocop:disable Style/GlobalVars
Style/GlobalVars:
Enabled: false
# Increased method length from 10 to 20 to give myself more breathing room in
# the examples
Metrics/MethodLength:
Max: 20