summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-05-25 02:02:57 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-05-25 02:02:57 -0600
commit87085b69ec33075113496ba5da79ad1661694382 (patch)
treebc62ffd4de8a8e312d7474bef92dfc87cb3d2d1f /.rubocop.yml
parent40a73235a16250452f3a4df668eff74b63ef409b (diff)
upgrade RuboCop and adjust rules accordingly
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 2e0a2689..0789e711 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -197,6 +197,8 @@ RSpec/BeNil:
Enabled: true
RSpec/BeforeAfterAll:
Enabled: true
+RSpec/ChangeByZero:
+ Enabled: true
RSpec/ContextWording:
Enabled: false
RSpec/DescribeClass:
@@ -296,6 +298,8 @@ Style/EmptyLiteral:
Enabled: true
Style/EndlessMethod:
Enabled: true
+Style/EnvHome:
+ Enabled: true
Style/ExplicitBlockArgument:
Enabled: false # reason: yield is fine
Style/ExponentialNotation: