Skip to content

Commit

Permalink
Configured devcontainer for copilot-instructs.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemurraynz authored Nov 10, 2024
1 parent dfa53c4 commit 3539e61
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",
"settings": {
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
},

// "customizations" section allows configuring specific aspects of the development environment, such as VS Code settings and extensions.
"customizations": {
"vscode": {
// Defines VS Code settings to be applied within the dev container.
"settings": {
"editor.formatOnSaveMode": "file", // Configures format on save to be applied to the entire file.
"github.copilot.chat.codeGeneration.useInstructionFiles": "true"
},
"extensions": [
"dbaeumer.vscode-eslint",
"orta.vscode-jest",
Expand Down
2 changes: 2 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Make sure text aligns to markdown best practices
Make sure text response is not complicated, it needs to be read by people with beginner, intermediate and expert knowledge on the subject

0 comments on commit 3539e61

Please sign in to comment.