DEV Community

Discussion on: Setting up ESLINT in your JavaScript Project with VS Code

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.