.rubocop.yml in nanoc-4.8.10 vs .rubocop.yml in nanoc-4.8.11
- old
+ new
@@ -43,10 +43,11 @@
# This is used in tests, to verify the effect of state-changing functions.
Style/GlobalVars:
Exclude:
- 'test/**/*.rb'
+ - 'spec/**/*.rb'
# ----- TO ENABLE LATER -----
@@ -162,6 +163,11 @@
Style/GuardClause:
Enabled: false
# Used for “undo work, whatever error happens”
Lint/RescueWithoutErrorClass:
+ Enabled: false
+
+# For the sake of consistency, it makes the most sense to retain $stderr.puts
+# when used in situations where $stderr.flush, $stderr.print, … are also used.
+Style/StderrPuts:
Enabled: false