forked from mgrachev/gastly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
27 lines (24 loc) · 808 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
24
25
26
27
AllCops:
# Cop names are not displayed in offense messages by default. Change behavior
# by overriding DisplayCopNames, or by giving the -D/--display-cop-names
# option.
DisplayCopNames: true
# Style guide URLs are not displayed in offense messages by default. Change
# behavior by overriding DisplayStyleGuide, or by giving the
# -S/--display-style-guide option.
DisplayStyleGuide: true
Exclude:
- 'bin/**/*'
- 'spec/**/*'
- 'vendor/**/*'
# Missing top-level class documentation comment
Style/Documentation:
Enabled: false
# Line is too long
# https://github.com/bbatsov/ruby-style-guide#80-character-limits
Metrics/LineLength:
Max: 180 # 80
# Assignment Branch Condition size for perform is too high
# http://c2.com/cgi/wiki?AbcMetric
Metrics/AbcSize:
Enabled: false