Exclude plugins from RuboCop checks

approved
#1

Exclude plugins from RuboCop checks

Since official plugins are now in the discourse_test image, rubocop catches issues in plugins.

This is a temporary measure.

diff --git a/.rubocop.yml b/.rubocop.yml
index 5c99bdc..8f24c3f 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -7,6 +7,7 @@ AllCops:
     - 'vendor/**/*'
     - 'node_modules/**/*'
     - 'public/**/*'
+    - 'plugins/**/*'
 
 # Prefer &&/|| over and/or.
 Style/AndOr:

GitHub sha: 73bce82c

1 Like
Approved #2