Add in some vscode settings

This commit is contained in:
Caleb Owens 2024-06-06 15:43:21 +02:00
parent cdd596f8bc
commit 50b5b88593
No known key found for this signature in database
3 changed files with 22 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,7 +3,6 @@
/node_modules/
# editors
.vscode
.idea
.DS_Store

8
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"svelte.svelte-vscode",
"rust-lang.rust-analyzer",
"esbenp.prettier-vscode"
]
}

14
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,14 @@
{
"eslint.validate": ["svelte"],
"eslint.workingDirectories": ["app"],
"prettier.configPath": "app/.prettierrc",
"svelte.enable-ts-plugin": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"prettier.useEditorConfig": false,
"rust-analyzer.check.command": "clippy",
"rust-analyzer.check.allTargets": true,
"rust-analyzer.check.features": "all"
}