Skip to content

A platform for community discussion. Free, open, simple.

DEV: enhances rubocop to catch pause_test on commit (#33532)

Yuriy Kurant031c0d272c2a
diff --git a/.rubocop.yml b/.rubocop.yml
index 60b8f3612da..f1e4cca7ad3 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -35,6 +35,9 @@ Discourse/Plugins/NoMonkeyPatching:
Lint/Debugger:
Exclude:
- script/**/*
+ DebuggerMethods:
+ SystemHelpers:
+ - pause_test
RSpec/InstanceVariable:
Enabled: true