Merge pull request #5116 from XhmikosR/yml

Merge pull request 5116
This commit is contained in:
jekyllbot 2016-07-19 12:31:01 -07:00 committed by GitHub
commit 2f9ebaf7f4
2 changed files with 43 additions and 39 deletions

View File

@ -1,29 +1,33 @@
engines: engines:
rubocop: { enabled: true } fixme:
fixme: { enabled: false } enabled: false
rubocop:
enabled: true
exclude_paths: exclude_paths:
- .rubocop.yml - .codeclimate.yml
- .codeclimate.yml - .gitignore
- .travis.yml - .rspec
- .gitignore - .rubocop.yml
- .rspec - .travis.yml
- Gemfile.lock - Gemfile.lock
- CHANGELOG.{md,markdown,txt,textile} - CHANGELOG.{md,markdown,txt,textile}
- CONTRIBUTING.{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}
- Readme.{md,markdown,txt,textile} - Readme.{md,markdown,txt,textile}
- ReadMe.{md,markdown,txt,textile} - ReadMe.{md,markdown,txt,textile}
- COPYING - COPYING
- LICENSE - LICENSE
- features/**/*
- script/**/*
- site/**/*
- spec/**/*
- test/**/*
- vendor/**/*
- site/**/*
- test/**/*
- vendor/**/*
- features/**/*
- script/**/*
- spec/**/*
ratings: ratings:
paths: paths:
- lib/**/*.rb - lib/**/*.rb

View File

@ -20,20 +20,20 @@ Lint/UselessAccessModifier:
Metrics/AbcSize: Metrics/AbcSize:
Max: 20 Max: 20
Metrics/ClassLength: Metrics/ClassLength:
Max: 300
Exclude: Exclude:
- !ruby/regexp /features\/.*.rb$/ - !ruby/regexp /features\/.*.rb$/
- !ruby/regexp /test\/.*.rb$/ - !ruby/regexp /test\/.*.rb$/
Max: 300
Metrics/CyclomaticComplexity: Metrics/CyclomaticComplexity:
Max: 8 Max: 8
Metrics/LineLength: Metrics/LineLength:
Max: 90
Severity: warning
Exclude: Exclude:
- !ruby/regexp /features\/.*.rb/ - !ruby/regexp /features\/.*.rb/
Max: 90
Severity: warning
Metrics/MethodLength: Metrics/MethodLength:
Max: 20
CountComments: false CountComments: false
Max: 20
Severity: error Severity: error
Metrics/ModuleLength: Metrics/ModuleLength:
Max: 240 Max: 240
@ -48,8 +48,8 @@ Style/AlignArray:
Style/AlignHash: Style/AlignHash:
EnforcedHashRocketStyle: table EnforcedHashRocketStyle: table
Style/AlignParameters: Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
Enabled: false Enabled: false
EnforcedStyle: with_fixed_indentation
Style/AndOr: Style/AndOr:
Severity: error Severity: error
Style/Attr: Style/Attr: