jvilk / BrowserFS

BrowserFS is an in-browser filesystem that emulates the Node JS filesystem API and supports storing and retrieving files from various backends.
Other
3.07k stars 218 forks source link

Add .gitattributes #224

Closed 1j01 closed 6 years ago

1j01 commented 6 years ago

Normalize line endings to LF so the linter doesn't complain and tests pass on Windows.

It also required running some commands to update the local repo; these steps would be required for anyone who had previously cloned on Windows (or alternatively the repo could be deleted and recloned):

# (DANGEROUS & DELETEY)
git rm --cached -r .  # Remove every file from git's index.
git reset --hard      # Rewrite git's index to pick up all the new line endings.
jvilk commented 6 years ago

Thanks much!