|
1 |
| ---- |
| 1 | +inherit_from: .rubocop_todo.yml |
| 2 | + |
| 3 | +require: rubocop-jekyll |
| 4 | +inherit_gem: |
| 5 | + rubocop-jekyll: .rubocop.yml |
| 6 | + |
2 | 7 | AllCops:
|
3 |
| - TargetRubyVersion: 2.3 |
| 8 | + TargetRubyVersion: 2.4 |
4 | 9 | Exclude:
|
5 | 10 | - vendor/**/*
|
6 |
| - |
7 |
| -Layout/AlignArray: |
8 |
| - Enabled: false |
9 |
| -Layout/AlignHash: |
10 |
| - EnforcedHashRocketStyle: table |
11 |
| -Layout/AlignParameters: |
12 |
| - Enabled: false |
13 |
| -Layout/EmptyLinesAroundAccessModifier: |
14 |
| - Enabled: false |
15 |
| -Layout/EmptyLinesAroundModuleBody: |
16 |
| - Enabled: false |
17 |
| -Layout/EndOfLine: |
18 |
| - EnforcedStyle: native |
19 |
| -Layout/ExtraSpacing: |
20 |
| - AllowForAlignment: true |
21 |
| -Layout/FirstParameterIndentation: |
22 |
| - EnforcedStyle: consistent |
23 |
| -Layout/IndentationWidth: |
24 |
| - Severity: error |
25 |
| -Layout/IndentArray: |
26 |
| - EnforcedStyle: consistent |
27 |
| -Layout/IndentHash: |
28 |
| - EnforcedStyle: consistent |
29 |
| -Layout/IndentHeredoc: |
30 |
| - Enabled: false |
31 |
| - Exclude: |
32 |
| - - spec/**/* |
33 |
| -Layout/MultilineMethodCallIndentation: |
34 |
| - EnforcedStyle: indented |
35 |
| -Layout/MultilineOperationIndentation: |
36 |
| - EnforcedStyle: indented |
37 |
| -Layout/SpaceAroundOperators: |
38 |
| - Enabled: true |
39 |
| -Lint/AssignmentInCondition: |
40 |
| - Exclude: |
41 |
| - - lib/mercenary/command.rb |
42 |
| - - lib/mercenary/option.rb |
43 |
| - - lib/mercenary/presenter.rb |
44 |
| -Lint/DuplicateMethods: |
45 |
| - Exclude: |
46 |
| - - lib/mercenary/command.rb |
47 |
| -Layout/EndAlignment: |
48 |
| - Severity: error |
49 |
| -Lint/HandleExceptions: |
50 |
| - Exclude: |
51 |
| - - lib/mercenary/option.rb |
52 |
| -Style/RescueStandardError: |
53 |
| - Exclude: |
54 |
| - - lib/mercenary/program.rb |
55 |
| -Lint/UselessAssignment: |
56 |
| - Exclude: |
57 |
| - - lib/mercenary/presenter.rb |
58 |
| -Lint/UnreachableCode: |
59 |
| - Severity: error |
60 |
| -Lint/UselessAccessModifier: |
61 |
| - Enabled: false |
62 |
| -Lint/Void: |
63 |
| - Enabled: false |
64 |
| -Metrics/AbcSize: |
65 |
| - Max: 21 |
66 |
| - Exclude: |
67 |
| - - lib/mercenary/program.rb |
68 |
| -Metrics/BlockLength: |
69 |
| - Exclude: |
70 |
| - - examples/**/* |
71 |
| - - spec/**/* |
72 |
| -Metrics/ClassLength: |
73 |
| - Max: 300 |
74 |
| -Metrics/CyclomaticComplexity: |
75 |
| - Max: 9 |
76 |
| -Metrics/LineLength: |
77 |
| - Exclude: |
78 |
| - - lib/mercenary/command.rb |
79 |
| - - lib/mercenary/presenter.rb |
80 |
| - - lib/mercenary/program.rb |
81 |
| - - examples/**/* |
82 |
| - - spec/**/* |
83 |
| - - mercenary.gemspec |
84 |
| - Max: 90 |
85 |
| - Severity: warning |
86 |
| -Metrics/MethodLength: |
87 |
| - Exclude: |
88 |
| - - lib/mercenary/program.rb |
89 |
| - CountComments: false |
90 |
| - Max: 20 |
91 |
| - Severity: error |
92 |
| -Metrics/ModuleLength: |
93 |
| - Max: 240 |
94 |
| -Metrics/ParameterLists: |
95 |
| - Max: 4 |
96 |
| -Metrics/PerceivedComplexity: |
97 |
| - Max: 8 |
98 |
| -Naming/FileName: |
99 |
| - Enabled: false |
100 |
| -Naming/HeredocDelimiterNaming: |
101 |
| - Enabled: false |
102 |
| -Naming/PredicateName: |
103 |
| - Exclude: |
104 |
| - - lib/mercenary/command.rb |
105 |
| -Style/Alias: |
106 |
| - Enabled: false |
107 |
| -Style/AndOr: |
108 |
| - Severity: error |
109 |
| -Style/Attr: |
110 |
| - Enabled: false |
111 |
| -Style/BracesAroundHashParameters: |
112 |
| - Enabled: false |
113 |
| -Style/ClassAndModuleChildren: |
114 |
| - Enabled: false |
115 |
| -Style/FrozenStringLiteralComment: |
116 |
| - Exclude: |
117 |
| - - lib/mercenary/command.rb |
118 |
| - Enabled: true |
119 |
| - EnforcedStyle: always |
120 |
| -Style/Documentation: |
121 |
| - Enabled: false |
122 |
| -Style/DoubleNegation: |
123 |
| - Enabled: false |
124 |
| -Style/GuardClause: |
125 |
| - Enabled: false |
126 |
| -Style/HashSyntax: |
127 |
| - EnforcedStyle: hash_rockets |
128 |
| - Severity: error |
129 |
| -Style/IfUnlessModifier: |
130 |
| - Enabled: false |
131 |
| -Style/InverseMethods: |
132 |
| - Enabled: false |
133 |
| -Style/MissingRespondToMissing: |
134 |
| - Exclude: |
135 |
| - - lib/mercenary/presenter.rb |
136 |
| -Style/ModuleFunction: |
137 |
| - Enabled: false |
138 |
| -Style/MultilineTernaryOperator: |
139 |
| - Severity: error |
140 |
| -Style/PercentLiteralDelimiters: |
141 |
| - PreferredDelimiters: |
142 |
| - "%q": "{}" |
143 |
| - "%Q": "{}" |
144 |
| - "%r": "!!" |
145 |
| - "%s": "()" |
146 |
| - "%w": "()" |
147 |
| - "%W": "()" |
148 |
| - "%x": "()" |
149 |
| -Style/RedundantReturn: |
150 |
| - Enabled: false |
151 |
| -Style/RedundantSelf: |
152 |
| - Enabled: false |
153 |
| -Style/RegexpLiteral: |
154 |
| - EnforcedStyle: percent_r |
155 |
| -Style/RescueModifier: |
156 |
| - Enabled: false |
157 |
| -Style/SignalException: |
158 |
| - EnforcedStyle: only_raise |
159 |
| -Style/SingleLineMethods: |
160 |
| - Enabled: false |
161 |
| -Style/StringLiterals: |
162 |
| - EnforcedStyle: double_quotes |
163 |
| -Style/StringLiteralsInInterpolation: |
164 |
| - EnforcedStyle: double_quotes |
165 |
| -Style/SymbolArray: |
166 |
| - Enabled: false |
167 |
| -Style/TrailingCommaInArrayLiteral: |
168 |
| - EnforcedStyleForMultiline: consistent_comma |
169 |
| -Style/TrailingCommaInHashLiteral: |
170 |
| - EnforcedStyleForMultiline: consistent_comma |
171 |
| -Style/UnneededCapitalW: |
172 |
| - Enabled: false |
0 commit comments