Add gitattributes file

With two configurations:

1. `* text=auto`: normalizes line endings for all files in the repo
2. `FILE -diff`: hides the diff of these files by default. I configured this
   for lib/main.js and package-lock.json as they are not (intended to be)
   human readable nor edited by humans. Hence, seeing their diff is mostly
   useless.
This commit is contained in:
Eric Cornelisesn
2020-07-03 11:19:52 +03:00
parent efc1b29f09
commit 52f74a32ee

5
.gitattributes vendored Normal file
View File

@@ -0,0 +1,5 @@
* text=auto
# don't diff machine generated files
lib/main.js -diff
package-lock.json -diff