Skip to content

Commit

Permalink
fix rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Apr 5, 2017
1 parent 0d07759 commit de79c17
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
23 changes: 10 additions & 13 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Lint/AmbiguousRegexpLiteral:
Enabled: false

# DISABLED
Lint/Eval:
Security/Eval:
Enabled: false

# DISABLED
Expand Down Expand Up @@ -168,6 +168,9 @@ Style/ClassAndModuleChildren:
Style/ClassCheck:
Enabled: false

Metrics/BlockLength:
Enabled: false

Metrics/ClassLength:
Enabled: false

Expand Down Expand Up @@ -211,7 +214,7 @@ Style/SpaceInsideParens:
Style/LeadingCommentSpace:
Enabled: false

Style/SingleSpaceBeforeFirstArg:
Style/SpaceBeforeFirstArg:
Enabled: false

Style/SpaceAfterColon:
Expand All @@ -220,7 +223,7 @@ Style/SpaceAfterColon:
Style/SpaceAfterComma:
Enabled: false

Style/SpaceAfterControlKeyword:
Style/SpaceAroundKeyword:
Enabled: false

Style/SpaceAfterMethodName:
Expand Down Expand Up @@ -268,9 +271,6 @@ Style/Documentation:
Style/DefWithParentheses:
Enabled: false

Style/DeprecatedHashMethods:
Enabled: false

Style/DotPosition:
Enabled: false

Expand Down Expand Up @@ -308,9 +308,6 @@ Style/EmptyLiteral:
Metrics/LineLength:
Enabled: false

Style/MethodCallParentheses:
Enabled: false

Style/MethodDefParentheses:
Enabled: false

Expand All @@ -323,7 +320,10 @@ Style/TrailingWhitespace:
Style/StringLiterals:
Enabled: false

Style/TrailingComma:
Style/TrailingCommaInLiteral:
Enabled: false

Style/TrailingCommaInArguments:
Enabled: false

Style/GlobalVars:
Expand Down Expand Up @@ -464,9 +464,6 @@ Metrics/ParameterLists:
Lint/RequireParentheses:
Enabled: false

Lint/SpaceBeforeFirstArg:
Enabled: false

Style/ModuleFunction:
Enabled: false

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ group :test do
gem "puppetlabs_spec_helper"
gem "metadata-json-lint"
gem "rspec-puppet-facts"
gem 'rubocop', '0.33.0'
gem 'rubocop', '> 0.33.0'
gem 'simplecov', '>= 0.11.0'
gem 'simplecov-console'
gem 'librarian-puppet' , '>=2.0'
Expand Down

0 comments on commit de79c17

Please sign in to comment.