|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2018-05-16 14:33:11 -0300 using RuboCop version 0.54.0. |
| 4 | +# The point is for the user to remove these configuration records |
| 5 | +# one by one as the offenses are removed from the code base. |
| 6 | +# Note that changes in the inspected code, or installation of new |
| 7 | +# versions of RuboCop, may require this file to be generated again. |
| 8 | + |
| 9 | +# Offense count: 2 |
| 10 | +# Configuration parameters: Include. |
| 11 | +# Include: **/*.gemfile, **/Gemfile, **/gems.rb |
| 12 | +Bundler/DuplicatedGem: |
| 13 | + Exclude: |
| 14 | + - 'Gemfile' |
| 15 | + |
| 16 | +# Offense count: 1 |
| 17 | +Lint/IneffectiveAccessModifier: |
| 18 | + Exclude: |
| 19 | + - 'lib/her/api.rb' |
| 20 | + |
| 21 | +# Offense count: 6 |
| 22 | +# Cop supports --auto-correct. |
| 23 | +# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. |
| 24 | +Lint/UnusedMethodArgument: |
| 25 | + Exclude: |
| 26 | + - 'lib/her/api.rb' |
| 27 | + - 'lib/her/model/associations/association.rb' |
| 28 | + - 'lib/her/model/attributes.rb' |
| 29 | + - 'lib/her/model/orm.rb' |
| 30 | + - 'spec/model/attributes_spec.rb' |
| 31 | + |
| 32 | +# Offense count: 1 |
| 33 | +# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods. |
| 34 | +Lint/UselessAccessModifier: |
| 35 | + Exclude: |
| 36 | + - 'lib/her/api.rb' |
| 37 | + |
| 38 | +# Offense count: 10 |
| 39 | +Metrics/AbcSize: |
| 40 | + Max: 38 |
| 41 | + |
| 42 | +# Offense count: 91 |
| 43 | +# Configuration parameters: CountComments, ExcludedMethods. |
| 44 | +Metrics/BlockLength: |
| 45 | + Max: 694 |
| 46 | + |
| 47 | +# Offense count: 4 |
| 48 | +Metrics/CyclomaticComplexity: |
| 49 | + Max: 12 |
| 50 | + |
| 51 | +# Offense count: 10 |
| 52 | +# Configuration parameters: CountComments. |
| 53 | +Metrics/MethodLength: |
| 54 | + Max: 28 |
| 55 | + |
| 56 | +# Offense count: 1 |
| 57 | +# Configuration parameters: CountComments. |
| 58 | +Metrics/ModuleLength: |
| 59 | + Max: 106 |
| 60 | + |
| 61 | +# Offense count: 4 |
| 62 | +Metrics/PerceivedComplexity: |
| 63 | + Max: 12 |
| 64 | + |
| 65 | +# Offense count: 4 |
| 66 | +Naming/MemoizedInstanceVariableName: |
| 67 | + Exclude: |
| 68 | + - 'lib/her/model/associations.rb' |
| 69 | + - 'lib/her/model/attributes.rb' |
| 70 | + - 'lib/her/model/relation.rb' |
| 71 | + |
| 72 | +# Offense count: 7 |
| 73 | +# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros. |
| 74 | +# NamePrefix: is_, has_, have_ |
| 75 | +# NamePrefixBlacklist: is_, has_, have_ |
| 76 | +# NameWhitelist: is_a? |
| 77 | +# MethodDefinitionMacros: define_method, define_singleton_method |
| 78 | +Naming/PredicateName: |
| 79 | + Exclude: |
| 80 | + - 'spec/**/*' |
| 81 | + - 'lib/her/model/associations.rb' |
| 82 | + - 'lib/her/model/attributes.rb' |
| 83 | + - 'lib/her/model/base.rb' |
| 84 | + - 'lib/her/model/deprecated_methods.rb' |
| 85 | + |
| 86 | +# Offense count: 1 |
| 87 | +# Cop supports --auto-correct. |
| 88 | +Performance/RegexpMatch: |
| 89 | + Exclude: |
| 90 | + - 'spec/support/macros/model_macros.rb' |
| 91 | + |
| 92 | +# Offense count: 23 |
| 93 | +Style/Documentation: |
| 94 | + Enabled: false |
| 95 | + |
| 96 | +# Offense count: 21 |
| 97 | +# Cop supports --auto-correct. |
| 98 | +Style/Encoding: |
| 99 | + Enabled: false |
| 100 | + |
| 101 | +# Offense count: 2 |
| 102 | +# Cop supports --auto-correct. |
| 103 | +Style/ExpandPathArguments: |
| 104 | + Exclude: |
| 105 | + - 'her.gemspec' |
| 106 | + - 'spec/spec_helper.rb' |
| 107 | + |
| 108 | +# Offense count: 59 |
| 109 | +# Cop supports --auto-correct. |
| 110 | +# Configuration parameters: EnforcedStyle. |
| 111 | +# SupportedStyles: when_needed, always, never |
| 112 | +Style/FrozenStringLiteralComment: |
| 113 | + Enabled: false |
| 114 | + |
| 115 | +# Offense count: 89 |
| 116 | +# Cop supports --auto-correct. |
| 117 | +# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. |
| 118 | +# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys |
| 119 | +Style/HashSyntax: |
| 120 | + Enabled: false |
| 121 | + |
| 122 | +# Offense count: 6 |
| 123 | +# Cop supports --auto-correct. |
| 124 | +Style/IfUnlessModifier: |
| 125 | + Exclude: |
| 126 | + - 'lib/her/json_api/model.rb' |
| 127 | + - 'lib/her/model/associations/association_proxy.rb' |
| 128 | + - 'lib/her/model/nested_attributes.rb' |
| 129 | + - 'lib/her/model/orm.rb' |
| 130 | + - 'lib/her/model/parse.rb' |
| 131 | + |
| 132 | +# Offense count: 2 |
| 133 | +Style/MethodMissing: |
| 134 | + Exclude: |
| 135 | + - 'lib/her/model/associations/association_proxy.rb' |
| 136 | + - 'lib/her/model/relation.rb' |
| 137 | + |
| 138 | +# Offense count: 2 |
| 139 | +# Cop supports --auto-correct. |
| 140 | +Style/MutableConstant: |
| 141 | + Exclude: |
| 142 | + - 'lib/her/model/http.rb' |
| 143 | + - 'lib/her/version.rb' |
| 144 | + |
| 145 | +# Offense count: 3 |
| 146 | +# Cop supports --auto-correct. |
| 147 | +Style/PerlBackrefs: |
| 148 | + Exclude: |
| 149 | + - 'lib/her/model/paths.rb' |
| 150 | + |
| 151 | +# Offense count: 1 |
| 152 | +# Cop supports --auto-correct. |
| 153 | +# Configuration parameters: EnforcedStyle, AllowInnerSlashes. |
| 154 | +# SupportedStyles: slashes, percent_r, mixed |
| 155 | +Style/RegexpLiteral: |
| 156 | + Exclude: |
| 157 | + - 'lib/her/model/paths.rb' |
| 158 | + |
| 159 | +# Offense count: 1 |
| 160 | +# Cop supports --auto-correct. |
| 161 | +# Configuration parameters: ConvertCodeThatCanStartToReturnNil, Whitelist. |
| 162 | +# Whitelist: present?, blank?, presence, try |
| 163 | +Style/SafeNavigation: |
| 164 | + Exclude: |
| 165 | + - 'spec/model/orm_spec.rb' |
| 166 | + |
| 167 | +# Offense count: 1 |
| 168 | +# Cop supports --auto-correct. |
| 169 | +# Configuration parameters: EnforcedStyle. |
| 170 | +# SupportedStyles: use_perl_names, use_english_names |
| 171 | +Style/SpecialGlobalVars: |
| 172 | + Exclude: |
| 173 | + - 'her.gemspec' |
| 174 | + |
| 175 | +# Offense count: 1613 |
| 176 | +# Cop supports --auto-correct. |
| 177 | +# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. |
| 178 | +# SupportedStyles: single_quotes, double_quotes |
| 179 | +Style/StringLiterals: |
| 180 | + Enabled: false |
| 181 | + |
| 182 | +# Offense count: 1 |
| 183 | +# Cop supports --auto-correct. |
| 184 | +# Configuration parameters: EnforcedStyle. |
| 185 | +# SupportedStyles: single_quotes, double_quotes |
| 186 | +Style/StringLiteralsInInterpolation: |
| 187 | + Exclude: |
| 188 | + - 'lib/her/model/introspection.rb' |
| 189 | + |
| 190 | +# Offense count: 1 |
| 191 | +# Cop supports --auto-correct. |
| 192 | +# Configuration parameters: IgnoredMethods. |
| 193 | +# IgnoredMethods: respond_to, define_method |
| 194 | +Style/SymbolProc: |
| 195 | + Exclude: |
| 196 | + - 'lib/her/model/parse.rb' |
| 197 | + |
| 198 | +# Offense count: 2 |
| 199 | +# Cop supports --auto-correct. |
| 200 | +# Configuration parameters: EnforcedStyle, AllowSafeAssignment. |
| 201 | +# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex |
| 202 | +Style/TernaryParentheses: |
| 203 | + Exclude: |
| 204 | + - 'lib/her/model/http.rb' |
| 205 | + - 'lib/her/model/orm.rb' |
| 206 | + |
| 207 | +# Offense count: 1 |
| 208 | +# Cop supports --auto-correct. |
| 209 | +# Configuration parameters: EnforcedStyleForMultiline. |
| 210 | +# SupportedStylesForMultiline: comma, consistent_comma, no_comma |
| 211 | +Style/TrailingCommaInHashLiteral: |
| 212 | + Exclude: |
| 213 | + - 'lib/her/middleware/json_api_parser.rb' |
| 214 | + |
| 215 | +# Offense count: 6 |
| 216 | +# Cop supports --auto-correct. |
| 217 | +# Configuration parameters: EnforcedStyle, MinSize, WordRegex. |
| 218 | +# SupportedStyles: percent, brackets |
| 219 | +Style/WordArray: |
| 220 | + Exclude: |
| 221 | + - 'spec/model/orm_spec.rb' |
| 222 | + |
| 223 | +# Offense count: 409 |
| 224 | +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. |
| 225 | +# URISchemes: http, https |
| 226 | +Metrics/LineLength: |
| 227 | + Max: 377 |
0 commit comments