mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 09:17:39 +00:00
Ensure CRLF stays out of the repo
Looks like I already failed that project a little :) (cherry picked from commit 066771b2d15748edc72095b75c4626bf445266aa)
This commit is contained in:
parent
fd336feb46
commit
034b910d57
4
.git-blame-ignore-revs
Normal file
4
.git-blame-ignore-revs
Normal file
@ -0,0 +1,4 @@
|
||||
# CRLF -> LF
|
||||
59ccc0a5af93d4b3d97df2bd6b946bba5a6d5c5c
|
||||
# Checkstyle
|
||||
eb52afa296fffc4397e2f4014c7eb8094f50240e
|
36
.gitattributes
vendored
36
.gitattributes
vendored
@ -1,2 +1,34 @@
|
||||
*.java diff=java
|
||||
#*.java merge=import-driver #TODO not implemented, I'm just using a merge tool instead
|
||||
* text=auto
|
||||
# Force Batch files to CRLF
|
||||
*.bat text=crlf
|
||||
|
||||
# Java sources
|
||||
*.java text diff=java
|
||||
*.kt text diff=java
|
||||
*.gradle text diff=java
|
||||
*.gradle.kts text diff=java
|
||||
|
||||
# These files are text and should be normalized (Convert crlf => lf)
|
||||
*.css text diff=css
|
||||
*.df text
|
||||
*.htm text diff=html
|
||||
*.html text diff=html
|
||||
*.js text
|
||||
*.jsp text
|
||||
*.jspf text
|
||||
*.jspx text
|
||||
*.properties text
|
||||
*.tld text
|
||||
*.tag text
|
||||
*.tagx text
|
||||
*.xml text
|
||||
|
||||
# These files are binary and should be left untouched
|
||||
# (binary is a macro for -text -diff)
|
||||
*.class binary
|
||||
*.dll binary
|
||||
*.ear binary
|
||||
*.jar binary
|
||||
*.so binary
|
||||
*.war binary
|
||||
*.jks binary
|
||||
|
@ -96,7 +96,7 @@ Checks based on Google Checks, modified for EngineHub.
|
||||
value="Member name ''{0}'' must match pattern ''{1}''."/>
|
||||
</module>
|
||||
<module name="ParameterName">
|
||||
<property name="format" value="^([a-z][_a-zA-Z0-9]*|[a-z])$"/>
|
||||
<property name="format" value="^([a-z][a-z0-9][_a-zA-Z0-9]*|[a-z])$"/>
|
||||
<message key="name.invalidPattern"
|
||||
value="Parameter name ''{0}'' must match pattern ''{1}''."/>
|
||||
</module>
|
||||
@ -195,6 +195,10 @@ Checks based on Google Checks, modified for EngineHub.
|
||||
<module name="RegexpMultiline">
|
||||
<property name="format" value="^( +)@(Arg|Switch|Command)\(.*?\r?\n\1 {5,}"/>
|
||||
</module>
|
||||
<module name="RegexpMultiline">
|
||||
<property name="format" value="(?s:(\r\n|\r).*)"/>
|
||||
<property name="message" value="CRLF and CR line endings are prohibited, but this file uses them."/>
|
||||
</module>
|
||||
<module name="SuppressionFilter">
|
||||
<property name="file" value="${config_loc}/checkstyle-suppression.xml"/>
|
||||
</module>
|
||||
|
Loading…
Reference in New Issue
Block a user