As per subject, I would love to add eslint and prettier to my assets management in a Phoenix project.
I have a few questions:
- I have found an esbuild plugin for eslint, but not for prettier (and esbuild plugins in general seems so young and the opposite of rock solid…). How can I integrate prettier in esbuild then?
- What is the advantage of using esbuild plugins compared to just write npm scripts to lint and format? The integration with the phx.server process, I supppose?