# This configuration was generated by # `rubocop --auto-gen-config` # on 2017-07-21 13:18:24 -0500 using RuboCop version 0.49.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: 26 # Cop supports --auto-correct. # Configuration parameters: SupportedStyles, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_brackets Layout/IndentArray: EnforcedStyle: consistent # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: aligned, indented, indented_relative_to_receiver Layout/MultilineMethodCallIndentation: Exclude: - 'spec/integration/pg_search_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/SpaceAfterComma: Exclude: - 'lib/pg_search/configuration.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Exclude: - 'lib/pg_search/multisearch.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: space, no_space Layout/SpaceBeforeBlockBraces: Exclude: - 'lib/pg_search/features/tsearch.rb' - 'spec/integration/pg_search_spec.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideBlockBraces: Exclude: - 'lib/pg_search/features/tsearch.rb' - 'spec/integration/pg_search_spec.rb' - 'spec/lib/pg_search_spec.rb' # Offense count: 86 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: - 'lib/pg_search.rb' - 'lib/pg_search/configuration.rb' - 'lib/pg_search/document.rb' - 'spec/integration/associations_spec.rb' - 'spec/integration/pg_search_spec.rb' - 'spec/lib/pg_search/configuration/association_spec.rb' - 'spec/lib/pg_search/configuration/foreign_column_spec.rb' - 'spec/lib/pg_search/features/tsearch_spec.rb' - 'spec/lib/pg_search/multisearchable_spec.rb' - 'spec/lib/pg_search_spec.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: final_newline, final_blank_line Layout/TrailingBlankLines: Exclude: - 'Guardfile' - 'lib/pg_search/migration/multisearch_generator.rb' - 'lib/pg_search/multisearch.rb' - 'spec/integration/single_table_inheritance_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Performance/Casecmp: Exclude: - 'spec/support/database.rb' # Offense count: 27 Style/Documentation: Enabled: false # Offense count: 1 Style/IfInsideElse: Exclude: - 'lib/pg_search/multisearchable.rb' # Offense count: 2 # Cop supports --auto-correct. Style/MutableConstant: Exclude: - 'lib/pg_search/configuration.rb' - 'lib/pg_search/scope_options.rb' # Offense count: 1 # Cop supports --auto-correct. Style/PerlBackrefs: Exclude: - 'lib/pg_search/scope_options.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: compact, exploded Style/RaiseArgs: Exclude: - 'lib/pg_search.rb' - 'lib/pg_search/multisearch/rebuilder.rb' - 'lib/pg_search/scope_options.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Exclude: - 'lib/pg_search/scope_options.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. # IgnoredMethods: respond_to, define_method Style/SymbolProc: Exclude: - 'lib/pg_search/features/feature.rb' - 'lib/pg_search/multisearch/rebuilder.rb' # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInLiteral: Exclude: - 'spec/integration/pg_search_spec.rb' - 'spec/lib/pg_search/features/dmetaphone_spec.rb' - 'spec/lib/pg_search/features/tsearch_spec.rb' # Offense count: 2 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'pg_search.gemspec' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: SupportedStyles, WordRegex. # SupportedStyles: percent, brackets Style/WordArray: EnforcedStyle: percent MinSize: 3