Presently when a developer pulls code on windows his editor may show a zillion prettier errors due to the Windows default EOL does not match the default prettier EOL of LF. By adding a .gitattributes we can enforce the EOL to be LF (compatible with prettier) on all platforms by default.
This .gitattributes file is based on this example. I added some additional EOL config for *.[json|yaml|cpp|hpp] and a few others. Please review and propose any changes you feel better suit the project and developer experience.
Coverage increased (+0.4%) to 91.015% when pulling 6b6170db17ac2a0473dd08bc8811da383ccb9d51 on wayneparrott:gitattributes into 24d86f561434ce16250b59bf64d6a790bfe68427 on RobotWebTools:develop.
Presently when a developer pulls code on windows his editor may show a zillion prettier errors due to the Windows default EOL does not match the default prettier EOL of LF. By adding a .gitattributes we can enforce the EOL to be LF (compatible with prettier) on all platforms by default.
This .gitattributes file is based on this example. I added some additional EOL config for *.[json|yaml|cpp|hpp] and a few others. Please review and propose any changes you feel better suit the project and developer experience.