diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e62b828 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..22fcc2c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,21 @@ +# Normalize line endings to LF for everything Git considers text, so a file's on-disk bytes +# never depend on the OS or editor that last touched it. This matters most for Flyway migrations +# under src/main/resources/db/migration: Flyway checksums the file content it applies, and a +# CRLF/LF flip after a migration has already run invalidates that checksum on every other clone. +* text=auto eol=lf + +*.sql text eol=lf +*.java text eol=lf +*.yaml text eol=lf +*.yml text eol=lf +*.properties text eol=lf +*.css text eol=lf +*.md text eol=lf +*.xml text eol=lf + +*.jar binary +*.png binary +*.jpg binary +*.jpeg binary +*.ico binary +*.icns binary