Post

[error] eslint ts 적용되지 않음, prettier/prettier 에러


prettier/prettier 에러가 뜨거나 .ts 파일을 lint하지 못할 때 setting.json 파일을 아래 코드를 추가해준다.

1
2
3
"typescript.format.enable": false,
"eslint.alwaysShowStatus": true,
"eslint.autoFixOnSave": true,


ESLint 를 이용한 코드 규격화

This post is licensed under CC BY 4.0 by the author.