-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop.yml
44 lines (44 loc) · 886 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
AllCops:
Include:
- 'lib/**/*.rb'
- 'bin/**'
- 'test/**/*.rb'
- '*.rb'
- .toys.rb
Security/Eval:
Exclude:
- 'bin/wgit'
Metrics/ParameterLists:
Exclude:
- 'lib/wgit/dsl.rb'
- 'lib/wgit/database/database_adapter.rb'
Style/FrozenStringLiteralComment:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Layout/HashAlignment:
Enabled: false
Layout/FirstArrayElementIndentation:
Enabled: false
Layout/FirstHashElementIndentation:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Style/Documentation:
Enabled: false
Metrics/MethodLength:
Max: 30
Metrics/PerceivedComplexity:
Max: 12
Metrics/CyclomaticComplexity:
Max: 12
Layout/LineLength:
Max: 85
Exclude:
- 'test/**/*.rb'
Style/Alias:
EnforcedStyle: prefer_alias_method
Style/StringLiterals:
EnforcedStyle: double_quotes