Question
What's the difference between using `// prettier-ignore` and creating a Prettier plugin for handling bullet points?
Asked by: USER1264
115 Viewed
115 Answers
Answer (115)
Using `// prettier-ignore` is a quick, per-line solution for disabling Prettier's formatting on specific lines. It's simple but can become tedious for many instances. Creating a Prettier plugin is a more complex but scalable solution that allows you to define custom formatting rules for bullet points across your entire project, providing more consistent and automated behavior.