config/rails.yml in talkable-style-1.2022.0901 vs config/rails.yml in talkable-style-1.2022.1220
- old
+ new
@@ -1,7 +1,9 @@
require: rubocop-rails
+Rails/ActionControllerFlashBeforeRender:
+ Enabled: true
Rails/ActionControllerTestCase:
Enabled: true
Rails/ActionFilter:
Enabled: true
Rails/ActiveRecordAliases:
@@ -10,10 +12,12 @@
Enabled: true
Rails/ActiveRecordOverride:
Enabled: true
Rails/ActiveSupportAliases:
Enabled: true
+Rails/ActiveSupportOnLoad:
+ Enabled: true
Rails/AddColumnIndex:
Enabled: true
Rails/AfterCommitOverride:
Enabled: true
Rails/ApplicationController:
@@ -69,18 +73,22 @@
Enabled: true
Rails/FindById:
Enabled: true
Rails/FindEach:
Enabled: true
+Rails/FreezeTime:
+ Enabled: true
Rails/HasAndBelongsToMany:
Enabled: true
Rails/HelperInstanceVariable:
Enabled: true
Rails/HttpPositionalArguments:
Enabled: true
Rails/HttpStatus:
Enabled: true
+Rails/IgnoredColumnsAssignment:
+ Enabled: true
Rails/IgnoredSkipActionFilterOption:
Enabled: true
Rails/IndexBy:
Enabled: true
Rails/IndexWith:
@@ -150,10 +158,12 @@
Include:
- db/migrate/*.rb
- db/sharded_migrate/*.rb
Rails/RootJoinChain:
Enabled: true
+Rails/RootPathnameMethods:
+ Enabled: true
Rails/RootPublicPath:
Enabled: true
Rails/SafeNavigation:
Enabled: true
Rails/SafeNavigationWithBlank:
@@ -179,10 +189,14 @@
Enabled: true
Rails/TimeZoneAssignment:
Enabled: true
Rails/ToFormattedS:
Enabled: true
+Rails/ToSWithArgument:
+ Enabled: true
+Rails/TopLevelHashWithIndifferentAccess:
+ Enabled: true
Rails/TransactionExitStatement:
Enabled: true
Rails/UniqBeforePluck:
Enabled: true
Rails/UniqueValidationWithoutIndex:
@@ -199,8 +213,10 @@
Rails/Validation:
Enabled: true
Rails/WhereEquals:
Enabled: true
Rails/WhereExists:
+ Enabled: true
+Rails/WhereMissing:
Enabled: true
Rails/WhereNot:
Enabled: true