# This configuration was generated by # `rubocop --auto-gen-config` # on 2018-06-29 18:23:09 +0000 using RuboCop version 0.57.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: 2 # Cop supports --auto-correct. # Configuration parameters: Include, TreatCommentsAsGroupSeparators. # Include: **/*.gemspec Gemspec/OrderedDependencies: Exclude: - 'sinclair.gemspec' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith. # SupportedStylesAlignWith: either, start_of_block, start_of_line Layout/BlockAlignment: Exclude: - 'spec/lib/sinclair/method_definition_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/EmptyLineAfterMagicComment: Exclude: - 'sinclair.gemspec' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'sinclair.gemspec' - 'spec/lib/sinclair_spec.rb' - 'spec/spec_helper.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Exclude: - 'spec/lib/sinclair/method_definition_spec.rb' - 'spec/support/fixture_helpers.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Exclude: - 'spec/support/models/validator_builder.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideBlockBraces: EnforcedStyle: space # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: - 'spec/lib/sinclair/options_parser_spec.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceInsideStringInterpolation: Exclude: - 'spec/lib/sinclair_spec.rb' - 'spec/support/models/dummy_builder.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: final_newline, final_blank_line Layout/TrailingBlankLines: Exclude: - 'lib/sinclair/version.rb' - 'sinclair.gemspec' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowInHeredoc. Layout/TrailingWhitespace: Exclude: - 'spec/integration/matcher_spec.rb' # Offense count: 1 Lint/ParenthesesAsGroupedExpression: Exclude: - 'spec/support/fixture_helpers.rb' # Offense count: 9 # Configuration parameters: CountComments, ExcludedMethods. Metrics/BlockLength: Max: 119 # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'spec/support/models/dummy_builder.rb' - 'spec/support/models/dummy_options_parser.rb' # Offense count: 6 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/sinclair.rb' - 'lib/sinclair/matchers.rb' - 'lib/sinclair/matchers/add_method.rb' - 'lib/sinclair/matchers/add_method_to.rb' - 'lib/sinclair/method_definition.rb' - 'lib/sinclair/options_parser.rb' # Offense count: 1 # Cop supports --auto-correct. Style/Encoding: Exclude: - 'sinclair.gemspec' # Offense count: 1 # Cop supports --auto-correct. Style/ExpandPathArguments: Exclude: - 'sinclair.gemspec' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys Style/HashSyntax: Exclude: - 'Rakefile' # Offense count: 1 # Cop supports --auto-correct. Style/MutableConstant: Exclude: - 'lib/sinclair/version.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: Whitelist. # Whitelist: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with Style/NestedParenthesizedCalls: Exclude: - 'spec/lib/sinclair/matchers/add_method_to_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'spec/integration/readme/my_class_spec.rb' # Offense count: 3 # Cop supports --auto-correct. Style/Proc: Exclude: - 'spec/lib/sinclair/matchers/add_method_to_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantParentheses: Exclude: - 'spec/support/fixture_helpers.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'spec/lib/sinclair/method_definition_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: Exclude: - 'sinclair.gemspec' # Offense count: 14 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'Gemfile' - 'Rakefile' - 'sinclair.gemspec' - 'spec/lib/sinclair/method_definition_spec.rb' - 'spec/lib/sinclair_spec.rb' - 'spec/spec_helper.rb' - 'spec/support/models/dummy_builder.rb' # Offense count: 8 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 103