# This configuration was generated by # `rubocop --auto-gen-config` # on 2016-01-27 13:13:41 +0000 using RuboCop version 0.36.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: 3 Lint/IneffectiveAccessModifier: Exclude: - 'lib/packer/builder.rb' - 'lib/packer/postprocessor.rb' - 'lib/packer/provisioner.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks. Lint/UnusedBlockArgument: Exclude: - 'lib/packer/runner.rb' # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/packer/dataobject.rb' - 'lib/packer/envvar.rb' - 'lib/packer/macro.rb' - 'lib/packer/provisioners/powershell.rb' # Offense count: 2 Lint/UselessAccessModifier: Exclude: - 'lib/packer/postprocessor.rb' - 'lib/packer/provisioner.rb' # Offense count: 8 Metrics/AbcSize: Max: 30 # Offense count: 4 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 150 # Offense count: 7 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 27 # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: SingleLineConditionsOnly. Style/ConditionalAssignment: Exclude: - 'lib/packer/dataobject.rb' # Offense count: 9 # Cop supports --auto-correct. Style/DeprecatedHashMethods: Exclude: - 'lib/packer-config.rb' - 'lib/packer/dataobject.rb' - 'lib/packer/postprocessor.rb' - 'lib/packer/provisioner.rb' # Offense count: 1 # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts. Style/FileName: Exclude: - 'lib/packer-config.rb' # Offense count: 1 Style/IfInsideElse: Exclude: - 'lib/packer/dataobject.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_braces Style/IndentHash: Enabled: false # Offense count: 31 # Cop supports --auto-correct. Style/MutableConstant: Exclude: - 'lib/packer-config.rb' - 'lib/packer/builder.rb' - 'lib/packer/postprocessor.rb' - 'lib/packer/provisioner.rb' - 'lib/packer/version.rb' - 'spec/integration/centos_vagrant_spec.rb' - 'spec/packer/postprocessor_spec.rb' - 'spec/packer/provisioner_spec.rb' # Offense count: 2 # Cop supports --auto-correct. Style/NegatedIf: Exclude: - 'lib/packer/dataobject.rb' # Offense count: 9 Style/NestedParenthesizedCalls: Exclude: - 'spec/packer/envvar_spec.rb' - 'spec/packer/macro_spec.rb' - 'spec/packer/runner_spec.rb' - 'spec/packer_config_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles. # SupportedStyles: skip_modifier_ifs, always Style/Next: Exclude: - 'lib/packer/dataobject.rb' # Offense count: 1 # Cop supports --auto-correct. Style/NumericLiterals: MinDigits: 6 # Offense count: 34 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Enabled: false # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceBeforeBlockBraces: Enabled: false # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space Style/SpaceInsideBlockBraces: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Style/UnneededInterpolation: Exclude: - 'lib/packer/runner.rb'