I have tried using 'eslint' is not recognized as an internal or external command
And have successfully created .eslintrc.json
and the output of file is
{
"extends": "google"
}
But while running cmd eslint app.js, it is giving me an error
'eslint' is not recognized as an internal or external command,
operable program or batch file
Also I tried running command "./node_modules/.bin/eslint app.js" in the folder
but it is giving me error
"'.' is not recognized as an internal or external command,
operable program or batch file"
System Info PC: WINDOWS
How to resolve this?
eslint? Is it in yourpackage.jsonor did you install it globally withnpm install -g eslint?node node_modules\eslint\bin\eslint.js --init@btmills