code.cestus.io/tools/fabricator@v0.4.3/.gitattributes (about) 1 # Code generated by fabricator-generate-project-go 2 # 3 # Modifications in code regions will be lost during regeneration! 4 # Apply LF to files with no extension 5 * text eol=lf 6 7 # Exclude files with extensions from the previous rule 8 *.* -text 9 10 # We want all code and template files in this repo to use LF line endings. 11 *.c text eol=lf 12 *.cpp text eol=lf 13 *.css text eol=lf 14 *.go text eol=lf 15 *.h text eol=lf 16 *.hpp text eol=lf 17 *.html text eol=lf 18 *.js text eol=lf 19 *.json text eol=lf 20 *.md text eol=lf 21 *.template text eol=lf 22 *.tmpl text eol=lf 23 *.txt text eol=lf 24 *.yml text eol=lf 25 *.py text eol=lf 26 *.bru text eol=lf 27 *.sh text eol=lf 28 *.adoc text eol=lf 29 go.* text eol=lf 30 *.proto text eol=lf 31 *.toml text eol=lf 32 .env.example text eol=lf 33 *.yaml text eol=lf 34 *.sql text eol=lf 35 36 37 # Git-specific config files. LF too. 38 .gitignore text eol=lf 39 .gitattributes text eol=lf 40 41 # Vendored libs may contain a few non-text files. Let the OS deal with those. 42 vendor text=auto 43 44 # Force CRLF for Windows batch scripts 45 *.bat text eol=crlf 46 *.ps1 text eol=crlf