WATCH NEXT: Javascript Interview Questions and Answers - Dominate Your Next Interview - kzbin.info/www/bejne/rZ-8fHtombRpaJIsi=5DfbGEfhXWiiv0a_
@boycovclub2 жыл бұрын
You are the best teacher!
@MonsterlessonsAcademy2 жыл бұрын
Wow, thank you!
@khanafzal13432 жыл бұрын
Gone through some of your videos . Nice content 👍👍.
@MonsterlessonsAcademy2 жыл бұрын
Awesome, thank you!
@developer48182 жыл бұрын
Is there any way configure prettier to format the html file even with errors?? For example to ignore errors like use of void elements like tag.
@MonsterlessonsAcademy2 жыл бұрын
I don't think so. If it can't be parsed it can't be prettified. Also you always know that your markup is invalid when prettier doesn't format.
@damagee81412 жыл бұрын
Great video! I recently bought your NestJS course on Udemy and have to say that I enjoy your content a lot. I have one question regarding the prettier config. Do you have your config stored on your PC and just copy it into every new project or is there a better way to keep your configs consistent throughout different projects?
@MonsterlessonsAcademy2 жыл бұрын
I'm happy that you like my content! I just copy prettier config from one project to another. If you want to share you want that it was bindded to your project so it work for any developer. You can't just extend some file from your machine this is why the most correct way would be to pack config in npm package which will be a dependency of every project. But then you need to manage it, publish, etc.
@damagee81412 жыл бұрын
@@MonsterlessonsAcademy Thanks. This makes a lot more sense to me now.
@tamasmolnar41579 ай бұрын
Hi, ESLint 9.0.0 is out (breaking changes). If you have time/will, please make a video on ESLint and Prettier in a node.js typescript project (e.g. Nest.js). It would be really appreciated. Thanks in advance.
@MonsterlessonsAcademy9 ай бұрын
I will add it to the list of ideas
@beastnighttv8 ай бұрын
ikr... eslint@v9 migration is giving me a hard time
@PowWowVideo2 жыл бұрын
Hi, but what if it need to use eslint AND/with prettier ? does they conflicted together?
@MonsterlessonsAcademy2 жыл бұрын
This is standard. They might have different rules so I prefer to use eslint without fix just to see warnings and prettier to format code.
@vishnuvardhanuppunuthula27892 жыл бұрын
Which editor u are using.. if it's not vscode why not it.
@MonsterlessonsAcademy2 жыл бұрын
Hi it's Vim, I have a whole video about that kzbin.info/www/bejne/j6Ovmqidec12q80
@keyboardbasher57692 жыл бұрын
Thanks boss
@MonsterlessonsAcademy2 жыл бұрын
Welcome!
@dvidsvijdsvijodsvijdsv5 ай бұрын
okay, now configure it so it makes a line after each require. that's actually teaching stuff, everything else is just showing how to install an extension...
@MonsterlessonsAcademy5 ай бұрын
You are missing a point. Prettier is an opinionated code formatter. It's goal is not to be configurable but to be suitable to everybody out of the box.