[ESLint] VSCode 저장 시 자동으로 Format 적용

서재·2023년 7월 4일
post-thumbnail

ESLint 설치

확장 - ESLint 설치

ESLint 설정

Ctrl + , - Eslint > Code Actions On Save: Rules - settings.json에서 편집

아래 코드를 추가

"editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },

profile
입니다.

0개의 댓글