mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 06:53:45 +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:
|
||||
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
|
Loading…
Reference in New Issue
Block a user