Permalink
Browse files

Normalize yml files.

  • Loading branch information...
1 parent 5e74610 commit 1cfcf3828998efaa64f1bcedfd0d757a3974ba7d @XhmikosR XhmikosR committed Jul 18, 2016
Showing with 43 additions and 39 deletions.
  1. +27 −23 .codeclimate.yml
  2. +16 −16 .rubocop.yml
View
@@ -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
View
@@ -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:
@@ -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
@@ -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:
@@ -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:

0 comments on commit 1cfcf38

Please sign in to comment.