aboutsummaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index eb410376fe..9d1ec47aee 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -15,6 +15,11 @@ CustomCops/RefuteNot:
Include:
- '**/*_test.rb'
+# Prefer assert_not over assert !
+CustomCops/AssertNot:
+ Include:
+ - '**/*_test.rb'
+
# Prefer &&/|| over and/or.
Style/AndOr:
Enabled: true