Skip to content

Commit

Permalink
Add ESLint and Prettier configurations to devcontainer.json (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromehardaway committed Mar 28, 2024
1 parent 2a45a93 commit 2555c43
Show file tree
Hide file tree
Showing 2 changed files with 5,663 additions and 5,634 deletions.
33 changes: 31 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,40 @@
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
"terminal.integrated.shell.linux": "/bin/bash",
"editor.formatOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"[javascript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[typescript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[typescriptreact]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[javascriptreact]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
},
"extensions": [
"dbaeumer.vscode-eslint",
"ms-vscode.vscode-typescript-tslint-plugin"
"ms-vscode.vscode-typescript-tslint-plugin",
"esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss"
]
}
},
Expand Down

0 comments on commit 2555c43

Please sign in to comment.