Why I Stopped Using Prettier

Опубликовано: 25 Февраль 2023
на канале: Eric Murphy
11,626
341

Prettier is a great tool for automatically formatting your messy code. But being an opinionated code formatter, Prettier can sometimes cause some issues. In this video, I'd like to explain why I no longer use Prettier in my own projects, as well as some alternatives to Prettier. Now you can still get all the time-saving benefits of having your code formatted without the rigidity of Prettier.

Why I Don't Use Prettier: https://antfu.me/posts/why-not-prettier

🌐 My website: https://ericmurphy.xyz
💸 Support the Channel: https://ericmurphy.xyz/donate
🎥 Watch my videos on Odysee: https://odysee.com/@ericnmurphy
💻 My GitHub: https://github.com/ericmurphyxyz

0:00 What is Prettier?
0:37 Why I stopped using Prettier
1:26 Prettier's opinionatedness
2:17 Prettier's automatic line breaks
5:40 Line break issues in GitHub
6:41 Auto-formatting without Prettier
8:52 Consistent code styling in teams
9:53 Fixing code styling with ESLint
11:49 When should you use Prettier?
12:26 Conclusion


Смотрите видео Why I Stopped Using Prettier онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Eric Murphy 25 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 11,62 раз и оно понравилось 34 людям.