Make rubocop ignore remote repositories
The introduction of rubocop (Commit 70f3919) missed blacklisting files
which are not part of mediawiki/core. Developers running rubocop
against their working copy would end up with errors reported against
code which is out of the mediawiki/core repository.
Instruct rubocop to ignore some well known paths:
Place holders for additional repositories:
- extensions
- skins
- vendor
And tests/frontend/node_modules which is populated via npm install.
Change-Id: I1abdaa3ef110d981e3c017667f87e698016d6805
This commit is contained in:
parent
c1fab2ba1d
commit
185ab69797
1 changed files with 7 additions and 0 deletions
|
|
@ -1 +1,8 @@
|
|||
inherit_from: .rubocop_todo.yml
|
||||
|
||||
AllCops:
|
||||
Exclude:
|
||||
- 'extensions/**/*'
|
||||
- 'skins/**/*'
|
||||
- 'tests/frontend/node_modules/**/*'
|
||||
- 'vendor/**/*'
|
||||
|
|
|
|||
Loading…
Reference in a new issue