-
Notifications
You must be signed in to change notification settings - Fork 10
/
.rubocop.yml
59 lines (48 loc) · 1.08 KB
/
.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
49
50
51
52
53
54
55
56
57
58
59
AllCops:
Include:
- 'Rakefile'
- 'Gemfile'
Exclude:
- tmp/**/**/**/**
Documentation:
Enabled: false
Metrics/LineLength:
Max: 110
Exclude:
- 'Gemfile'
- 'cybele.gemspec'
Metrics/ClassLength:
Exclude:
- 'lib/cybele/generators/app_generator.rb'
Naming/AccessorMethodName:
Exclude:
- 'lib/cybele/generators/app_generator.rb'
Metrics/MethodLength:
CountComments: false
Max: 15
Metrics/BlockLength:
CountComments: false
Max: 40
Exclude:
- 'Rakefile'
- '**/*.rake'
- 'spec/**/*.rb'
- 'lib/cybele/app_builder.rb'
- 'lib/cybele/generators/app_generator.rb'
Style/FrozenStringLiteralComment:
EnforcedStyle: when_needed
Exclude:
- 'templates/error_pages/**/*.rb'
Layout/IndentHeredoc:
Exclude:
- 'spec/features/cli_help_spec.rb'
Naming/HeredocDelimiterNaming:
Exclude:
- 'spec/features/cli_help_spec.rb'
- 'spec/features/git_and_git_flow_spec.rb'
Layout/InitialIndentation:
Exclude:
- 'templates/error_pages/**/*.rb'
Style/ClassAndModuleChildren:
Exclude:
- 'templates/app_files/app/controllers/**/*.rb'