mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-04 18:58:37 +00:00
67a191f41a
Exclude the whole lib/ve/* folder instead of the node_modules folder The mediawiki ruleset sets exclude the node_modules folder in root since version 19.0.0 (ab87d2eb60) Change-Id: I585cc0524c179b2a9b472300a39d2d7c7b3ba383
20 lines
565 B
XML
20 lines
565 B
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
|
|
|
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma">
|
|
<severity>5</severity>
|
|
</rule>
|
|
<rule ref="MediaWiki.Classes.FullQualifiedClassName">
|
|
<severity>5</severity>
|
|
</rule>
|
|
<rule ref="Squiz.WhiteSpace.FunctionSpacing.BeforeFirst">
|
|
<severity>5</severity>
|
|
</rule>
|
|
|
|
<file>.</file>
|
|
<arg name="extensions" value="php"/>
|
|
<arg name="encoding" value="UTF-8"/>
|
|
<exclude-pattern type="relative">^lib/ve/*</exclude-pattern>
|
|
</ruleset>
|