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
The only "drawback" is that it brings back the quotes lint error even for non-backtick quotes. Until now they'd just be ignored by XO/ESLint because they're handled by Prettier.
eslint-config-prettier
has several "special rules" that are still useful to have enabled in ESLint, even when using Prettier as your formatter.https://github.com/prettier/eslint-config-prettier#special-rules
Specifically, the
quotes
rule is what I noticed was missing which allows unnecessary backticks to get through. https://github.com/prettier/eslint-config-prettier#forbid-unnecessary-backticksPrettier's "special rules" list should be reviewed and XO should be updated to make better use of them.
The text was updated successfully, but these errors were encountered: