Re:Using Prettier to format your JavaScript code
by polskibus on Friday March 09, 2018 @02:12AM
(#16550234)
Does it work with Typescript? If not, is there a TS equivalent?
[ Parent
| on HN ]
Re:Using Prettier to format your JavaScript code
by khaliqgant on Friday March 09, 2018 @02:48AM
(#16550351)
I’ve been working on this: https://github.com/khaliqgant/typescript-build
It integrates prettier, eslint:fix, and tslint:fix as part of the build process. Uses husky to run as a precommit hook as well.
Life saver when developing.
Re:Using Prettier to format your JavaScript code
by iMarv on Friday March 09, 2018 @02:43AM
(#16550334)
It works perfectly with Typescript