# Normaliser toutes les fins de ligne en LF, quel que soit l’OS * text=auto eol=lf # Forcer LF pour les sources courantes *.php text eol=lf *.twig text eol=lf *.js text eol=lf *.ts text eol=lf *.css text eol=lf *.scss text eol=lf *.html text eol=lf *.yml text eol=lf *.yaml text eol=lf *.json text eol=lf *.md text eol=lf *.sql text eol=lf *.sh text eol=lf *.xml text eol=lf *.ini text eol=lf *.env* text eol=lf # Binaires (ne jamais convertir) *.png binary *.jpg binary *.jpeg binary *.gif binary *.svg binary *.pdf binary *.zip binary *.gz binary *.tgz binary *.ico binary *.woff binary *.woff2 binary *.ttf binary *.eot binary # Forcer LF pour tous les fichiers texte * text=auto eol=lf