So I am using eslint as a linter for my react project and I would like it to check all of my .js files.
I am able to do this through the script:
<
To add to TranBrian10's solution, I installed eslint locally, so calling eslint in the terminal results in a command not found error.
I was able to get around this by using npx eslint instead:
`eslint . --ext .js` -> `npx eslint . --ext .js`
And as GollyJer noted, this won't work for Windows due to the . syntax