diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 000000000..eaebedf15 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,4 @@ +# CRLF -> LF +59ccc0a5af93d4b3d97df2bd6b946bba5a6d5c5c +# Checkstyle +eb52afa296fffc4397e2f4014c7eb8094f50240e diff --git a/.gitattributes b/.gitattributes index 4af28b5a7..93d8d6fbb 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,34 @@ -*.java diff=java -#*.java merge=import-driver #TODO not implemented, I'm just using a merge tool instead \ No newline at end of file +* 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 diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index ab92f3bba..d080f62ec 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -1,201 +1,205 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +