# This configuration was generated by # `rubocop --auto-gen-config` # on 2018-09-01 16:46:40 +0300 using RuboCop version 0.58.2. # 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: 6 # Configuration parameters: Include. # Include: **/*.gemfile, **/Gemfile, **/gems.rb Bundler/DuplicatedGem: Exclude: - 'Gemfile' # Offense count: 2 Metrics/AbcSize: Max: 20 # Offense count: 5 # Configuration parameters: CountComments, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: Max: 493 # Offense count: 2 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 25 # Offense count: 1 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros. # NamePrefix: is_, has_, have_ # NamePrefixBlacklist: is_, has_, have_ # NameWhitelist: is_a? # MethodDefinitionMacros: define_method, define_singleton_method Naming/PredicateName: Exclude: - 'spec/**/*' - 'lib/mongoid/locker.rb' # Offense count: 2 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/mongoid/locker.rb' # Offense count: 2 Style/DoubleNegation: Exclude: - 'lib/mongoid/locker.rb' # Offense count: 1 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/mongoid/locker.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: . # SupportedStyles: compact, exploded Style/RaiseArgs: EnforcedStyle: compact # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: MinSize. # SupportedStyles: percent, brackets Style/SymbolArray: EnforcedStyle: brackets # Offense count: 63 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 184