ESLint and Prettier are pretty much the two most popular tools when it comes to doing code analysis and formatting in a developer's codebase. They ...
For further actions, you may consider blocking this person and/or reporting abuse
Awesome !
Thank you alot
Did you mean
package-lock.json
?Thanks yes you are correct! I fixed it cheers!
Awesome read
A great master piece
Thanks so much!
Always nice to have an ESlint + Prettier configuration indeed, cannot live without it myself.
Agreed!
Excellent thanks
Good one, Andrew!
Nice. I needed this
Nice one Andrew, great read and informative!
Some strange things have been happening recently with me and eslint. Apparently Microsoft’s ESLint in VSC has prettier within it but it keeps conflicting with my prettier formatter. So for example I had an empty class and the formatter would set the curly braces to { } with a space meanwhile eslint prettier would be coming up red telling me to remove the space. It’s been pretty frustrating and happened out of nowhere 🤔
I always love the articles posted in this page, although there's one comment in this article that I think is wrong...
"IDEs like Visual studio...", maybe I'm wrong here but, is Visual studio really considered as an IDE? I thought IDEs were some softwares like Phpstorm or Eclipse.. But no VSC or Sublime text... Am I wrong?
If you do a google search for is vscode an ide you will get mixed results. Some developers say that it is and others disagree. It could be debated for hours like React vs Vue 😅
I'm just going to say that it is because when you add all of those extensions it becomes even more feature rich but I understand that everybody has a different opinion 😄
If you have more complex eslint configs, feel free to use github.com/Shinigami92/eslint-defi... to get auto completion and jsdocs
cool
How to set this up without using plugins for prettier, but just using your own customer prettier/eslint config?