-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
149 lines (143 loc) · 5.2 KB
/
devcontainer.json
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "Piotr FLEURY Flutter dev container",
"build": {
"dockerfile": "Dockerfile",
"args": { "VARIANT" : "stable" }
},
"forwardPorts": [3000],
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"settings": {
"workbench.colorTheme": "Community Material Theme",
"workbench.iconTheme": "material-icon-theme",
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [
80
],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
},
"editor.stablePeek": true,
"files.autoSave": "onFocusChange",
"editor.inlineSuggest.enabled": true,
"window.zoomLevel": 1,
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": true
}
},
"extensions": [
"felixangelov.bloc",
"equinusocio.vsc-community-material-theme",
"equinusocio.vsc-material-theme-icons",
"equinusocio.vsc-material-theme",
"pkief.material-icon-theme",
"dart-code.dart-code",
"dart-code.flutter",
"github.copilot",
"rapidapi.vscode-rapidapi-client",
"eamodio.gitlens",
"usernamehw.errorlens",
"pflannery.vscode-versionlens",
"davidanson.vscode-markdownlint"
],
"launch": [
{
"name": "Flutter run",
"request": "launch",
"type": "dart"
},
{
"name": "Flutter run (profile mode)",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "Flutter run (release mode)",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "Update golden for selected test file",
"request": "launch",
"type": "dart",
"program": "flutter",
"args": [
"test",
"${file}",
"--update-goldens"
],
"codeLens": {
"for": [
"run-test",
"run-test-file"
]
},
"env": {
"FLUTTER_TEST": "true"
}
}
],
"tasks": [
{
"label": "Generate Sources",
"type": "shell",
"command": "dart run build_runner build --delete-conflicting-outputs",
"problemMatcher": []
},
{
"label": "Update Golden for current file",
"type": "shell",
"command": "flutter test --update-goldens ${file}",
"problemMatcher": []
},
{
"label": "Update all Goldens",
"type": "shell",
"command": "flutter test --update-goldens",
"problemMatcher": []
},
{
"label": "Run all tests",
"type": "shell",
"command": "flutter test",
"problemMatcher": []
},
{
"label": "Format files",
"type": "shell",
"command": "dart format .",
"problemMatcher": []
},
{
"label": "Activate very good cli",
"type": "shell",
"command": "dart pub global activate very_good_cli",
"problemMatcher": []
},
{
"label": "Generate lcov HTML report",
"type": "shell",
"command": "flutter test --coverage && genhtml coverage/lcov.info -o coverage/html",
"problemMatcher": []
},
{
"label": "Check coverage min 80% (very_good_cli)",
"type": "shell",
"command": "very_good test --coverage --min-coverage 80",
"problemMatcher": []
}
]
}
}
}