|
1 | 1 | # This configuration was generated by |
2 | 2 | # `rubocop --auto-gen-config` |
3 | | -# on 2017-12-22 12:38:29 -0600 using RuboCop version 0.49.1. |
| 3 | +# on 2018-05-24 10:21:33 -0500 using RuboCop version 0.56.0. |
4 | 4 | # The point is for the user to remove these configuration records |
5 | 5 | # one by one as the offenses are removed from the code base. |
6 | 6 | # Note that changes in the inspected code, or installation of new |
7 | 7 | # versions of RuboCop, may require this file to be generated again. |
8 | 8 |
|
9 | 9 | # Offense count: 2 |
10 | 10 | # Cop supports --auto-correct. |
11 | | -# Configuration parameters: SupportedStyles, IndentationWidth. |
12 | | -# SupportedStyles: outdent, indent |
13 | | -Layout/AccessModifierIndentation: |
14 | | - EnforcedStyle: outdent |
15 | | - |
16 | | -# Offense count: 1 |
17 | | -# Cop supports --auto-correct. |
18 | | -Layout/ElseAlignment: |
| 11 | +# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. |
| 12 | +Lint/UnusedMethodArgument: |
19 | 13 | Exclude: |
20 | | - - 'lib/drip/response.rb' |
| 14 | + - 'lib/drip/client.rb' |
| 15 | + - 'lib/drip/collection.rb' |
21 | 16 |
|
22 | 17 | # Offense count: 1 |
23 | | -# Cop supports --auto-correct. |
24 | | -Layout/EmptyLineAfterMagicComment: |
25 | | - Exclude: |
26 | | - - 'drip-ruby.gemspec' |
| 18 | +Metrics/AbcSize: |
| 19 | + Max: 26 |
27 | 20 |
|
28 | | -# Offense count: 2 |
29 | | -# Cop supports --auto-correct. |
30 | | -# Configuration parameters: SupportedStyles, IndentationWidth. |
31 | | -# SupportedStyles: special_inside_parentheses, consistent, align_braces |
32 | | -Layout/IndentHash: |
33 | | - EnforcedStyle: consistent |
| 21 | +# Offense count: 5 |
| 22 | +# Configuration parameters: CountComments, ExcludedMethods. |
| 23 | +Metrics/BlockLength: |
| 24 | + Max: 46 |
| 25 | + |
| 26 | +# Offense count: 3 |
| 27 | +# Configuration parameters: CountComments. |
| 28 | +Metrics/ClassLength: |
| 29 | + Max: 173 |
| 30 | + |
| 31 | +# Offense count: 4 |
| 32 | +# Configuration parameters: CountComments. |
| 33 | +Metrics/MethodLength: |
| 34 | + Max: 26 |
34 | 35 |
|
35 | 36 | # Offense count: 1 |
| 37 | +Metrics/PerceivedComplexity: |
| 38 | + Max: 8 |
| 39 | + |
| 40 | +# Offense count: 4 |
36 | 41 | # Cop supports --auto-correct. |
37 | | -# Configuration parameters: Width, IgnoredPatterns. |
38 | | -Layout/IndentationWidth: |
| 42 | +Performance/InefficientHashSearch: |
39 | 43 | Exclude: |
| 44 | + - 'lib/drip/resource.rb' |
40 | 45 | - 'lib/drip/response.rb' |
41 | 46 |
|
42 | | -# Offense count: 1 |
| 47 | +# Offense count: 23 |
43 | 48 | # Cop supports --auto-correct. |
44 | | -# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. |
45 | | -# SupportedStyles: aligned, indented, indented_relative_to_receiver |
46 | | -Layout/MultilineMethodCallIndentation: |
47 | | - Exclude: |
48 | | - - 'lib/drip/collection.rb' |
| 49 | +# Configuration parameters: AutoCorrect, EnforcedStyle. |
| 50 | +# SupportedStyles: nested, compact |
| 51 | +Style/ClassAndModuleChildren: |
| 52 | + Enabled: false |
| 53 | + |
| 54 | +# Offense count: 45 |
| 55 | +Style/Documentation: |
| 56 | + Enabled: false |
49 | 57 |
|
50 | 58 | # Offense count: 1 |
51 | 59 | # Cop supports --auto-correct. |
52 | | -# Configuration parameters: EnforcedStyleAlignWith, SupportedStylesAlignWith, AutoCorrect. |
53 | | -# SupportedStylesAlignWith: keyword, variable, start_of_line |
54 | | -Lint/EndAlignment: |
| 60 | +Style/Encoding: |
55 | 61 | Exclude: |
56 | | - - 'lib/drip/response.rb' |
| 62 | + - 'drip-ruby.gemspec' |
57 | 63 |
|
58 | | -# Offense count: 1 |
59 | | -Lint/ScriptPermission: |
| 64 | +# Offense count: 2 |
| 65 | +# Cop supports --auto-correct. |
| 66 | +Style/ExpandPathArguments: |
60 | 67 | Exclude: |
61 | | - - 'Rakefile' |
| 68 | + - 'drip-ruby.gemspec' |
| 69 | + - 'test/test_helper.rb' |
62 | 70 |
|
63 | 71 | # Offense count: 1 |
64 | | -# Cop supports --auto-correct. |
65 | | -# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. |
66 | | -Lint/UnusedBlockArgument: |
| 72 | +# Configuration parameters: MinBodyLength. |
| 73 | +Style/GuardClause: |
67 | 74 | Exclude: |
68 | | - - 'lib/drip/response.rb' |
| 75 | + - 'lib/drip/client.rb' |
69 | 76 |
|
70 | 77 | # Offense count: 2 |
71 | 78 | # Cop supports --auto-correct. |
72 | | -# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. |
73 | | -Lint/UnusedMethodArgument: |
| 79 | +Style/IfUnlessModifier: |
74 | 80 | Exclude: |
75 | 81 | - 'lib/drip/client.rb' |
76 | | - - 'lib/drip/collection.rb' |
77 | | - |
78 | | -# Offense count: 7 |
79 | | -# Configuration parameters: CountComments, ExcludedMethods. |
80 | | -Metrics/BlockLength: |
81 | | - Max: 48 |
82 | 82 |
|
83 | 83 | # Offense count: 2 |
84 | | -# Configuration parameters: CountComments. |
85 | | -Metrics/ClassLength: |
86 | | - Max: 189 |
87 | | - |
88 | | -# Offense count: 78 |
89 | | -# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. |
90 | | -# URISchemes: http, https |
91 | | -Metrics/LineLength: |
92 | | - Max: 108 |
93 | | - |
94 | | -# Offense count: 4 |
95 | | -# Configuration parameters: CountComments. |
96 | | -Metrics/MethodLength: |
97 | | - Max: 16 |
98 | | - |
99 | | -# Offense count: 22 |
100 | | -# Configuration parameters: EnforcedStyle, SupportedStyles. |
101 | | -# SupportedStyles: nested, compact |
102 | | -Style/ClassAndModuleChildren: |
103 | | - Enabled: false |
104 | | - |
105 | | -# Offense count: 42 |
106 | | -Style/Documentation: |
107 | | - Enabled: false |
108 | | - |
109 | | -# Offense count: 2 |
110 | | -Style/MethodMissing: |
| 84 | +Style/MissingRespondToMissing: |
111 | 85 | Exclude: |
112 | 86 | - 'lib/drip/resource.rb' |
113 | 87 | - 'lib/drip/response.rb' |
114 | 88 |
|
115 | | -# Offense count: 9 |
| 89 | +# Offense count: 10 |
116 | 90 | # Cop supports --auto-correct. |
117 | 91 | # Configuration parameters: Strict. |
118 | 92 | Style/NumericLiterals: |
119 | 93 | MinDigits: 8 |
120 | 94 |
|
121 | | -# Offense count: 494 |
| 95 | +# Offense count: 605 |
122 | 96 | # Cop supports --auto-correct. |
123 | | -# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. |
| 97 | +# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. |
124 | 98 | # SupportedStyles: single_quotes, double_quotes |
125 | 99 | Style/StringLiterals: |
126 | 100 | Enabled: false |
127 | | - |
128 | | -# Offense count: 1 |
129 | | -# Cop supports --auto-correct. |
130 | | -# Configuration parameters: EnforcedStyle, SupportedStyles. |
131 | | -# SupportedStyles: single_quotes, double_quotes |
132 | | -Style/StringLiteralsInInterpolation: |
133 | | - Exclude: |
134 | | - - 'test/drip/client_test.rb' |
0 commit comments