# This configuration was generated by # `rubocop --auto-gen-config` # on 2022-07-17 05:07:07 UTC using RuboCop version 1.30.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: 7 # Configuration parameters: EnforcedStyle. # SupportedStyles: native, lf, crlf Layout/EndOfLine: EnforcedStyle: lf Exclude: # - 'Rakefile' # - 'bin/console' # - 'lib/maketable.rb' # - 'lib/maketable/version.rb' # - 'spec/spec_helper.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: normal, indented_internal_methods Layout/IndentationConsistency: Exclude: # - 'lib/maketable/tablecolumn.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Width, AllowedPatterns, IgnoredPatterns. Layout/IndentationWidth: Exclude: # - 'lib/maketable/tablecolumn.rb' # - 'spec/m_spec.rb' # Offense count: 5 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment. Layout/LeadingCommentSpace: Exclude: # - 'lib/maketable/item.rb' # - 'lib/maketable/maketable.rb' # Offense count: 10 # This cop supports safe autocorrection (--autocorrect). Layout/SpaceAfterColon: Exclude: # - 'spec/m_spec.rb' # - 'spec/maketable_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Layout/SpaceAfterComma: Exclude: # - 'lib/maketable/maketable.rb' # - 'lib/maketable/util.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Layout/SpaceAfterNot: Exclude: # - 'lib/maketable/maketable.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Exclude: # - 'lib/maketable/util.rb' # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. # SupportedStylesForExponentOperator: space, no_space Layout/SpaceAroundOperators: Exclude: # - 'lib/maketable/util.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceBeforeBlockBraces: Exclude: # - 'lib/maketable/maketable.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Layout/SpaceBeforeComma: Exclude: # - 'spec/m_spec.rb' # Offense count: 7 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: space, compact, no_space Layout/SpaceInsideParens: Exclude: # - 'lib/maketable/item.rb' # - 'lib/maketable/tablecolumn.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: final_newline, final_blank_line Layout/TrailingEmptyLines: Exclude: # - 'lib/maketable/tablecolumn.rb' # - 'lib/maketable/tablelabel.rb' # Offense count: 1 # Configuration parameters: IgnoreImplicitReferences. Lint/ShadowedArgument: Exclude: # - 'bin/b.rb' # Offense count: 1 Lint/ShadowingOuterLocalVariable: Exclude: # - 'lib/maketable/maketable.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. Lint/UnusedBlockArgument: Exclude: # - 'spec/maketable_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. Lint/UnusedMethodArgument: Exclude: # - 'lib/maketable/tablelabel.rb' # Offense count: 6 Lint/UselessAssignment: Exclude: # - 'lib/maketable/item.rb' # Offense count: 4 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 30 # Offense count: 2 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. # IgnoredMethods: refine Metrics/BlockLength: Max: 49 # Offense count: 1 # Configuration parameters: CountBlocks. Metrics/BlockNesting: Max: 4 # Offense count: 2 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 107 # Offense count: 13 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Max: 21 # Offense count: 1 Naming/AccessorMethodName: Exclude: # - 'lib/maketable/item.rb' # Offense count: 1 # Configuration parameters: EnforcedStyleForLeadingUnderscores. # SupportedStylesForLeadingUnderscores: disallowed, required, optional Naming/MemoizedInstanceVariableName: Exclude: # - 'spec/maketable_spec.rb' # Offense count: 4 # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns. # SupportedStyles: snake_case, normalcase, non_integer # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339 Naming/VariableNumber: Exclude: - 'lib/maketable/order.rb' # Offense count: 3 Security/Eval: Exclude: - 'spec/m_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: separated, grouped Style/AccessorGrouping: Exclude: # - 'lib/maketable/item.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods. # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object # FunctionalMethods: let, let!, subject, watch # IgnoredMethods: lambda, proc, it Style/BlockDelimiters: Exclude: # - 'lib/maketable/maketable.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions. # SupportedStyles: assign_to_condition, assign_inside_condition Style/ConditionalAssignment: Exclude: # - 'lib/maketable/util.rb' # Offense count: 3 Style/DocumentDynamicEvalDefinition: Exclude: - 'spec/m_spec.rb' # Offense count: 7 # Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/maketable/item.rb' - 'lib/maketable/maketable.rb' - 'lib/maketable/order.rb' - 'lib/maketable/outputtable.rb' - 'lib/maketable/tablecolumn.rb' - 'lib/maketable/tablelabel.rb' # - 'lib/maketable/util.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). Style/EvalWithLocation: Exclude: - 'spec/m_spec.rb' # Offense count: 8 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Exclude: # - 'bin/a.rb' # - 'bin/b.rb' # - 'lib/maketable/item.rb' # - 'lib/maketable/order.rb' # - 'lib/maketable/tablecolumn.rb' # - 'lib/maketable/tablelabel.rb' # - 'lib/maketable/util.rb' # - 'spec/m_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: both, prefix, postfix Style/NegatedIf: Exclude: # - 'lib/maketable/maketable.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Style/NegatedIfElseCondition: Exclude: # - 'lib/maketable/item.rb' # Offense count: 5 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle, IgnoredMethods. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: # - 'spec/**/*' # - 'lib/maketable/maketable.rb' # - 'lib/maketable/order.rb' - 'lib/maketable/outputtable.rb' # - 'lib/maketable/tablecolumn.rb' # Offense count: 5 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: # - 'lib/maketable/item.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowModifier. Style/SoleNestedConditional: Exclude: # - 'lib/maketable/tablecolumn.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Mode. Style/StringConcatenation: Exclude: # - 'lib/maketable.rb' # - 'spec/maketable_spec.rb' # Offense count: 12 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: # - 'Gemfile' # - 'lib/maketable.rb' # - 'lib/maketable/maketable.rb' # - 'lib/maketable/util.rb' # - 'spec/m_spec.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowMethodsWithArguments, IgnoredMethods, AllowComments. # IgnoredMethods: respond_to, define_method Style/SymbolProc: Exclude: # - 'lib/maketable/maketable.rb' # Offense count: 7 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInHashLiteral: Exclude: #- 'lib/maketable/order.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Style/UnlessElse: Exclude: # - 'lib/maketable/util.rb' # Offense count: 3 # This cop supports unsafe autocorrection (--autocorrect-all). Style/ZeroLengthPredicate: Exclude: # - 'lib/maketable/maketable.rb' # - 'lib/maketable/order.rb' # - 'lib/maketable/tablecolumn.rb'