Add rails cops to rubocop todo

This commit is contained in:
Tom Hughes 2015-02-25 00:32:12 +00:00
parent a6b84a0294
commit 750484d1b5
2 changed files with 33 additions and 7 deletions

View file

@ -1,5 +1,8 @@
inherit_from: .rubocop_todo.yml
AllCops:
RunRailsCops: true
Style/BracesAroundHashParameters:
EnforcedStyle: context_dependent

View file

@ -1,5 +1,5 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2015-02-16 19:20:52 +0000 using RuboCop version 0.29.1.
# on 2015-02-25 00:27:05 +0000 using RuboCop version 0.29.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
@ -9,7 +9,7 @@
Lint/AmbiguousOperator:
Enabled: false
# Offense count: 110
# Offense count: 107
Lint/AmbiguousRegexpLiteral:
Enabled: false
@ -26,7 +26,7 @@ Lint/HandleExceptions:
Lint/ParenthesesAsGroupedExpression:
Enabled: false
# Offense count: 546
# Offense count: 542
Metrics/AbcSize:
Max: 194
@ -43,7 +43,7 @@ Metrics/ClassLength:
Metrics/CyclomaticComplexity:
Max: 21
# Offense count: 2112
# Offense count: 2092
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 520
@ -62,6 +62,28 @@ Metrics/ParameterLists:
Metrics/PerceivedComplexity:
Max: 24
# Offense count: 164
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, Include.
Rails/ActionFilter:
Enabled: false
# Offense count: 2
# Configuration parameters: Include.
Rails/HasAndBelongsToMany:
Enabled: false
# Offense count: 17
# Cop supports --auto-correct.
# Configuration parameters: Include.
Rails/ReadWriteAttribute:
Enabled: false
# Offense count: 123
# Configuration parameters: Include.
Rails/Validation:
Enabled: false
# Offense count: 5
Style/AccessorMethodName:
Enabled: false
@ -70,11 +92,11 @@ Style/AccessorMethodName:
Style/AsciiComments:
Enabled: false
# Offense count: 306
# Offense count: 305
Style/Documentation:
Enabled: false
# Offense count: 41
# Offense count: 39
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: false
@ -114,7 +136,8 @@ Style/RescueModifier:
Style/StringLiteralsInInterpolation:
Enabled: false
# Offense count: 3
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
Style/TrivialAccessors:
Enabled: false