Skip to content

Commit

Permalink
Fixes #21488 - Update rubocop rule names
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondrej Prazak committed Nov 1, 2017
1 parent 0cf1573 commit a2bdc46
Show file tree
Hide file tree
Showing 54 changed files with 357 additions and 397 deletions.
13 changes: 8 additions & 5 deletions .rubocop.yml
Expand Up @@ -3,7 +3,7 @@ inherit_from:
- .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.0
TargetRubyVersion: 2.2
Include:
- 'app/views/api/**/*.rabl'
Exclude:
Expand Down Expand Up @@ -76,7 +76,7 @@ Style/TrailingCommaInLiteral:
#Style/TrailingCommaInArguments:
#Enabled: false

Style/AccessorMethodName:
Naming/AccessorMethodName:
Enabled: false

Style/RedundantSelf:
Expand Down Expand Up @@ -108,7 +108,7 @@ Style/GuardClause:
Metrics/ParameterLists:
Enabled: false

Style/VariableNumber:
Naming/VariableNumber:
Enabled: false

# a == 0 is not the same as a.zero?, when a is not a number
Expand All @@ -128,7 +128,7 @@ Rails/SkipsModelValidations:
Rails/OutputSafety:
Enabled: false

Style/FileName:
Naming/FileName:
Exclude:
- 'Gemfile'
- 'db/**/*'
Expand All @@ -141,5 +141,8 @@ Rails/ReversibleMigration:
Rails/Blank:
Enabled: false

Style/DotPosition:
Layout/DotPosition:
Enabled: false

Lint/UnderscorePrefixedVariableName:
Enabled: false

0 comments on commit a2bdc46

Please sign in to comment.