-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.rubocop.yml
More file actions
48 lines (37 loc) · 981 Bytes
/
.rubocop.yml
File metadata and controls
48 lines (37 loc) · 981 Bytes
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
39
40
41
42
43
44
45
46
47
48
require:
- rubocop-rspec
- rubocop-performance
- rubocop-rake
AllCops:
NewCops: enable
Style/EmptyLiteral:
Enabled: false
Gemspec/DevelopmentDependencies:
EnforcedStyle: gemspec
Layout/HashAlignment:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Layout/LineLength:
Max: 150
Include:
- 'spec/**/*'
RSpec/EmptyExampleGroup:
Enabled: false
# Because of the way that blocks are used in RSpecs can end up being long when
# example groups are nested or many examples are checked.
# A similar pattern exists in the DSL for gemspec files.
Metrics/BlockLength:
Exclude:
- '*.gemspec'
- 'spec/**/*'
RSpec/ExpectInHook:
Enabled: false
RSpec/MessageSpies:
Enabled: false
RSpec/EmptyLineAfterExample:
Enabled: false
# NOTE: The rspec-tabular commands get confused with the default syntax is used
# for Hashes, so disabling this check for specs so that `Hash[]` can be used.
Style/HashConversion:
Exclude:
- 'spec/**/*'