forked from zolfagharipour/Matcha
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
75 lines (75 loc) · 2.91 KB
/
devcontainer.json
File metadata and controls
75 lines (75 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "Matcha Dev Container",
"build": {
"dockerfile": "Dockerfile"
},
"workspaceFolder": "/workspace",
"forwardPorts": [3000, 5000, 5001],
"portsAttributes": {
"3000": { "label": "Next.js" },
"5000": { "label": "API" },
"5001": { "label": "Socket.IO" }
},
"mounts": [
"source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
"source=${localEnv:HOME}/.ssh,target=/root/.ssh,type=bind,consistency=cached",
"source=${localEnv:HOME}/.gitconfig,target=/root/.gitconfig,type=bind,consistency=cached"
],
"postStartCommand": "/usr/local/bin/start-dev.sh",
"postAttachCommand": "pnpm install -r",
"customizations": {
"vscode": {
"settings": {
"remote.autoForwardPorts": false,
"cSpell.userWords": [
"fastify",
"matcha",
"nextjs"
],
"eslint.options": {
"overrideConfigFile": "../eslint.config.mts"
},
"eslint.format.enable": true,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.addMissingImports.ts": "always",
"source.sortImports": "always",
"source.removeUnusedImports": "always"
},
"eslint.workingDirectories": [
{
"directory": "client",
"mode": "auto"
},
{
"directory": "server",
"mode": "auto"
}
],
"terminal.integrated.defaultProfile.linux": "zsh",
"tailwindCSS.experimental.classRegex": [
["className\\s*=\\s*\"([^\"]*)", 1],
["className\\s*=\\s*'([^']*)'", 1],
["cn\\([\"'`]([^\"'`]*)[\"'`]", 1]
],
"tailwindCSS.experimental.configFile": "client/tailwind.config.ts",
"tailwindCSS.validate": true,
"tailwindCSS.lint.cssConflict": "warning",
"tailwindCSS.lint.invalidApply": "error",
"tailwindCSS.lint.invalidScreen": "error",
"tailwindCSS.lint.invalidTailwindDirective": "error",
"tailwindCSS.lint.invalidVariant": "error",
"tailwindCSS.lint.recommendedVariantOrder": "warning"
},
"extensions": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"bradlc.vscode-tailwindcss",
"yoavbls.pretty-ts-errors",
"streetsidesoftware.code-spell-checker",
"diemasmichiels.emulate"
]
}
}
}