-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
41 lines (41 loc) · 1015 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
require: rubocop-rspec
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.4
Include:
- Rakefile
- Guardfile
- config.ru
- lib/**/*.rake
Exclude:
- db/schema.rb
- bin/**/*
Metrics/LineLength:
IgnoredPatterns: ['\A\s*#']
Naming/FileName:
Exclude:
- 'Gemfile'
- 'Guardfile'
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
ExcludedMethods:
- guard
- describe
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Exclude:
- 'config/application.rb'
RSpec/MessageSpies:
EnforcedStyle: receive
Style/Documentation:
Enabled: false
RSpec/FilePath:
Exclude:
- 'spec/concepts/action/operation/challenge_spec.rb'
- 'spec/concepts/action/operation/link_shared_spec.rb'
- 'spec/concepts/action/operation/unknown_spec.rb'
- 'spec/concepts/event/operation/handle_spec.rb'
- 'spec/concepts/unfurl/operation/dispatch_spec.rb'
- 'spec/concepts/unfurl/operation/github_spec.rb'
- 'spec/concepts/unfurl/operation/pivotal_spec.rb'