-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
38 lines (32 loc) · 984 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
28
29
30
31
32
33
34
35
36
37
38
# This project follows the Ribose OSS style guide.
# https://github.com/riboseinc/oss-guides
# All project-specific additions and overrides should be specified in this file.
inherit_from:
- https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
AllCops:
DisplayCopNames: false
StyleGuideCopsOnly: false
TargetRubyVersion: 2.3
Exclude:
- bin/bundle
- bin/rake
- bin/rspec
Rails:
Enabled: false
Style/EmptyCaseCondition:
Enabled: false
Style/TrailingCommaInArguments:
Exclude:
# RSpec expectations can easily go multiline. And sometimes, it's all not
# about multiple arguments, but more about & or | operators. Comma placed
# after a single method argument which spans across many lines is confusing,
# not helpful. Hence, I'm disabling this cop for all specs.
- "spec/**/*"
Metrics/BlockLength:
Exclude:
- "spec/**/*"
- "**/*.rake"
- "Rakefile"
Style/HashSyntax:
Exclude:
- "Rakefile"