Skip to content

Commit 88b9d77

Browse files
authored
Add local dev settings and .gitattributes for xplat consistency (#184)
1 parent ecbe2c1 commit 88b9d77

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

.devcontainer/devcontainer.json

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,18 @@
1212
"pnpmVersion": "none",
1313
"nvmVersion": "latest"
1414
}
15-
},
16-
"containerEnv": {
17-
"TW_CONFIG_FILE": "/workspaces/tasks-backend/config/config.dev.yaml"
18-
},
19-
"customizations": {
15+
},
16+
"containerEnv": {
17+
"TW_CONFIG_FILE": "/workspaces/tasks-backend/config/config.dev.yaml"
18+
},
19+
"customizations": {
20+
"vscode": {
21+
"settings": {
22+
"files.eol": "\r\n",
23+
"git.autocrlf": false,
24+
"files.trimFinalNewlines": false
25+
}
26+
},
2027
"codespaces": {
2128
"repositories": {
2229
"dkhalife/tasks-frontend": {
@@ -33,5 +40,13 @@
3340
}
3441
}
3542
}
36-
}
43+
},
44+
"mounts": [
45+
{
46+
"source": "${localWorkspaceFolder}/../tasks-frontend",
47+
"target": "/workspaces/tasks-frontend",
48+
"type": "bind"
49+
}
50+
],
51+
"workspaceFolder": "/workspaces"
3752
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=crlf

0 commit comments

Comments
 (0)