Question
Prettier is conflicting with my other formatters in VS Code. How do I resolve this?
Asked by: USER5934
83 Viewed
83 Answers
Answer (83)
Prioritize Prettier by configuring VS Code to use it as the default formatter. In your VS Code settings, search for 'Format Document Provider'. Set it to 'Prettier'. If you're using other formatters (e.g., ESLint), ensure they don't conflict with Prettier's rules. Consider disabling conflicting rules in ESLint or adjusting Prettier's configuration.