Skip to content

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

DEV: Exclude plugin specs when running chdir cop

David Taylor0350247130dd
diff --git a/.rubocop.yml b/.rubocop.yml
index dc0fd5cceb2..9a5cd47be77 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -136,3 +136,4 @@ DiscourseCops/NoChdir:
Enabled: true
Exclude:
- 'spec/**/*' # Specs are run sequentially, so chdir can be used
+ - 'plugins/*/spec/**/*'