Skip to content

Commit 7c45656

Browse files
committed
[CONFIG] Added .vscode folder with proper settings & extensions, based on my guidelines (https://github.com/sqmasep/guidelines)
1 parent 01e2135 commit 7c45656

File tree

3 files changed

+68
-0
lines changed

3 files changed

+68
-0
lines changed

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules
2+
3+
dist
4+
5+
.vscode/*
6+
!.vscode/extensions.json
7+
!.vscode/settings.json

.vscode/extensions.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint", // ESLint
4+
"esbenp.prettier-vscode", // Prettier
5+
"aaron-bond.better-comments", // Better comments
6+
"wayou.vscode-todo-highlight", // Highlight comments
7+
"usernamehw.errorlens", // Error Lens
8+
"wix.vscode-import-cost", // Import cost
9+
"eamodio.gitlens", // Git history, blame, ...
10+
"yoavbls.pretty-ts-errors", // Better TS errors explanations
11+
12+
"formulahendry.auto-close-tag", // Close HTML tags automatically
13+
"formulahendry.auto-rename-tag", // Rename HTML tags automatically
14+
"meganrogge.template-string-converter" // Convert "" to `` when typing ${
15+
]
16+
}

.vscode/settings.json

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
// Typescript
3+
"typescript.tsdk": "node_modules/typescript/lib",
4+
"typescript.enablePromptUseWorkspaceTsdk": true,
5+
"javascript.updateImportsOnFileMove.enabled": "always",
6+
"typescript.updateImportsOnFileMove.enabled": "always",
7+
8+
// Prettier
9+
"editor.defaultFormatter": "esbenp.prettier-vscode",
10+
"editor.formatOnSave": true,
11+
"editor.formatOnPaste": true,
12+
13+
// Better comments
14+
"better-comments.tags": [
15+
{
16+
"tag": "TODO",
17+
"color": "#00FFF2",
18+
"backgroundColor": "#001C1B"
19+
},
20+
{ "tag": "WARN", "color": "#FF8C00", "backgroundColor": "#1C0F00" },
21+
{ "tag": "FIXME", "color": "#F1411A", "backgroundColor": "#1C0803" },
22+
{
23+
"tag": "DANGER [SECURITY]",
24+
"color": "#e55",
25+
"bold": true,
26+
"backgroundColor": "#1C0404"
27+
},
28+
{ "tag": "DANGER", "color": "#e55", "backgroundColor": "#1C0404" },
29+
{
30+
"tag": "INFO",
31+
"color": "#3498DB",
32+
"italic": true,
33+
"backgroundColor": "#07131C"
34+
},
35+
{ "tag": "//", "color": "#474747", "strikethrough": true }
36+
],
37+
"todohighlight.isEnable": true,
38+
"todohighlight.isCaseSensitive": true,
39+
"todohighlight.defaultStyle": { "borderRadius": "4px" },
40+
"todohighlight.keywords": [
41+
{ "text": "[TS]", "color": "#A7D3FF", "backgroundColor": "#25415C" },
42+
{ "text": "[REFACTOR]", "color": "#e55", "backgroundColor": "#0000" },
43+
{ "text": "[A11Y]", "color": "#5c5", "backgroundColor": "#0000" }
44+
]
45+
}

0 commit comments

Comments
 (0)