mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
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:
parent
9fea43e46a
commit
b27e009655
|
@ -1,6 +1,3 @@
|
||||||
require:
|
|
||||||
- ./lib/rubocop/cop/discourse_cops.rb
|
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
TargetRubyVersion: 2.4
|
TargetRubyVersion: 2.4
|
||||||
DisabledByDefault: true
|
DisabledByDefault: true
|
||||||
|
@ -128,9 +125,3 @@ Style/SingleLineMethods:
|
||||||
Style/Semicolon:
|
Style/Semicolon:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
AllowAsExpressionSeparator: true
|
AllowAsExpressionSeparator: true
|
||||||
|
|
||||||
DiscourseCops/NoChdir:
|
|
||||||
Enabled: true
|
|
||||||
Exclude:
|
|
||||||
- 'spec/**/*' # Specs are run sequentially, so chdir can be used
|
|
||||||
- 'lib/backup_restore/**/*' # TODO
|
|
Loading…
Reference in New Issue
Block a user