paint-brush
Write beautiful and consistent JavaScript code using ESLint, Prettier and VSCodeby@rohanx96
16,696 reads
16,696 reads

Write beautiful and consistent JavaScript code using ESLint, Prettier and VSCode

by Rohan Agarwal4mMarch 27th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Proper code styling and formatting is a must for every project and even more so when you have multiple developers working on same codebase. With so many additions to JavaScript following the ECMA standards and different ways to perform a same task there need to be unified standards in your project on what to choose. You will find recommendations all over the internet on what to prefer but still there is no strict rule on what to use. For instance, you may choose to create variables using var instead of the JavaScript’s newlet keyword for scope based variables. So it is upto you to set rules for your project so that every developer on the team follows them and there is consistency across all your code. Here’s where code linting comes into play.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Write beautiful and consistent JavaScript code using ESLint, Prettier and VSCode
Rohan Agarwal HackerNoon profile picture
Rohan Agarwal

Rohan Agarwal

@rohanx96

L O A D I N G
. . . comments & more!

About Author

Rohan Agarwal HackerNoon profile picture
Rohan Agarwal@rohanx96

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite