Handle [arrow-body-style] and [prefer-arrow-callback] conflicts
mainThese rules can conflict with eslint-plugin-prettier when using --fix. To avoid issues, you should disable them or ensure they are managed correctly. If you do not use eslint-plugin-prettier and run eslint --fix and prettier --write as separate steps, these rules are safe to use.
To turn these rules off, you can:
- Add
"plugin:prettier/recommended"to your"extends"array. - Add
"prettier/prettier"to your"extends"array. - Remove them from your config or disable them manually.