DEV: Temporarily remove NoChdir cop

We inherit this rubocop config from plugins and other projects, so the `require` line does not work reliably.
This commit is contained in:
David Taylor 2019-11-13 10:26:40 +00:00
parent 9fea43e46a
commit b27e009655

View File

@ -1,6 +1,3 @@
require:
- ./lib/rubocop/cop/discourse_cops.rb
AllCops:
TargetRubyVersion: 2.4
DisabledByDefault: true
@ -128,9 +125,3 @@ Style/SingleLineMethods:
Style/Semicolon:
Enabled: true
AllowAsExpressionSeparator: true
DiscourseCops/NoChdir:
Enabled: true
Exclude:
- 'spec/**/*' # Specs are run sequentially, so chdir can be used
- 'lib/backup_restore/**/*' # TODO