diff --git a/.gitignore b/.gitignore index 948f45b..f8285f9 100644 --- a/.gitignore +++ b/.gitignore @@ -41,5 +41,4 @@ yarn-error.log* next-env.d.ts # editor -.idea/ -.vscode/ \ No newline at end of file +.idea/ \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..c2a5914 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "node-terminal", + "name": "dev", + "request": "launch", + "command": "bun run dev", + "cwd": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..512aa97 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,12 @@ +{ + "[typescript]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint" + }, + "[json]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint" + }, + "git.rebaseWhenSync": true +} \ No newline at end of file