21:11 error Replace `h` with `(h)` prettier/prettier
✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
prettier에서 arrowParens 옵션이 always가 기본이 되어서 적용을 제대로 하지 않으면 위와같이 위반되는 소스에 오류를 뿌린다.
해결방법은 린트 규칙에 맞게 적용해 주면된다.
./node_modules/.bin/eslint src --fix
적용될 프로젝트에서 위와 같은 명령어를 실행하면 전체 js 파일에 적용된다.
*참고 vue는 명령어를 지원하는데 npm run lint 를 실행해주면 전체 vue파일에 적용된다.