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:
parent
e8f292279e
commit
35c4089160
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"singleQuote": true
|
"singleQuote": true,
|
||||||
|
"endOfLine": "lf"
|
||||||
}
|
}
|
||||||
@ -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
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user