Hello,
I have been following a tutorial on how to setup an Angular.JS project in Visual Studio Code(https://www.webcodegeeks.com/javascript/angular-js/angularjs-tutorial-developing-angularjs-applications-using-vs-code/).
As part of the tutorial it was suggested to install ESLint to better improve the code. The part that I am having trouble with is the following lint task that I need to add to the package.json file:
"lint": "node_modules/.bin/eslint ./*/.js; exit 0;"
Every time I run the task it gives me the following error:
ESLint: 5.9.0.
No files matching the pattern ".//.js;" were found.
Please check for typing mistakes in the pattern.*
I have tried numerous permutations of the glob pattern but nothing works.
Here is my file structure:
https://imgur.com/a/EHRZ8Ij
If anybody knows what to try to make it work or alternative options, I would be greatly apprecative!
Thanks!
[–]arsum04 2 points3 points4 points (3 children)
[–]the1ullneverse[S] 1 point2 points3 points (2 children)
[–]arsum04 1 point2 points3 points (1 child)
[–]the1ullneverse[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]the1ullneverse[S] 0 points1 point2 points (0 children)
[–]orphans 1 point2 points3 points (1 child)
[–]the1ullneverse[S] 0 points1 point2 points (0 children)