bublejs / buble

https://buble.surge.sh
MIT License
871 stars 64 forks source link

Add .gitattributes to prevent test/lint failures in some envs #167

Closed johncaruso closed 6 years ago

johncaruso commented 6 years ago

After an initial clone, due to my global git settings, npm install showed failing tests that were all related to a comparisons with line endings of \n failing.

Adding a .gitattributes allows git glone in windows to preserve the line endings correctly allowing the unit tests to pass - regardless of a users global git config.

adrianheine commented 6 years ago

Thanks!