-
-
Save rupeshtiwari/59e9e71e64b61a314fed3d9b349929fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install | |
npm install --global prettier | |
npm i -g esformatter | |
echo $(npm bin -g)/node $(npm bin -g)/prettier --write \"\$file\" | |
#Copy down the output as TypeScript Custom Code Formatter Path and it is like below. | |
#/home/ec2-user//.nvm/versions/node/v10.16.3/bin/node /home/ec2-user/.nvm/versions/node/v10.16.3/bin/prettier --write "$file" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment