# This configuration was generated by # `rubocop --auto-gen-config` # on 2019-08-18 11:55:38 +1000 using RuboCop version 0.74.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: TreatCommentsAsGroupSeparators, Include. # Include: **/*.gemspec Gemspec/OrderedDependencies: Exclude: - 'reform.gemspec' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: outdent, indent Layout/AccessModifierIndentation: Exclude: - 'test/populate_test.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: with_first_argument, with_fixed_indentation Layout/AlignArguments: Exclude: - 'test/deserialize_test.rb' - 'test/populate_test.rb' - 'test/validate_test.rb' # Offense count: 4 # Cop supports --auto-correct. Layout/AlignArray: Exclude: - 'test/populate_test.rb' # Offense count: 56 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table # SupportedColonStyles: key, separator, table # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit Layout/AlignHash: Exclude: - 'test/coercion_test.rb' - 'test/composition_test.rb' - 'test/errors_test.rb' - 'test/populate_test.rb' - 'test/validate_test.rb' - 'test/validation/dry_validation_test.rb' - 'test/validation/result_test.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith. # SupportedStylesAlignWith: either, start_of_block, start_of_line Layout/BlockAlignment: Exclude: - 'lib/reform/errors.rb' - 'test/from_test.rb' # Offense count: 2 # Cop supports --auto-correct. Layout/BlockEndNewline: Exclude: - 'test/populate_test.rb' - 'test/validate_test.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/ClosingParenthesisIndentation: Exclude: - 'test/composition_test.rb' # Offense count: 7 # Cop supports --auto-correct. Layout/EmptyLineAfterGuardClause: Exclude: - 'lib/reform/form/populator.rb' - 'lib/reform/form/prepopulate.rb' - 'lib/reform/validation/groups.rb' - 'test/populator_skip_test.rb' # Offense count: 1 # Cop supports --auto-correct. Layout/EmptyLineAfterMagicComment: Exclude: - 'test/validation/dry_validation_test.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: around, only_before Layout/EmptyLinesAroundAccessModifier: Exclude: - 'test/populate_test.rb' - 'test/prepopulator_test.rb' # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, no_empty_lines Layout/EmptyLinesAroundBlockBody: Exclude: - 'test/from_test.rb' - 'test/inherit_test.rb' - 'test/populate_test.rb' - 'test/validate_test.rb' - 'test/validation/dry_validation_test.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only Layout/EmptyLinesAroundClassBody: Exclude: - 'test/skip_if_test.rb' - 'test/validation/dry_validation_test.rb' # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'test/benchmarking.rb' - 'test/composition_test.rb' - 'test/populate_test.rb' - 'test/prepopulator_test.rb' - 'test/validation/dry_validation_test.rb' # Offense count: 2 # Cop supports --auto-correct. Layout/FirstArrayElementLineBreak: Exclude: - 'test/populate_test.rb' # Offense count: 3 # Cop supports --auto-correct. Layout/FirstHashElementLineBreak: Exclude: - 'test/validate_test.rb' - 'test/validation/dry_validation_test.rb' - 'test/validation/result_test.rb' # Offense count: 4 # Cop supports --auto-correct. Layout/FirstMethodArgumentLineBreak: Exclude: - 'test/deserialize_test.rb' - 'test/validation/dry_validation_test.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: normal, indented_internal_methods Layout/IndentationConsistency: Exclude: - 'test/benchmarking.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Exclude: - 'lib/reform/errors.rb' - 'test/benchmarking.rb' - 'test/prepopulator_test.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: AllowDoxygenCommentStyle. Layout/LeadingCommentSpace: Exclude: - 'test/docs/**/*' - 'test/benchmarking.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: symmetrical, new_line, same_line Layout/MultilineHashBraceLayout: Exclude: - 'test/validation/result_test.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: symmetrical, new_line, same_line Layout/MultilineMethodCallBraceLayout: Exclude: - 'test/composition_test.rb' - 'test/deserialize_test.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: aligned, indented, indented_relative_to_receiver Layout/MultilineMethodCallIndentation: Exclude: - 'test/validation/dry_validation_test.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Layout/SpaceAroundOperators: Exclude: - 'lib/reform/form.rb' - 'lib/reform/form/dry.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: - 'Gemfile' - 'lib/reform/form.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: IndentationWidth. Layout/Tab: Exclude: - 'lib/reform/errors.rb' - 'test/benchmarking.rb' # Offense count: 3 Lint/IneffectiveAccessModifier: Exclude: - 'lib/reform/contract.rb' - 'lib/reform/form/validate.rb' # Offense count: 12 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. Lint/UnusedBlockArgument: Exclude: - 'lib/reform/errors.rb' - 'lib/reform/form.rb' - 'lib/reform/result.rb' - 'test/composition_test.rb' - 'test/parse_pipeline_test.rb' - 'test/populate_test.rb' - 'test/validate_test.rb' - 'test/validation/dry_validation_test.rb' # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/reform/contract/validate.rb' - 'lib/reform/errors.rb' - 'lib/reform/form/populator.rb' - 'lib/reform/form/validate.rb' - 'test/inherit_test.rb' - 'test/populate_test.rb' - 'test/prepopulator_test.rb' # Offense count: 2 # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods. Lint/UselessAccessModifier: Exclude: - 'lib/reform/contract.rb' - 'test/populate_test.rb' # Offense count: 4 Lint/UselessAssignment: Exclude: - 'lib/reform/form.rb' - 'lib/reform/form/dry.rb' - 'test/benchmarking.rb' # Offense count: 42 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 271 # Offense count: 1 # Configuration parameters: EnforcedStyleForLeadingUnderscores. # SupportedStylesForLeadingUnderscores: disallowed, required, optional Naming/MemoizedInstanceVariableName: Exclude: - 'lib/reform/validation.rb' # Offense count: 39 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: braces, no_braces, context_dependent Style/BracesAroundHashParameters: Exclude: - 'test/call_test.rb' - 'test/composition_test.rb' - 'test/deserialize_test.rb' - 'test/from_test.rb' - 'test/module_test.rb' - 'test/reform_test.rb' - 'test/save_test.rb' - 'test/validation/dry_validation_test.rb' - 'test/validation/result_test.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: Keywords. # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW Style/CommentAnnotation: Exclude: - 'test/errors_test.rb' # Offense count: 9 Style/CommentedKeyword: Exclude: - 'lib/reform/contract.rb' - 'lib/reform/form/populator.rb' - 'lib/reform/form/validate.rb' - 'lib/reform/result.rb' - 'test/module_test.rb' - 'test/reform_test.rb' # Offense count: 1 # Cop supports --auto-correct. Style/Encoding: Exclude: - 'test/validation/dry_validation_test.rb' # Offense count: 1 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/reform/form.rb' # Offense count: 1 Style/ImplicitRuntimeError: Exclude: - 'lib/reform/form/populator.rb' # Offense count: 1 # Cop supports --auto-correct. Style/LineEndConcatenation: Exclude: - 'lib/reform/validation.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. Style/MethodCallWithoutArgsParentheses: Exclude: - 'test/reform_test.rb' # Offense count: 1 Style/MethodMissingSuper: Exclude: - 'lib/reform/form/module.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle. # SupportedStyles: if, case, both Style/MissingElse: Exclude: - 'test/composition_test.rb' # Offense count: 1 Style/MissingRespondToMissing: Exclude: - 'lib/reform/form/module.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: predicate, comparison Style/NilComparison: Exclude: - 'test/prepopulator_test.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'reform.gemspec' - 'test/validation/dry_validation_test.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: compact, exploded Style/RaiseArgs: Exclude: - 'lib/reform/form.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantParentheses: Exclude: - 'test/populate_test.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'lib/reform/validation/groups.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: only_raise, only_fail, semantic Style/SignalException: Exclude: - 'lib/reform/form.rb' - 'lib/reform/form/populator.rb' - 'lib/reform/validation.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: Exclude: - 'reform.gemspec' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'Gemfile' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. # IgnoredMethods: respond_to, define_method Style/SymbolProc: Exclude: - 'lib/reform/errors.rb' # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInArguments: Exclude: - 'test/populate_test.rb' - 'test/validate_test.rb' - 'test/validation/dry_validation_test.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInHashLiteral: Exclude: - 'test/validation/result_test.rb'