summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2021-03-09 01:48:02 +0300
committerDerick Montague <derick.montague@ibm.com>2021-03-09 01:54:19 +0300
commit8943eef40d9920be02f3dfb44f6d4ce43cf8edbd (patch)
treee5b88600914d3e51f5c9d921b042f71a96ea1e2d /.gitattributes
parentd6752694d31362bd42c3cbb51a35d36fa2bc25e1 (diff)
downloadwebui-vue-8943eef40d9920be02f3dfb44f6d4ce43cf8edbd.tar.xz
Add .gitattributes file
This file has a setting that assures that our end of line defaults to lf for all developers when cloning or checking out a branch. This is important for windows users. When they checkout, the eol is being set to CRLF which slows down the build and requires they run the lint command and stage every file in the application to keep linting from slowing down the build process. https://prettier.io/docs/en/options.html#end-of-line Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I700e5f1591437c60868ac7e81bd29d613ad868e9
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..94f480de
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+* text=auto eol=lf \ No newline at end of file