Skip to content

Commit

Permalink
Add .gitattributes file
Browse files Browse the repository at this point in the history
This file has a setting that assures that our end of line defaults to
lf for all developers when cloning or checking out a branch. This is
important for windows users. When they checkout, the eol is being set
to CRLF which slows down the build and requires they run the lint
command and stage every file in the application to keep linting from
slowing down the build process.

https://prettier.io/docs/en/options.html#end-of-line

Signed-off-by: Derick Montague <[email protected]>
Change-Id: I700e5f1591437c60868ac7e81bd29d613ad868e9
  • Loading branch information
derick-montague authored and rfrandse committed Jun 30, 2022
1 parent aaa48d7 commit 02dd20b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf

0 comments on commit 02dd20b

Please sign in to comment.