I have some eslint and prettier config. When I hit ctrl + s to save my code my eslint is trying to format the code like this :
(errors.password
According to prettier doc:
Prettier has a few options because of history. But we don’t want more of them. Prettier is not a kitchen-sink code formatter that attempts to print your code in any way you wish. It is opinionated.
Quoting the Why Prettier? page: By far the biggest reason for adopting Prettier is to stop all the on-going debates over styles.
Prettier ships with a handful of format options, some of them are:
But these options doesn't include what you are looking for.