config/default.yml in rubocop-discourse-2.1.0 vs config/default.yml in rubocop-discourse-2.1.1
- old
+ new
@@ -2,16 +2,30 @@
Enabled: true
Exclude:
- 'spec/**/*' # Specs are run sequentially, so chdir can be used
- 'plugins/*/spec/**/*'
-Discourse/NoDirectMultisiteManipulation:
- Enabled: true
-
Discourse/NoTimeNewWithoutArgs:
Enabled: true
Discourse/NoUriEscapeEncode:
Enabled: true
+# Specs
+
+Discourse/NoDirectMultisiteManipulation:
+ Enabled: true
+ Patterns:
+ - _spec.rb
+ - "(?:^|/)spec/"
+
Discourse/TimeEqMatcher:
Enabled: true
+ Patterns:
+ - _spec.rb
+ - "(?:^|/)spec/"
+
+Discourse/NoJsonParseResponse:
+ Enabled: true
+ Patterns:
+ - _spec.rb
+ - "(?:^|/)spec/"