Closed ivikash closed 7 years ago
(setq prettier-js-args '(
"--print-width" "80"
"--single-quote" "true"
"--no-semi"
"--no-bracket-spacing"
))
Works!
You have an example of this in the README.md
. You can set arguments like this:
(setq prettier-js-args '(
"--trailing-comma" "all"
"--bracket-spacing" "false"
))
Let me know if it is not clear enough so we can fix the readme 😃
Oops, looks like I was late! 😂
I'm glad that you got it working! 👍
Thanks @rcoedo 👍
Hey, I am trying to use prettier for typescript. By command line I am using
--print-width 80 --single-quote --no-semi --no-bracket-spacing --write
. Can you please let me know, how can I replicate this in elisp?If I try this
I receive the following error.