config/default.yml in rubocop-discourse-2.0.1 vs config/default.yml in rubocop-discourse-2.1.0
- old
+ new
@@ -1,6 +1,9 @@
Discourse/NoChdir:
Enabled: true
+ Exclude:
+ - 'spec/**/*' # Specs are run sequentially, so chdir can be used
+ - 'plugins/*/spec/**/*'
Discourse/NoDirectMultisiteManipulation:
Enabled: true
Discourse/NoTimeNewWithoutArgs: