cuttle-cards / cuttle

A two-player battle card game for all ages, built with nodejs, sailsjs, and vuejs
MIT License
145 stars 115 forks source link

Add .gitattributes to handle line endings between operating systems #1091

Closed seriouslysean closed 1 month ago

seriouslysean commented 1 month ago

Issue number

Relevant issue number

Please check the following

Please describe additional details for testing this change

@itsalaidbacklife make sure you test this backwards and forwards. I used a special command to get the file tree of the repo before generating this file, so it's based off the files we have declared today.

git ls-tree -r HEAD --name-only | sed -n 's/..*\.//p' | sort | uniq -c | sort -nr

Which gives something like this:

 228 js
  73 svg
  65 vue
  56 png
  13 yml
  13 json
   9 md
   4 jpg
   2 scss
   2 mp3
   2 html
   1 webp
   1 pdf
   1 mjs
   1 mdx
   1 ico
   1 gitkeep
   1 gif
   1 drawio
   1 css