skill-assessment-app/.rubocop.yml

62 lines
927 B
YAML
Raw Normal View History

2016-07-26 13:50:35 -05:00
AllCops:
Exclude:
- db/schema.rb
- db/seeds.rb
- bin/**/*
2016-07-28 12:53:35 -05:00
- vendor/assets/**/*
2016-07-26 13:50:35 -05:00
2016-07-28 09:37:46 -05:00
Style/AndOr:
Enabled: false
2016-07-26 13:50:35 -05:00
Style/ClassAndModuleChildren:
Exclude:
- test/test_helper.rb
Style/Documentation:
Enabled: false
Style/EmptyLines:
Exclude:
- config/initializers/sorcery.rb
Style/ExtraSpacing:
Exclude:
- db/migrate/**/*
Style/IndentationConsistency:
EnforcedStyle: rails
2016-07-30 16:25:09 -05:00
Exclude:
- config/routes.rb
2016-07-26 13:50:35 -05:00
Style/MethodDefParentheses:
Enabled: false
Style/SpaceBeforeFirstArg:
Exclude:
- config/routes.rb
Style/StringLiterals:
Enabled: false
Metrics/AbcSize:
Exclude:
- db/migrate/**/*
2016-08-01 09:50:01 -05:00
Max: 20
2016-07-26 13:50:35 -05:00
2016-08-02 15:55:37 -05:00
# TODO: remove this cop exception after refactor
Metrics/ClassLength:
Exclude:
- test/**/*
2016-08-02 15:55:37 -05:00
2016-07-26 13:50:35 -05:00
Metrics/LineLength:
Max: 110
Exclude:
- Rakefile
- config/**/*
- lib/tasks/**/*
- test/test_helper.rb
Metrics/MethodLength:
Exclude:
- db/migrate/*