chore(vscode): add stylua for luau formatting

This commit is contained in:
Erica Marigold 2024-12-27 11:17:49 +00:00
parent 659cde4017
commit a827ac7559
Signed by: DevComp
GPG key ID: 429EF1C337871656
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,8 @@
{
"recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint", "DavidAnson.vscode-markdownlint"]
"recommendations": [
"esbenp.prettier-vscode",
"JohnnyMorganz.stylua",
"dbaeumer.vscode-eslint",
"DavidAnson.vscode-markdownlint"
]
}

View file

@ -1,4 +1,9 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
"[ts][jsonc][json][markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[lua][luau]": {
"editor.defaultFormatter": "JohnnyMorganz.stylua"
}
}