config/rails.yml in rubocop-rickselby-0.5.0 vs config/rails.yml in rubocop-rickselby-0.6.0
- old
+ new
@@ -1,8 +1,24 @@
require:
- rubocop-rails
- rubocop-rails-accessibility
+# casecmp does not work with all of Unicode, so this is not a good optimization for internationalized apps
+Performance/Casecmp:
+ Enabled: false
+
+# This cop is unsafe because it has known compatibility issues with ActiveRecord and other frameworks.
+Performance/Count:
+ Enabled: false
+
+# This cop is unsafe because it has known compatibility issues with ActiveRecord and other frameworks.
+Performance/Detect:
+ Enabled: false
+
+# Sum is different between enumerables and ActiveRecord, let's not cause confusion...
+Performance/Sum:
+ Enabled: false
+
Style/Documentation:
Exclude:
- app/controllers/**/*
- app/models/**/*
- db/migrate/**/*