Followed ESlinting instructions but cannot get to work
KeithWhatling opened this issue · 1 comments
KeithWhatling commented
I tried the Eslinting instructions but cannot get them to work for the life of me. been throug it over and over and read a few articles. got me stumped! Could it be something with my setup? I have no other information to provide. Sorry.
scottdurow commented
Hi @KeithWhatling - What happens if you use the following at the command line:
npx eslint src
Or if you add the following scripts to package.json:
"scripts": {
"lint": "eslint src --ext .ts",
"lint:fix": "npm run lint -- --fix"
}
and then run:
npm run lint
or
npm run lint:fix
I've noticed that with a recent update to VSCode the ESLint icon doesn't appear in the footer anymore when you have the eslint extension installed.