Skip to content

Commit

Permalink
Normalize yml files.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jul 18, 2016
1 parent 5e74610 commit 1cfcf38
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 39 deletions.
50 changes: 27 additions & 23 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
engines:
rubocop: { enabled: true }
fixme: { enabled: false }
fixme:
enabled: false
rubocop:
enabled: true

exclude_paths:
- .rubocop.yml
- .codeclimate.yml
- .travis.yml
- .gitignore
- .rspec
- .codeclimate.yml
- .gitignore
- .rspec
- .rubocop.yml
- .travis.yml

- Gemfile.lock
- CHANGELOG.{md,markdown,txt,textile}
- CONTRIBUTING.{md,markdown,txt,textile}
- readme.{md,markdown,txt,textile}
- README.{md,markdown,txt,textile}
- Readme.{md,markdown,txt,textile}
- ReadMe.{md,markdown,txt,textile}
- COPYING
- LICENSE

- Gemfile.lock
- CHANGELOG.{md,markdown,txt,textile}
- CONTRIBUTING.{md,markdown,txt,textile}
- readme.{md,markdown,txt,textile}
- README.{md,markdown,txt,textile}
- Readme.{md,markdown,txt,textile}
- ReadMe.{md,markdown,txt,textile}
- COPYING
- LICENSE
- features/**/*
- script/**/*
- site/**/*
- spec/**/*
- test/**/*
- vendor/**/*

- site/**/*
- test/**/*
- vendor/**/*
- features/**/*
- script/**/*
- spec/**/*
ratings:
paths:
- lib/**/*.rb
- lib/**/*.rb
32 changes: 16 additions & 16 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
AllCops:
TargetRubyVersion: 2.0
Include:
- lib/**/*.rb
- lib/**/*.rb
Exclude:
- lib/jekyll/convertible.rb
- lib/jekyll/document.rb
- lib/jekyll/renderer.rb
- bin/**/*
- benchmark/**/*
- script/**/*
- vendor/**/*
- lib/jekyll/convertible.rb
- lib/jekyll/document.rb
- lib/jekyll/renderer.rb
- bin/**/*
- benchmark/**/*
- script/**/*
- vendor/**/*
Lint/EndAlignment:
Severity: error
Lint/UnreachableCode:
Expand All @@ -20,20 +20,20 @@ Lint/UselessAccessModifier:
Metrics/AbcSize:
Max: 20
Metrics/ClassLength:
Max: 300
Exclude:
- !ruby/regexp /features\/.*.rb$/
- !ruby/regexp /test\/.*.rb$/
- !ruby/regexp /features\/.*.rb$/
- !ruby/regexp /test\/.*.rb$/
Max: 300
Metrics/CyclomaticComplexity:
Max: 8
Metrics/LineLength:
Exclude:
- !ruby/regexp /features\/.*.rb/
Max: 90
Severity: warning
Exclude:
- !ruby/regexp /features\/.*.rb/
Metrics/MethodLength:
Max: 20
CountComments: false
Max: 20
Severity: error
Metrics/ModuleLength:
Max: 240
Expand All @@ -48,8 +48,8 @@ Style/AlignArray:
Style/AlignHash:
EnforcedHashRocketStyle: table
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
Enabled: false
EnforcedStyle: with_fixed_indentation
Style/AndOr:
Severity: error
Style/Attr:
Expand All @@ -61,7 +61,7 @@ Style/ClassAndModuleChildren:
Style/Documentation:
Enabled: false
Exclude:
- !ruby/regexp /features\/.*.rb$/
- !ruby/regexp /features\/.*.rb$/
Style/DoubleNegation:
Enabled: false
Style/EmptyLinesAroundAccessModifier:
Expand Down

0 comments on commit 1cfcf38

Please sign in to comment.