diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4bf8e89 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,37 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# Source code +*.c text +*.h text +*.js text +*.json text +*.rs text + +# Documentation +*.md text +*.txt text + +# Configuration +*.toml text +*.gyp text + +# Scripts +*.sh text eol=lf + +# Binary files +*.node binary +*.o binary +*.a binary +*.so binary +*.dylib binary +*.dll binary + +# Git +.gitattributes text +.gitignore text + +# Linguist overrides +src/parser.c linguist-generated +src/grammar.json linguist-generated +src/node-types.json linguist-generated