Skip to content

Instantly share code, notes, and snippets.

@wongcyrus
Last active March 14, 2024 03:13
Show Gist options
  • Save wongcyrus/4e8a2e78045e11f7c5a55e4e244fe3d2 to your computer and use it in GitHub Desktop.
Save wongcyrus/4e8a2e78045e11f7c5a55e4e244fe3d2 to your computer and use it in GitHub Desktop.
#Install
npm install --global prettier
npm i -g esformatter
# Open Preferences -> TypeScript Support -> Format Code on Save -> On
@berlin2
Copy link

berlin2 commented Oct 24, 2022

I believe it is --write $file
(not --write "$file")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment