I'm using eslint-config-airbnb followed by eslint-config-prettier. My .eslintrc:
{
"extends": ["airbnb", "prettier"]
}
I'm using v2.9.0 of eslint-config-prettier and the react/jsx-one-expression-per-line is off. Yet I get a ton of react/jsx-one-expression-per-line errors and not sure where they are coming from. I have to add rules to my .eslintrc and turn it off there.
Are you sure that's the only eslintrc you're using, and are you sure you're using everything locally installed?
My bad. Config needs to be:
{
"extends": ["airbnb", "prettier", "prettier/react"]
}
Then all is fine.
Most helpful comment
My bad. Config needs to be:
Then all is fine.