summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.editorconfig2
-rw-r--r--.gitattributes15
2 files changed, 16 insertions, 1 deletions
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