.rubocop.yml in secretmgr-0.1.0 vs .rubocop.yml in secretmgr-0.2.0
- old
+ new
@@ -1,22 +1,27 @@
-inherit_from: .rubocop_todo.yml
-
-AllCops:
- TargetRubyVersion: 2.6
-
-Style/StringLiterals:
- Enabled: true
- EnforcedStyle: double_quotes
-
-Style/StringLiteralsInInterpolation:
- Enabled: true
- EnforcedStyle: double_quotes
-
-Layout/LineLength:
- Max: 120
-
-Documentation:
- Enabled: false
-
-#追加
-Style/FrozenStringLiteralComment:
- Enabled: false
+inherit_from: .rubocop_todo.yml
+
+require:
+ - rubocop-rake
+ - rubocop-rspec
+
+AllCops:
+ NewCops: enable
+ TargetRubyVersion: 2.6
+
+Style/StringLiterals:
+ Enabled: true
+ EnforcedStyle: double_quotes
+
+Style/StringLiteralsInInterpolation:
+ Enabled: true
+ EnforcedStyle: double_quotes
+
+Layout/LineLength:
+ Max: 120
+
+Style/Documentation:
+ Enabled: false
+#
+Naming/AccessorMethodName:
+ Enabled: false
+