Skip to content
On this page

SpaceAfterCast

Ensures there is a single space after cast tokens.

Scope

Generic.Formatting.SpaceAfterCast

Description

Exactly one space is allowed after a cast.

Properties

Property NameTypeDefaultAvailable Since
ignoreNewlinesboolfalse3.4.0
spacingint13.4.0

Usage

xml
<rule ref="Generic.Formatting.SpaceAfterCast">
    <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.