Answers for "how to run eslint server only when there is an eslint file"

0

how to run eslint on the whole project

# cd to your root project folder
eslint "./**" --fix
Posted by: Guest on October-14-2020
0

create eslint run script in package.json

`eslint . --ext .js` -> `npx eslint . --ext .js`
Posted by: Guest on March-07-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language