Improved: Set checkstyle to use LF line endings
(OFBIZ-11428) Setting checkstyle to use LF line endings means that a newline at the end of a source file is correctly detected no matter whether it is checked out with LF or CRLF line endings.
This commit is contained in:
committed by
Jacques Le Roux
parent
f5f2d459ad
commit
5cf41f2a67
@@ -30,7 +30,9 @@ under the License.
|
||||
<property name="fileExtensions" value="java, properties, xml"/>
|
||||
|
||||
<!-- General file conventions -->
|
||||
<module name="NewlineAtEndOfFile"/>
|
||||
<module name="NewlineAtEndOfFile">
|
||||
<property name="lineSeparator" value="lf" />
|
||||
</module>
|
||||
<module name="FileTabCharacter"/>
|
||||
<module name="RegexpSingleline">
|
||||
<property name="format" value="\s+$"/>
|
||||
|
||||
Reference in New Issue
Block a user