prettier / eslint-config-prettier

Turns off all rules that are unnecessary or might conflict with Prettier.
MIT License
5.4k stars 254 forks source link

react/jsx-wrap-multilines not turned off for props #148

Closed riwu closed 4 years ago

riwu commented 4 years ago

"eslint-config-prettier": "^6.11.0" "extends": ["airbnb", "prettier"] image

The rule react/jsx-wrap-multilines is not turned off which causes conflict with Prettier when a prop value is multiline JSX.

Bug seems to have occurred in the past: https://github.com/prettier/eslint-config-prettier/issues/3

lydell commented 4 years ago

Hi! You seem to have forgotten to add "prettier/react" to the "extends" array.

riwu commented 4 years ago

Thanks!