DEV Community

Setting up ESLINT in your JavaScript Project with VS Code

Damola Adekoya on February 20, 2019

ESLINT: have you ever wonder what ESLINT is all about, when i first heard of ESLINT i was curious what it actually all about, ever since then i hav...
Collapse
 
thedavyloper profile image
David A. Akpan

Thanks was really helpful, been trying to configure eslint to work without success until i read your article, i added lint as a script exactly as in your tutorial but it didn't work, i did "lint": "eslint myfile.js" instead and it worked.
thanks a lot.

Collapse
 
devdammak profile image
Damola Adekoya

I'm glad the article was able to help....
Using "lint: eslint myfile.js" will only lint a single file which is myfile.js.

But using "lint: eslint" will work for the entire project.

Collapse
 
gethubt profile image
GetHubT

This article was extremely helpful, and gave an immediate fix/solution to a consistent problem I had. Thank you for providing your expertise.

Collapse
 
devdammak profile image
Damola Adekoya

I'm glad the article was able to help you..

Collapse
 
keyjoshua profile image
key joshua

Quick Guide Bruh

Collapse
 
devdammak profile image
Damola Adekoya

I'm glad you like it

Collapse
 
nirnejak profile image
Jitendra Nirnejak • Edited

Nice article, recently I wrote an article about the same covering pre-commit as well inkoop.io/blog/setup-eslint-for-re...

Collapse
 
irina_kats profile image
Irina Kats

Thanks for the instructions, but is it a part of the best practices to install EsLint globally with npm install eslint -g?

Collapse
 
smithniels profile image
Niels Smith

Great article, thanks! :)

Collapse
 
jayesht profile image
Jay

Nice article. Thanks for sharing.