-
Notifications
You must be signed in to change notification settings - Fork 5
/
.rubocop.yml
48 lines (38 loc) · 898 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
44
45
46
47
48
require: rubocop-rspec
AllCops:
TargetRubyVersion: 2.3
Exclude:
- 'vendor/**/*'
- 'spec/requests/auth_flow_spec.rb'
Style/MixinUsage:
Exclude:
- 'bin/*'
Metrics/LineLength:
Max: 120
Security/Eval:
Exclude:
- 'Gemfile'
Style/Documentation:
Enabled: false
Metrics/LineLength:
Max: 135
Rails/DynamicFindBy:
Exclude:
- 'app/lib/connectors/opennebula/*.rb'
- 'spec/connectors/opennebula/*.rb'
- 'app/models/clouds/opennebula.rb'
- 'spec/models/clouds/opennebula_spec.rb'
- 'spec/controllers/v3/auth/tokens_controller_spec.rb'
Metrics/BlockLength:
Exclude:
- 'Rakefile'
- '**/*.rake'
- 'spec/**/*.rb'
- '*.gemspec'
- 'config/environments/*'
RSpec/NestedGroups:
Enabled: false
RSpec/LetBeforeExamples:
Exclude:
- 'spec/controllers/discovery_controller_spec.rb'
- 'spec/controllers/v3/info_controller_spec.rb'