Skip to content

Files

Latest commit

 

History

History
21 lines (14 loc) · 530 Bytes

Generic.Files.LineEndings.md

File metadata and controls

21 lines (14 loc) · 530 Bytes

Pattern: Invalid end of line character

Issue: -

Description

This rule ensures that files use a specific line ending, which can be customised by setting the eolChar property.

Configuration

<rule ref="Generic.Files.LineEndings">
    <properties>
        <property name="eolChar" value="\r\n" />
    </properties>
</rule>

Further Reading