mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-12-18 17:22:43 +00:00
Use own line for comments
Move comments found by NewLineComment warning of the SpaceBeforeSingleLineComment sniff. Change-Id: I15e9c33ebb562a4062a7c0149f3ffa2abccf5d65
This commit is contained in:
parent
a3f77b64f6
commit
ef0b19887b
|
@ -1,8 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
||||
</rule>
|
||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
|
||||
<file>.</file>
|
||||
<arg name="extensions" value="php"/>
|
||||
<arg name="encoding" value="UTF-8"/>
|
||||
|
|
|
@ -121,7 +121,8 @@ class SyntaxHighlightAce {
|
|||
'R' => [],
|
||||
'Razor' => [],
|
||||
'RDoc' => [],
|
||||
'RHTML' => [], // HTML with Rcode, not ruby
|
||||
// HTML with Rcode, not ruby
|
||||
'RHTML' => [],
|
||||
'RST' => [ 'rst', 'rest', 'restructuredtext' ],
|
||||
'Ruby' => [ 'ruby', 'rb', 'duby' ],
|
||||
'Rust' => [ 'rust' ],
|
||||
|
|
Loading…
Reference in a new issue