commit
2f9ebaf7f4
|
@ -1,12 +1,15 @@
|
||||||
engines:
|
engines:
|
||||||
rubocop: { enabled: true }
|
fixme:
|
||||||
fixme: { enabled: false }
|
enabled: false
|
||||||
|
rubocop:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
exclude_paths:
|
exclude_paths:
|
||||||
- .rubocop.yml
|
|
||||||
- .codeclimate.yml
|
- .codeclimate.yml
|
||||||
- .travis.yml
|
|
||||||
- .gitignore
|
- .gitignore
|
||||||
- .rspec
|
- .rspec
|
||||||
|
- .rubocop.yml
|
||||||
|
- .travis.yml
|
||||||
|
|
||||||
- Gemfile.lock
|
- Gemfile.lock
|
||||||
- CHANGELOG.{md,markdown,txt,textile}
|
- CHANGELOG.{md,markdown,txt,textile}
|
||||||
|
@ -18,12 +21,13 @@ exclude_paths:
|
||||||
- COPYING
|
- COPYING
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
|
||||||
- site/**/*
|
|
||||||
- test/**/*
|
|
||||||
- vendor/**/*
|
|
||||||
- features/**/*
|
- features/**/*
|
||||||
- script/**/*
|
- script/**/*
|
||||||
|
- site/**/*
|
||||||
- spec/**/*
|
- spec/**/*
|
||||||
|
- test/**/*
|
||||||
|
- vendor/**/*
|
||||||
|
|
||||||
ratings:
|
ratings:
|
||||||
paths:
|
paths:
|
||||||
- lib/**/*.rb
|
- lib/**/*.rb
|
||||||
|
|
10
.rubocop.yml
10
.rubocop.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue