# This configuration was generated by # `rubocop --auto-gen-config` # on 2015-09-18 15:56:53 -0400 using RuboCop version 0.34.1. # 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: 1 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'lib/mongoid/full_text_search.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AlignWith, SupportedStyles, AutoCorrect. Lint/EndAlignment: Enabled: false # Offense count: 2 Lint/HandleExceptions: Exclude: - 'lib/mongoid/full_text_search.rb' - 'spec/mongoid/full_text_search_spec.rb' # Offense count: 1 Lint/NonLocalExitFromIterator: Exclude: - 'lib/mongoid/full_text_search.rb' # Offense count: 4 Lint/UselessAssignment: Exclude: - 'spec/mongoid/full_text_search_spec.rb' # Offense count: 5 Metrics/AbcSize: Max: 106 # Offense count: 4 Metrics/CyclomaticComplexity: Max: 22 # Offense count: 262 # Configuration parameters: AllowURI, URISchemes. Metrics/LineLength: Max: 174 # Offense count: 5 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 50 # Offense count: 1 # Configuration parameters: CountComments. Metrics/ModuleLength: Max: 224 # Offense count: 4 Metrics/PerceivedComplexity: Max: 25 # Offense count: 1 Style/AsciiComments: Exclude: - 'spec/mongoid/full_text_search_spec.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/ClassAndModuleChildren: Exclude: - 'lib/mongoid/full_text_search.rb' # Offense count: 1 Style/ConstantName: Exclude: - 'spec/models/russian_artwork.rb' # Offense count: 22 Style/Documentation: Enabled: false # Offense count: 3 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/FormatString: Exclude: - 'lib/mongoid/full_text_search.rb' - 'spec/models/external_artwork_no_fields_supplied.rb' # Offense count: 2 Style/MultilineBlockChain: Exclude: - 'lib/mongoid/full_text_search.rb' # Offense count: 4 # Configuration parameters: Methods. Style/SingleLineBlockParams: Exclude: - 'lib/mongoid/full_text_search.rb' - 'spec/mongoid/full_text_search_spec.rb'