# This configuration was generated by # `rubocop --auto-gen-config` # on 2016-06-29 13:38:17 -0700 using RuboCop version 0.41.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. Bundler/OrderedGems: Enabled: false Style/MultilineIfModifier: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' Lint/ShadowedException: Exclude: - lib/retrospec/plugins/v1/plugin/puppet.rb Style/MethodMissing: Exclude: - lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb - lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb - lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb # Offense count: 1 Lint/AmbiguousOperator: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/module_generator.rb' # Offense count: 2 Lint/AmbiguousRegexpLiteral: Exclude: - 'spec/unit/generators/function_generator_spec.rb' # Offense count: 4 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' # Offense count: 4 # Cop supports --auto-correct. Lint/DeprecatedClassMethods: Exclude: - 'lib/retrospec/plugins/v1/plugin/puppet.rb' - 'spec/spec_helper.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AlignWith, SupportedStyles, AutoCorrect. # SupportedStyles: keyword, variable, start_of_line Lint/EndAlignment: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' # Offense count: 5 Security/Eval: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/type.rb' # Offense count: 7 Lint/HandleExceptions: Exclude: - 'Rakefile' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: runtime_error, standard_error Lint/InheritException: Exclude: - 'lib/retrospec/plugins/v1/plugin/exceptions.rb' # Offense count: 1 Lint/ParenthesesAsGroupedExpression: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' # Offense count: 4 Lint/RescueException: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' - 'lib/retrospec/plugins/v1/plugin/puppet.rb' # Offense count: 4 Lint/ShadowedException: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/type.rb' # Offense count: 1 Lint/UnderscorePrefixedVariableName: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. Lint/UnusedBlockArgument: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' # Offense count: 36 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/templates/clone-hook' # Offense count: 48 Lint/UselessAssignment: Enabled: false # Offense count: 30 Metrics/AbcSize: Max: 60 # Offense count: 8 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 345 # Offense count: 4 Metrics/CyclomaticComplexity: Max: 18 # Offense count: 35 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes. # URISchemes: http, https Metrics/LineLength: Max: 656 # Offense count: 42 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 70 # Offense count: 5 Metrics/PerceivedComplexity: Max: 15 # Offense count: 3 # Cop supports --auto-correct. Performance/StringReplacement: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' # Offense count: 4 Style/AccessorMethodName: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/type.rb' - 'lib/retrospec/plugins/v1/plugin/helpers.rb' - 'lib/retrospec/plugins/v1/plugin/generators/base_generator.rb' # Offense count: 14 # Cop supports --auto-correct. Style/AlignArray: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/type_generator.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles. # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit Style/AlignHash: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/function_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' - 'lib/retrospec/plugins/v1/plugin/puppet.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/base_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/puppet.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: braces, no_braces, context_dependent Style/BracesAroundHashParameters: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/acceptance_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/definition_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/hostclass_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/node_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep, IndentationWidth. # SupportedStyles: case, end Style/CaseIndentation: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/provider_generator.rb' # Offense count: 1 Style/ClassVars: Exclude: - 'lib/retrospec/plugins/v1/plugin/puppet_module.rb' # Offense count: 1 # Cop supports --auto-correct. Style/ClosingParenthesisIndentation: Exclude: - 'lib/retrospec/plugins/v1/plugin/puppet_module.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: Keywords. # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW Style/CommentAnnotation: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/puppet.rb' # Offense count: 16 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly. # SupportedStyles: assign_to_condition, assign_inside_condition Style/ConditionalAssignment: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/module_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/provider_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/puppet.rb' - 'lib/retrospec/plugins/v1/plugin/template_helpers.rb' - 'spec/spec_helper.rb' # Offense count: 26 Style/Documentation: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty, nil, both Style/EmptyElse: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/resource_base_generator.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowAdjacentOneLineDefs. Style/EmptyLineBetweenDefs: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/type_generator.rb' # Offense count: 1 # Cop supports --auto-correct. Style/EmptyLines: Exclude: - 'spec/integration/retrospec_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, no_empty_lines Style/EmptyLinesAroundBlockBody: Exclude: - 'spec/integration/retrospec_spec.rb' # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, no_empty_lines Style/EmptyLinesAroundClassBody: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/acceptance_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/definition_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/hostclass_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/node_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/type.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, no_empty_lines Style/EmptyLinesAroundModuleBody: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/acceptance_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/definition_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/hostclass_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/node_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. Style/ExtraSpacing: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/function_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/puppet.rb' # Offense count: 2 # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts. Style/FileName: Exclude: - 'lib/retrospec-puppet.rb' - 'spec/unit/puppet-retrospec_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses Style/FirstParameterIndentation: Exclude: - 'lib/retrospec/plugins/v1/plugin/puppet_module.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' # Offense count: 3 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/resource_base_generator.rb' - 'lib/retrospec/plugins/v1/plugin/puppet.rb' - 'lib/retrospec/plugins/v1/plugin/templates/clone-hook' - 'lib/retrospec/plugins/v1/plugin/generators/module_generator.rb' # Offense count: 2 Style/IfInsideElse: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/puppet.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/resource_base_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: IndentationWidth. Style/IndentAssignment: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/acceptance_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_braces Style/IndentHash: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: normal, rails Style/IndentationConsistency: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: Width. Style/IndentationWidth: Exclude: - 'Rakefile' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb' - 'lib/retrospec/plugins/v1/plugin/generators/type_generator.rb' - 'spec/spec_helper.rb' # Offense count: 18 # Cop supports --auto-correct. Style/LeadingCommentSpace: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb' - 'lib/retrospec/plugins/v1/plugin/generators/resource_base_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/puppet.rb' - 'spec/spec_helper.rb' # Offense count: 3 # Cop supports --auto-correct. Style/MethodCallWithoutArgsParentheses: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' # Offense count: 134 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline Style/MethodDefParentheses: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' # Offense count: 134 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: snake_case, camelCase Style/MethodName: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: symmetrical, new_line, same_line Style/MultilineHashBraceLayout: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' # Offense count: 2 # Cop supports --auto-correct. Style/MultilineIfThen: Exclude: - 'puppet-retrospec.gemspec' # Offense count: 2 # Cop supports --auto-correct. Style/MutableConstant: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/type_generator.rb' - 'lib/retrospec/plugins/v1/plugin/version.rb' # Offense count: 18 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'puppet-retrospec.gemspec' # Offense count: 6 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist. # NamePrefix: is_, has_, have_ # NamePrefixBlacklist: is_, has_, have_ # NameWhitelist: is_a? Style/PredicateName: Exclude: - 'spec/**/*' - 'lib/retrospec/plugins/v1/plugin/generators/function_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/helpers.rb' # Offense count: 1 # Cop supports --auto-correct. Style/PreferredHashMethods: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' # Offense count: 1 # Cop supports --auto-correct. Style/Proc: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantBegin: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantParentheses: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'spec/unit/generators/function_generator_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RescueModifier: Exclude: - 'lib/retrospec/plugins/v1/plugin/templates/clone-hook' # Offense count: 1 # Cop supports --auto-correct. Style/SelfAssignment: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowAsExpressionSeparator. Style/Semicolon: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: only_raise, only_fail, semantic Style/SignalException: Exclude: - 'lib/retrospec/plugins/v1/plugin/puppet_module.rb' # Offense count: 29 # Cop supports --auto-correct. Style/SpaceAfterComma: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators.rb' - 'lib/retrospec/plugins/v1/plugin/generators/fact_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/function_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/resource_base_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/puppet_module.rb' - 'spec/spec_helper.rb' # Offense count: 1 # Cop supports --auto-correct. Style/SpaceAfterNot: Exclude: - 'lib/retrospec/plugins/v1/plugin/puppet.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleInsidePipes, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceAroundBlockParameters: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/fact_generator.rb' # Offense count: 16 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceAroundEqualsInParameterDefault: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/base_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/fact_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/function_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/module_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb' - 'lib/retrospec/plugins/v1/plugin/generators/provider_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/report_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/resource_base_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/type_generator.rb' - 'lib/retrospec/plugins/v1/plugin/puppet.rb' # Offense count: 23 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Style/SpaceAroundOperators: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/puppet.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceBeforeBlockBraces: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' # Offense count: 1 # Cop supports --auto-correct. Style/SpaceBeforeComma: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/fact_generator.rb' # Offense count: 35 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space Style/SpaceInsideBlockBraces: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/resource_base_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' # Offense count: 11 # Cop supports --auto-correct. Style/SpaceInsideBrackets: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' # Offense count: 57 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. # SupportedStyles: space, no_space, compact Style/SpaceInsideHashLiteralBraces: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/acceptance_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/definition_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/hostclass_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/node_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' - 'lib/retrospec/plugins/v1/plugin/generators/parsers/function.rb' - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' - 'spec/spec_helper.rb' # Offense count: 1 # Cop supports --auto-correct. Style/SpaceInsideParens: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/resource_base_generator.rb' # Offense count: 1831 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'lib/retrospec/plugins/v1/plugin/exceptions.rb' - 'lib/retrospec/plugins/v1/plugin/generators/base_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/module_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/report_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/resource_base_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/generators/type_generator.rb' - 'puppet-retrospec.gemspec' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: final_newline, final_blank_line Style/TrailingBlankLines: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/parsers/facter.rb' - 'puppet-retrospec.gemspec' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. # SupportedStyles: comma, consistent_comma, no_comma Style/TrailingCommaInArguments: Exclude: - 'lib/retrospec/plugins/v1/plugin/puppet_module.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. # SupportedStyles: comma, consistent_comma, no_comma Style/TrailingCommaInLiteral: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist. # Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym Style/TrivialAccessors: Exclude: - 'lib/retrospec/plugins/v1/plugin/puppet_module.rb' # Offense count: 6 # Cop supports --auto-correct. Style/UnneededInterpolation: Exclude: - 'Rakefile' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb' # Offense count: 18 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'puppet-retrospec.gemspec' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: SupportedStyles, WordRegex. # SupportedStyles: percent, brackets Style/WordArray: EnforcedStyle: percent MinSize: -Infinity # Offense count: 3 # Cop supports --auto-correct. Style/ZeroLengthPredicate: Exclude: - 'lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb' - 'lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb' - 'lib/retrospec/plugins/v1/plugin/puppet_module.rb'