How to configure prettier to automatically format your code

preview_player
Показать описание
prettier is a code formatter for JavaScript that I very highly recommend! In this I'll show you to install it, how to configure it, what editor plugins you can use, how to make it work nicely with eslint, and how to make it automatically apply to all files when they're committed.
Рекомендации по теме
Комментарии
Автор

What an amazing coincidence, I was telling myself earlier today that I wanted to learn Prettier and you make a video about it! Thanks Kent, it was incredibly helpful!

jewsterbeam
Автор

You are not telling us how to install it from the install link in the prettier webiste. Plus I cannot find any .prettierc file in my scr folder

sujoyinnovates
Автор

how to make you nerdtree like that ?? some other symbol on beside your bash, and debyg cxonsole, problems

zrclassic
Автор

You need to use the no-var and prefer-const rules for prettier to automatically change var keywords into let and/or const.

karamfd
Автор

What theme you are using please tell me the name of this theme and font family

indranilpradhan
Автор

Hi, kent. I have seen you use editorconfig.What is it used for when comparing with prettier

ganeshr
Автор

How to set terminal to use emoji like yours?

kalach
Автор

Kent i gotta hand it to you man. You're a beast.

cchen
Автор

Can anyone else not get this working at all? Following npm install --save-dev prettier, which prettier returns nothing for me...

tomlynch
Автор

48 minutes is not a short video. Just saying. Short is: 5 10 minutes.

Dakilangmanok
Автор

This just makes people lazy. This is why there are so many bad coders that don't even indent their code.

GerbenWijnja
visit shbcf.ru