mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-24 07:53:51 +00:00
0e7795052d
composer: * mediawiki/mediawiki-codesniffer: 18.0.0 → 19.1.0 npm: * grunt: 1.0.1 → 1.3.0 * https://npmjs.com/advisories/577 (CVE-2018-3721) * https://npmjs.com/advisories/745 * https://npmjs.com/advisories/782 (CVE-2018-16487) * https://npmjs.com/advisories/788 * https://npmjs.com/advisories/813 * https://npmjs.com/advisories/1065 (CVE-2019-10744) * https://npmjs.com/advisories/1523 (CVE-2019-10744) Additional changes: * Replaced "jakub-onderka" packages with "php-parallel-lint". * Committed package-lock.json (T179229) too. * And updating CoC link to use Special:MyLanguage (T202047). * Consolidated .phpcs.xml encoding to "UTF-8" (T200956). * Dropped .php5 and .inc files from .phpcs.xml (T200956). * Also sorted "composer fix" command to run phpcbf last. * Set `root: true` in .eslintrc.json (T206485). * Enable eslint caching. Change-Id: I11c4c578e552bb40b589d95ef398a5d51f6f89ee
12 lines
427 B
XML
12 lines
427 B
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php" />
|
|
<arg name="encoding" value="UTF-8" />
|
|
<exclude-pattern>vendor</exclude-pattern>
|
|
</ruleset>
|