# This configuration was generated by # `rubocop --auto-gen-config` # on 2018-03-17 16:23:14 +0100 using RuboCop version 0.53.0. # 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 # Cop supports --auto-correct. Layout/CommentIndentation: Exclude: - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/EmptyLines: Exclude: - 'spec/trailblazer/operation/finder_spec.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, no_empty_lines Layout/EmptyLinesAroundBlockBody: Exclude: - 'spec/trailblazer/finder/adapters/active_record/sorting_spec.rb' - 'spec/trailblazer/finder/features/sorting_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines Layout/EmptyLinesAroundModuleBody: Exclude: - 'lib/trailblazer/finder/adapters/sequel/predicates.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle. # SupportedStyles: native, lf, crlf Layout/EndOfLine: Exclude: - 'lib/trailblazer/finder/adapters/data_mapper/predicates.rb' - 'spec/trailblazer/finder/adapters/data_mapper/predicates_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: normal, rails Layout/IndentationConsistency: Exclude: - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Exclude: - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/SpaceAroundKeyword: Exclude: - 'spec/trailblazer/finder/features/predicates_spec.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Layout/SpaceAroundOperators: Exclude: - 'spec/trailblazer/finder/features/predicates_spec.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceBeforeBlockBraces: Exclude: - 'lib/trailblazer/finder/adapters/sequel/predicates.rb' # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideBlockBraces: Exclude: - 'lib/trailblazer/finder/adapters/sequel/predicates.rb' # Offense count: 4 # Cop supports --auto-correct. Layout/SpaceInsideParens: Exclude: - 'lib/trailblazer/finder/utils/splitter.rb' # Offense count: 3 # Cop supports --auto-correct. Layout/TrailingWhitespace: Exclude: - 'lib/trailblazer/finder/filter.rb' - 'spec/trailblazer/finder/adapters/active_record/base_spec.rb' # Offense count: 1 Lint/DuplicateMethods: Exclude: - 'lib/trailblazer/finder/utils/splitter.rb' # Offense count: 1 Lint/NestedMethodDefinition: Exclude: - 'spec/trailblazer/finder/adapters/sequel/base_spec.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/trailblazer/finder/adapters/sequel/predicates.rb' # Offense count: 3 Metrics/AbcSize: Max: 17 # Offense count: 9 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 51 # Offense count: 8 RSpec/DescribeClass: Exclude: - 'spec/trailblazer/finder/adapters/active_record/sorting_spec.rb' - 'spec/trailblazer/finder/adapters/data_mapper/sorting_spec.rb' - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb' - 'spec/trailblazer/finder/adapters/sequel/sorting_spec.rb' - 'spec/trailblazer/operation/finder_spec.rb' - 'spec/trailblazer/operation/paging_spec.rb' - 'spec/trailblazer/operation/predicates_spec.rb' - 'spec/trailblazer/operation/sorting_spec.rb' # Offense count: 50 # Configuration parameters: CustomTransform, IgnoredWords. RSpec/ExampleWording: Exclude: - 'spec/trailblazer/finder/adapters/active_record/predicates_spec.rb' - 'spec/trailblazer/finder/adapters/data_mapper/predicates_spec.rb' - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb' - 'spec/trailblazer/finder/features/predicates_spec.rb' - 'spec/trailblazer/operation/predicates_spec.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: prefer_alias, prefer_alias_method Style/Alias: Exclude: - 'lib/trailblazer/finder/utils/splitter.rb' # Offense count: 18 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'spec/trailblazer/operation/finder_spec.rb' - 'spec/trailblazer/operation/paging_spec.rb' - 'spec/trailblazer/operation/predicates_spec.rb' - 'spec/trailblazer/operation/sorting_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: compact, expanded Style/EmptyMethod: Exclude: - 'spec/trailblazer/finder/adapters/sequel/sorting_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/trailblazer/finder/utils/deep_locate.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: IncludeSemanticChanges. Style/NonNilCheck: Exclude: - 'lib/trailblazer/finder/predicates.rb' # Offense count: 2 # Cop supports --auto-correct. Style/ParallelAssignment: Exclude: - 'lib/trailblazer/finder/utils/splitter.rb' # Offense count: 2 # Cop supports --auto-correct. Style/PerlBackrefs: Exclude: - 'lib/trailblazer/finder/utils/splitter.rb' # Offense count: 191 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'lib/trailblazer/finder/adapters/sequel/predicates.rb' - 'spec/trailblazer/finder/adapters/active_record/predicates_spec.rb' - 'spec/trailblazer/finder/adapters/active_record/sorting_spec.rb' - 'spec/trailblazer/finder/adapters/data_mapper/predicates_spec.rb' - 'spec/trailblazer/finder/adapters/data_mapper/sorting_spec.rb' - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb' - 'spec/trailblazer/finder/features/predicates_spec.rb' - 'spec/trailblazer/operation/predicates_spec.rb' # Offense count: 24 # Cop supports --auto-correct. # Configuration parameters: WordRegex. # SupportedStyles: percent, brackets Style/WordArray: EnforcedStyle: percent MinSize: 9 # Offense count: 191 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 172