# This configuration was generated by # `rubocop --auto-gen-config` # on 2021-03-07 06:12:58 UTC using RuboCop version 1.11.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. # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/DateAssignment: Exclude: - 'gruff.gemspec' # Offense count: 1 # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches. Lint/DuplicateBranch: Exclude: - 'test/gruff_test_case.rb' # Offense count: 1 Lint/DuplicateMethods: Exclude: - 'lib/gruff/photo_bar.rb' # Offense count: 13 Lint/FloatComparison: Exclude: - 'Rakefile' - 'lib/gruff/base.rb' - 'lib/gruff/renderer/renderer.rb' - 'lib/gruff/scatter.rb' # Offense count: 1 Lint/UnreachableCode: Exclude: - 'lib/gruff/photo_bar.rb' # Offense count: 1 Lint/UselessAssignment: Exclude: - 'lib/gruff/photo_bar.rb' # Offense count: 1 # Configuration parameters: CheckForMethodsWithNoSideEffects. Lint/Void: Exclude: - 'lib/gruff/patch/rmagick.rb' # Offense count: 54 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 82 # Offense count: 1 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. # IgnoredMethods: refine Metrics/BlockLength: Max: 29 # Offense count: 13 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 637 # Offense count: 9 # Configuration parameters: IgnoredMethods. Metrics/CyclomaticComplexity: Max: 21 # Offense count: 121 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Max: 81 # Offense count: 3 # Configuration parameters: CountKeywordArgs, MaxOptionalParameters. Metrics/ParameterLists: Max: 7 # Offense count: 8 # Configuration parameters: IgnoredMethods. Metrics/PerceivedComplexity: Max: 22 # Offense count: 1 # Configuration parameters: EnforcedStyleForLeadingUnderscores. # SupportedStylesForLeadingUnderscores: disallowed, required, optional Naming/MemoizedInstanceVariableName: Exclude: - 'lib/gruff/scene.rb' # Offense count: 9 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to Naming/MethodParameterName: Exclude: - 'lib/gruff/base.rb' - 'lib/gruff/patch/rmagick.rb' - 'lib/gruff/pie.rb' - 'lib/gruff/renderer/text.rb' # Offense count: 6 # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers. # SupportedStyles: snake_case, normalcase, non_integer # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339 Naming/VariableNumber: Exclude: - 'test/test_bar.rb' - 'test/test_bezier.rb' - 'test/test_line.rb' # Offense count: 1 # Configuration parameters: MinSize. Performance/CollectionLiteralInLoop: Exclude: - 'test/test_legend.rb' # Offense count: 1 # Cop supports --auto-correct. Performance/RedundantMatch: Exclude: - 'lib/gruff/photo_bar.rb' # Offense count: 1 # Cop supports --auto-correct. Performance/RegexpMatch: Exclude: - 'lib/gruff/photo_bar.rb' # Offense count: 2 # Cop supports --auto-correct. Performance/StringReplacement: Exclude: - 'lib/gruff/scene.rb' # Offense count: 2 Security/Eval: Exclude: - 'test/gruff_test_case.rb' # Offense count: 1 Style/CombinableLoops: Exclude: - 'test/test_line.rb' # Offense count: 3 Style/DocumentDynamicEvalDefinition: Exclude: - 'test/gruff_test_case.rb' # Offense count: 132 # Configuration parameters: RequireForNonPublicMethods. Style/DocumentationMethod: Enabled: false # Offense count: 3 # Cop supports --auto-correct. Style/EvalWithLocation: Exclude: - 'test/gruff_test_case.rb' # Offense count: 1 Style/MissingRespondToMissing: Exclude: - 'lib/gruff/scene.rb' # Offense count: 1 # Configuration parameters: AllowedMethods. # AllowedMethods: respond_to_missing? Style/OptionalBooleanParameter: Exclude: - 'lib/gruff/base.rb' # Offense count: 3 # Cop supports --auto-correct. Style/StringConcatenation: Exclude: - 'lib/gruff/photo_bar.rb' - 'test/gruff_test_case.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle. # SupportedStyles: forbid_mixed_logical_operators, forbid_logical_operators Style/UnlessLogicalOperators: Exclude: - 'lib/gruff/bar.rb' - 'lib/gruff/scatter.rb'