-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop.yml
43 lines (43 loc) · 845 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
39
40
41
42
43
require: rubocop-rspec
Rails:
Enabled: true
AllCops:
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'spec/support/**/*'
- 'spec/*_helper.rb'
- 'bin/{rails,rake}'
RSpec/ReturnFromStub:
EnforcedStyle: block
RSpec/ImplicitExpect:
EnforcedStyle: should
RSpec/ExpectChange:
EnforcedStyle: block
RSpec/ExampleWording:
Enabled: false
Metrics/LineLength:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*'
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- 'app/admin/**/*'
- '**/*.rake'
Style/Documentation:
Enabled: false
Style/LambdaCall:
Enabled: false
Style/NumericLiterals:
Enabled: false
RSpec/ExampleLength:
Exclude:
- 'spec/system/**/*'
RSpec/MultipleExpectations:
Exclude:
- 'spec/system/**/*'