From 38b1d8f24c0f203df2e8a936a844bd39708ca78b Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Tue, 26 Apr 2022 09:12:32 +0200 Subject: Add .gitattributes --- .editorconfig | 2 +- .gitattributes | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig index 418c402..e72bc3f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,7 +11,7 @@ insert_final_newline = true [*.md] trim_trailing_whitespace = false -[*.{json,yaml,yml,toml,md,babelrc,eslintrc,postcssrc,stylelintrc,ecrc}] +[*.{json,yaml,yml,toml,md,babelrc,eslintrc,postcssrc,stylelintrc,ecrc,gitattributes}] indent_style = space indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ea4d28f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ +# Auto-detect text files, ensure they use LF. +* text=auto eol=lf + +.ecrc export-ignore diff=json linguist-language=JSON +.editorconfig export-ignore linguist-language=INI +.eslintrc export-ignore diff=json linguist-language=JSON +.gitattributes export-ignore +.github export-ignore + +go.mod export-ignore +go.sum export-ignore + +*.md linguist-detectable=true linguist-documentation=false + +resources/_gen/** linguist-vendored -- cgit v1.2.3