BookDo7starsTS / bookdo7stars_be

0 stars 0 forks source link

.vscode/launch.json & .vscode/settings.json #8

Closed MayHyeyeonKim closed 2 months ago

MayHyeyeonKim commented 2 months ago

.vscode/launch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Launch Program",
      "skipFiles": ["<node_internals>/**"],
      "program": "${workspaceFolder}/app.js",
      "envFile": "${workspaceFolder}/.env",
      "env": {
        "NODE_ENV": "development"
      }
    }
  ]
}

.vscode/settings.json

{
  "files.autoSave": "onFocusChange",
  "files.eol": "\n",
  "eslint.validate": ["javascript"],
  "eslint.run": "onSave",
  "eslint.options": {
    "overrideConfigFile": ".eslintrc.json",
    "cwd": "${workspaceFolder}"
  },
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  },
  "editor.formatOnSave": true,
  "eslint.workingDirectories": [
    {
      "directory": "${workspaceFolder}",
      "changeProcessCWD": true
    }
  ],
  "diffEditor.ignoreTrimWhitespace": false,
  "terminal.integrated.defaultProfile.windows": "Git Bash",
  "gitlens.gitCommands.skipConfirmations": ["fetch:command", "stash-apply:command", "switch:command"],
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }
}