Skip to content

Commit 2e73ecb

Browse files
authored
Merge pull request #461 from will-in-wi/initial-rubocop
Pull in main Capistrano rubocop config and generate todo file
2 parents e51a7ef + 9095cb3 commit 2e73ecb

File tree

2 files changed

+700
-0
lines changed

2 files changed

+700
-0
lines changed

.rubocop.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
inherit_from: .rubocop_todo.yml
2+
3+
AllCops:
4+
DisplayCopNames: true
5+
DisplayStyleGuide: true
6+
TargetRubyVersion: 2.0
7+
8+
Lint/AmbiguousBlockAssociation:
9+
Enabled:
10+
false
11+
Metrics/BlockLength:
12+
Exclude:
13+
- "spec/**/*"
14+
- "lib/**/*.rake"
15+
Style/BarePercentLiterals:
16+
EnforcedStyle: percent_q
17+
Style/ClassAndModuleChildren:
18+
Enabled: false
19+
Style/DoubleNegation:
20+
Enabled: false
21+
Style/FileName:
22+
Exclude:
23+
- "Dangerfile"
24+
Style/IndentHeredoc:
25+
Enabled: false
26+
Style/SpaceAroundEqualsInParameterDefault:
27+
EnforcedStyle: no_space
28+
Style/StringLiterals:
29+
EnforcedStyle: double_quotes
30+
Style/TrivialAccessors:
31+
AllowPredicates: true
32+
Style/PercentLiteralDelimiters:
33+
Enabled: false
34+
Style/SingleLineBlockParams:
35+
Enabled: false
36+
Style/ModuleFunction:
37+
Enabled: false
38+
39+
# Enable someday
40+
Style/Documentation:
41+
Enabled: false
42+
43+
# Needs refactors
44+
Metrics/PerceivedComplexity:
45+
Enabled: false
46+
Metrics/CyclomaticComplexity:
47+
Enabled: false
48+
Metrics/MethodLength:
49+
Enabled: false
50+
Style/PredicateName:
51+
Enabled: false
52+
Metrics/LineLength:
53+
Enabled: false
54+
Metrics/AbcSize:
55+
Enabled: false
56+
Style/PerlBackrefs:
57+
Enabled: false
58+
Metrics/ClassLength:
59+
Enabled: false
60+
Metrics/ModuleLength:
61+
Enabled: false
62+
Style/AccessorMethodName:
63+
Enabled: false

0 commit comments

Comments
 (0)