Skip to content

Commit

Permalink
Update cop names
Browse files Browse the repository at this point in the history
As of Rubocop 0.50, a plenty of cops are being renamed and moved to
brand new Naming namespace.
  • Loading branch information
skalee committed Sep 16, 2017
1 parent d16ab4c commit c44c749
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions style/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Style/Encoding:
SupportedStyles:
- when_needed
- always
Style/FileName:
Naming/FileName:
Description: Use snake_case for source file names.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
Enabled: false
Expand Down Expand Up @@ -159,7 +159,7 @@ Style/MethodDefParentheses:
SupportedStyles:
- require_parentheses
- require_no_parentheses
Style/MethodName:
Naming/MethodName:
Description: Use the configured style when naming methods.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
Enabled: true
Expand Down Expand Up @@ -200,7 +200,7 @@ Style/PercentQLiterals:
SupportedStyles:
- lower_case_q
- upper_case_q
Style/PredicateName:
Naming/PredicateName:
Description: Check the names of predicate methods.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
Enabled: true
Expand Down Expand Up @@ -321,7 +321,7 @@ Style/TrivialAccessors:
- to_str
- to_s
- to_sym
Style/VariableName:
Naming/VariableName:
Description: Use the configured style when naming variables.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
Enabled: true
Expand Down Expand Up @@ -460,7 +460,7 @@ Style/SymbolArray:
Description: Use %i or %I for arrays of symbols.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-i
Enabled: false
Style/AccessorMethodName:
Naming/AccessorMethodName:
Description: Check the naming of accessor methods for get_/set_.
Enabled: false
Style/Alias:
Expand All @@ -475,7 +475,7 @@ Style/AsciiComments:
Description: Use only ascii symbols in comments.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-comments
Enabled: false
Style/AsciiIdentifiers:
Naming/AsciiIdentifiers:
Description: Use only ascii symbols in identifiers.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-identifiers
Enabled: false
Expand Down Expand Up @@ -504,7 +504,7 @@ Style/CharacterLiteral:
Description: Checks for uses of character literals.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-character-literals
Enabled: false
Style/ClassAndModuleCamelCase:
Naming/ClassAndModuleCamelCase:
Description: Use CamelCase for classes and modules.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#camelcase-classes
Enabled: true
Expand All @@ -520,7 +520,7 @@ Style/ColonMethodCall:
Description: 'Do not use :: for method call.'
StyleGuide: https://github.com/bbatsov/ruby-style-guide#double-colons
Enabled: false
Style/ConstantName:
Naming/ConstantName:
Description: Constants should use SCREAMING_SNAKE_CASE.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#screaming-snake-case
Enabled: true
Expand Down Expand Up @@ -613,7 +613,7 @@ Style/OneLineConditional:
Description: Favor the ternary operator(?:) over if/then/else/end constructs.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
Enabled: false
Style/OpMethod:
Naming/BinaryOperatorParameter:
Description: When defining binary operators, name the argument other.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#other-arg
Enabled: false
Expand Down

0 comments on commit c44c749

Please sign in to comment.