You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prettier and the rule unfortunately disagree about the indentation in ternaries:
condition
? null
: html`<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam in dui mauris.</p> `;
There are many rules that conflict only sometimes, which means that you can use them with Prettier if you know what you’re doing. But the point of eslint-config-prettier is to help people get a conflict-free ESLint+Prettier setup (not everyone is an expert).
I don't understand how it conflicts with Prettier.
It's been enabled in Prettier codebase since the rule released. prettier/prettier#12469
I never see any conflicts.
Quote from #269 (comment)
This doesn't mean they are conflicting.
The text was updated successfully, but these errors were encountered: