티스토리 뷰

카테고리 없음

potentially fixable with the `--fix` option

실전압축코딩 2022. 12. 16. 10:28

개발 도중 자꾸 저 메시지가 출력되었다. 쉽게 해결 할수 있을거 같아서 계속 미뤄두다 이제야 해결하였다. 

 

코드 한줄로 해결하였다.

npm run lint -- --fix

출처

https://code-hoon.tistory.com/185https://code-hoon.tistory.com/185

 

[ VSCode, Lint ] 에러 해결 potentially fixable with the `--fix` option

Vue-cli 프로젝트를 만들 때 ESLint 옵션을 standard로 설정하고 생성하였다. 그런데 순조롭게 코드를 작성하고 있던 와중, 딱히 코드 자체에 문제가 없어보이는데 저런 에러가 출력되면서 --fix만 사용

code-hoon.tistory.com