niftany_rubocop_ruby.yml in niftany-0.3.0 vs niftany_rubocop_ruby.yml in niftany-0.4.0
- old
+ new
@@ -1,8 +1,7 @@
---
AllCops:
- TargetRubyVersion: 2.3
DisplayCopNames: true
Naming/AccessorMethodName:
Description: Check the naming of accessor methods for get_/set_.
Enabled: true
@@ -354,11 +353,11 @@
no_comma
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
EnforcedStyleForMultiline: no_comma
Enabled: true
-Style/TrailingCommaInLiteral:
+Style/TrailingCommaInArrayLiteral:
Description: >-
Checks for trailing comma in array and hash literals. Supported styles are:
comma
consistent_comma
no_comma
@@ -470,11 +469,11 @@
Lint/CircularArgumentReference:
Description: "Don't refer to the keyword argument in the default value."
Enabled: false
-Lint/ConditionPosition:
+Layout/ConditionPosition:
Description: >-
Checks for condition placed in a confusing position relative to
the keyword.
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#same-line-condition'
Enabled: false
@@ -541,16 +540,9 @@
about precedence.
Enabled: false
Lint/UnderscorePrefixedVariableName:
Description: 'Do not use prefix `_` for a variable that is used.'
- Enabled: false
-
-Lint/UnneededDisable:
- Description: >-
- Checks for rubocop:disable comments that can be removed.
- Note: this cop is not disabled when disabling all cops.
- It must be explicitly disabled.
Enabled: false
Lint/Void:
Description: 'Possible use of operator/literal/variable in void context.'
Enabled: false