config/.base_rubocop.yml in fablicop-1.4.0 vs config/.base_rubocop.yml in fablicop-1.4.1
- old
+ new
@@ -98,9 +98,13 @@
# Sometimes, 1000 is better than 1_000. Especially, it's useful to run grep(1) for searching `1000`.
Style/NumericLiterals:
Enabled: false
+# foo.zero? don't care nil case, we should avoid undefined method risk
+Style/NumericPredicate:
+ Enabled: false
+
# We don't care which we use: #yield_self or #then
Style/ObjectThen:
Enabled: false
# We don't care using ENV.fetch or ENV.[]