chore(prettier): add end of line settings (#1070)

Remove `dos2unix` uses in the `format` command because Pretter is now
handling the end of line options.
This commit is contained in:
Benjamin Cabanes 2019-02-12 10:11:57 -05:00 committed by Jason Jean
parent e8f292279e
commit 35c4089160
14 changed files with 886 additions and 889 deletions

View File

@ -1,3 +1,4 @@
{ {
"singleQuote": true "singleQuote": true,
"endOfLine": "lf"
} }

View File

@ -2,7 +2,3 @@
echo "Prettier" echo "Prettier"
prettier "**/*.{ts,js,json,css,scss,md}" "!**/{__name__,__directory__}/**" --write prettier "**/*.{ts,js,json,css,scss,md}" "!**/{__name__,__directory__}/**" --write
echo "Line endings"
find packages -type f -print0 | xargs -0 dos2unix
find scripts -type f -print0 | xargs -0 dos2unix