From b27e009655a866973f04e16f6694b8ab853124d3 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 13 Nov 2019 10:26:40 +0000 Subject: [PATCH] DEV: Temporarily remove NoChdir cop We inherit this rubocop config from plugins and other projects, so the `require` line does not work reliably. --- .rubocop.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 0ca7d4314d2..0d66c3bf6c1 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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 \ No newline at end of file