config/default.yml in salsify_rubocop-0.47.2 vs config/default.yml in salsify_rubocop-0.48.0
- old
+ new
@@ -1,5 +1,9 @@
+Salsify/RailsApplicationSerializer:
+ Description: 'Serializers must subclass ApplicationSerializer.'
+ Enabled: false
+
Salsify/RailsApplicationRecord:
Description: 'Models must subclass ApplicationRecord.'
Enabled: false
Salsify/RspecDocString:
@@ -10,18 +14,24 @@
- single_quotes
- double_quotes
Include:
- 'spec/**/*'
+Salsify/RspecDotNotSelfDot:
+ Description: 'Enforce ".<class method>" instead of "self.<class method>" for example group description.'
+ Enabled: true
+ Include:
+ - 'spec/**/*'
+
Salsify/RspecStringLiterals:
Description: 'Enforce consistent quote style for non-doc strings in RSpec tests.'
Enabled: true
EnforcedStyle: single_quotes
SupportedStyles:
- single_quotes
- double_quotes
-# Include:
-# - 'spec/**/*'
+ Include:
+ - 'spec/**/*'
Salsify/StyleDig:
Description: 'Recommend `dig` for deeply nested access.'
Enabled: true
AutoCorrect: false