Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: updated vscode settings and added recommended extensions #53

Merged
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode"]
}
17 changes: 11 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"editor.formatOnSave": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.singleQuote": false,
"typescript.tsdk": "node_modules/typescript/lib"
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"files.exclude": {
"**/node_modules": true
},
"prettier.configPath": "prettier.config.cjs",
"prettier.singleQuote": false,
"search.exclude": {
"**/node_modules": true
},
"typescript.tsdk": "node_modules/typescript/lib"
}
6 changes: 5 additions & 1 deletion prettier.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ module.exports = {
printWidth: 80,
overrides: [
{
files: ["*.yaml", "*.yml"],
files: ["*.yml", "*.yaml"],
options: {
tabWidth: 2,
proseWrap: "preserve",
bracketSpacing: false,
},
},
{
files: ["*.md", "*.mdx"],
options: {
tabWidth: 2,
proseWrap: "always",
embeddedLanguageFormatting: "auto",
},
},
],
Expand Down
Loading