Trying to solve linting issues installed npm eslint in vs code editor ,then tried eslint --fix but
es lint --fix only supresses the error and doesnt fix it completely,is there any npm command or a way to fix all the linting errors ,apart from doing it manually
Asked
Active
Viewed 3,179 times
0

Puja
- 101
- 3
- 14
1 Answers
2
can use npm run lint
or npm run lint --fix
for fixing lint errors in the code.
you will get the errors found in the code and errors fixed by lint fix.

Sunali Bandara
- 402
- 4
- 6