Skip to content
On this page

SpreadOperatorSpacingAfter

Verifies spacing between the spread operator and the variable/function call it applies to.

Scope

Generic.WhiteSpace.SpreadOperatorSpacingAfter

Description

There should be no space between the spread operator and the variable/function call it applies to.

Properties

Property NameTypeDefaultAvailable Since
ignoreNewlinesboolfalse3.5.0
spacingint03.5.0

Usage

xml
<rule ref="Generic.WhiteSpace.SpreadOperatorSpacingAfter">
    <properties>
        <property name="ignoreNewlines" value="true" />
    </properties>
</rule>

Examples

No Examples Available

Please edit this page through Github to add examples.

Released under the MIT License.