내가 쓰는 vscode lint 설정
Contents
방법 정리
-
vscode에서 확장프로그램 ruff, ESLint, Prettier - Code formatter, Stylelint, DotENT 설치
-
user setting으로 가서
-
아래 내용 입력
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39"[python]": { "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.organizeImports": "explicit" }, "editor.defaultFormatter": "charliermarsh.ruff" }, "[javascript]": { "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[javascriptreact]": { "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[css]": { "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.codeActionsOnSave": { "source.fixAll.stylelint": "explicit" } }, "files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/.DS_Store": true, "**/Thumbs.db": true, "**/__pycache__" : true, ".vscdoe": true }, "editor.fontSize": 14, "editor.fontFamily": "Cascadia Code, Menlo, Monaco, 'Courier New', monospace", "editor.mouseWheelZoom": true, "python.createEnvironment.trigger": "off", "workbench.colorTheme": "Dark Modern", "terminal.integrated.fontFamily": "Cascadia Code", "terminal.integrated.fontSize": 14, "security.workspace.trust.untrustedFiles": "open"