|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2017-08-28 12:57:58 +1000 using RuboCop version 0.49.1. |
| 4 | +# The point is for the user to remove these configuration records |
| 5 | +# one by one as the offenses are removed from the code base. |
| 6 | +# Note that changes in the inspected code, or installation of new |
| 7 | +# versions of RuboCop, may require this file to be generated again. |
| 8 | + |
| 9 | +# Offense count: 3 |
| 10 | +# Configuration parameters: Include. |
| 11 | +# Include: **/Gemfile, **/gems.rb |
| 12 | +Bundler/DuplicatedGem: |
| 13 | + Exclude: |
| 14 | + - 'Gemfile' |
| 15 | + |
| 16 | +# Offense count: 2 |
| 17 | +# Cop supports --auto-correct. |
| 18 | +# Configuration parameters: Include, TreatCommentsAsGroupSeparators. |
| 19 | +# Include: **/Gemfile, **/gems.rb |
| 20 | +Bundler/OrderedGems: |
| 21 | + Exclude: |
| 22 | + - 'Gemfile' |
| 23 | + |
| 24 | +# Offense count: 9 |
| 25 | +# Configuration parameters: AllowSafeAssignment. |
| 26 | +Lint/AssignmentInCondition: |
| 27 | + Exclude: |
| 28 | + - 'lib/puppet-lint/lexer.rb' |
| 29 | + - 'lib/puppet-lint/plugins/check_classes/variable_scope.rb' |
| 30 | + |
| 31 | +# Offense count: 52 |
| 32 | +Metrics/AbcSize: |
| 33 | + Max: 153 |
| 34 | + |
| 35 | +# Offense count: 121 |
| 36 | +# Configuration parameters: CountComments, ExcludedMethods. |
| 37 | +Metrics/BlockLength: |
| 38 | + Max: 1136 |
| 39 | + |
| 40 | +# Offense count: 8 |
| 41 | +# Configuration parameters: CountBlocks. |
| 42 | +Metrics/BlockNesting: |
| 43 | + Max: 5 |
| 44 | + |
| 45 | +# Offense count: 2 |
| 46 | +# Configuration parameters: CountComments. |
| 47 | +Metrics/ClassLength: |
| 48 | + Max: 383 |
| 49 | + |
| 50 | +# Offense count: 20 |
| 51 | +Metrics/CyclomaticComplexity: |
| 52 | + Max: 26 |
| 53 | + |
| 54 | +# Offense count: 238 |
| 55 | +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. |
| 56 | +# URISchemes: http, https |
| 57 | +Metrics/LineLength: |
| 58 | + Max: 223 |
| 59 | + |
| 60 | +# Offense count: 65 |
| 61 | +# Configuration parameters: CountComments. |
| 62 | +Metrics/MethodLength: |
| 63 | + Max: 94 |
| 64 | + |
| 65 | +# Offense count: 18 |
| 66 | +Metrics/PerceivedComplexity: |
| 67 | + Max: 25 |
| 68 | + |
| 69 | +# Offense count: 1 |
| 70 | +# Cop supports --auto-correct. |
| 71 | +Performance/RedundantBlockCall: |
| 72 | + Exclude: |
| 73 | + - 'lib/puppet-lint/tasks/puppet-lint.rb' |
| 74 | + |
| 75 | +# Offense count: 7 |
| 76 | +# Configuration parameters: EnforcedStyle, SupportedStyles. |
| 77 | +# SupportedStyles: nested, compact |
| 78 | +Style/ClassAndModuleChildren: |
| 79 | + Exclude: |
| 80 | + - 'lib/puppet-lint.rb' |
| 81 | + - 'lib/puppet-lint/bin.rb' |
| 82 | + - 'lib/puppet-lint/checkplugin.rb' |
| 83 | + - 'lib/puppet-lint/checks.rb' |
| 84 | + - 'lib/puppet-lint/data.rb' |
| 85 | + - 'lib/puppet-lint/optparser.rb' |
| 86 | + |
| 87 | +# Offense count: 20 |
| 88 | +Style/MultilineBlockChain: |
| 89 | + Enabled: false |
0 commit comments