Eslint and prettier conflict on operator-linebreak rule Eslint and prettier conflict on operator-linebreak rule reactjs reactjs

Eslint and prettier conflict on operator-linebreak rule


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:

  • Tab Width
  • Tabs
  • Semicolons
  • Quotes
  • Quote Props
  • JSX Quotes
  • Trailing Commas

But these options doesn't include what you are looking for.