-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.rubocop_todo.yml
100 lines (84 loc) · 2.42 KB
/
.rubocop_todo.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-02-10 17:38:44 +0100 using RuboCop version 0.37.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 3
Lint/AmbiguousRegexpLiteral:
Exclude:
- 'spec/features/new_project_spec.rb'
# Offense count: 1
Lint/DuplicateMethods:
Exclude:
- 'lib/onotole/generators/app_generator.rb'
# Offense count: 1
Lint/ParenthesesAsGroupedExpression:
Exclude:
- 'spec/spec_helper.rb'
# Offense count: 1
Lint/UnreachableCode:
Exclude:
- 'lib/onotole/app_builder.rb'
# Offense count: 3
Lint/UselessAssignment:
Exclude:
- 'lib/onotole/add_user_gems/after_install_patch.rb'
# Offense count: 1
Metrics/AbcSize:
Max: 27
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 537
# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 8
# Offense count: 1
Metrics/PerceivedComplexity:
Max: 9
# Offense count: 1
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: strict, flexible
Rails/Date:
Exclude:
- 'onotole.gemspec'
# Offense count: 1
# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
Rails/Output:
Exclude:
- 'lib/onotole/adapters/heroku.rb'
# Offense count: 1
Style/AccessorMethodName:
Exclude:
- 'lib/onotole/generators/app_generator.rb'
# Offense count: 1
Style/AutoResourceCleanup:
Exclude:
- 'spec/support/fake_heroku.rb'
# Offense count: 5
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/onotole/app_builder.rb'
- 'lib/onotole/generators/app_generator.rb'
- 'spec/support/onotole.rb'
# Offense count: 6
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Style/PredicateName:
Exclude:
- 'spec/adapters/heroku_spec.rb'
- 'spec/support/fake_github.rb'
- 'spec/support/fake_heroku.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Exclude:
- 'lib/onotole/app_builder.rb'