Backed out changeset 9d8b4c0b99ed (bug 1945683) for causing btime failures. CLOSED...
[gecko.git] / dom / webgpu / tests / cts / checkout / cts.code-workspace
blobd27f9ccc830aabf1244a6929e0321a3701fef9b9
1 // Note: VS Code's setting precedence is `.vscode/` > `cts.code-workspace` > global user settings.
3   "folders": [
4     {
5       "name": "cts",
6       "path": "."
7     },
8     {
9       "name": "webgpu",
10       "path": "src/webgpu"
11     }
12   ],
13   "extensions": {
14     "recommendations": [
15       "esbenp.prettier-vscode"
16     ]
17   },
18   "settings": {
19     "editor.defaultFormatter": "esbenp.prettier-vscode",
20     "editor.detectIndentation": false,
21     "editor.rulers": [100],
22     "editor.tabSize": 2,
23     "files.insertFinalNewline": true,
24     "files.trimFinalNewlines": true,
25     "files.trimTrailingWhitespace": true,
26     "files.exclude": {
27       "*.tmp.txt": true,
28       ".gitignore": true,
29       ".travis.yml": true,
30       ".tscache": true,
31       "deploy_key.enc": true,
32       "node_modules": true,
33       "out": true,
34       "out-node": true,
35       "out-wpt": true,
36       "docs/tsdoc": true,
37       "package-lock.json": true
38     },
39     // Configure VSCode to use the right style when automatically adding imports on autocomplete.
40     "typescript.preferences.importModuleSpecifier": "relative",
41     "typescript.preferences.importModuleSpecifierEnding": "js",
42     "typescript.preferences.quoteStyle": "single",
43     "typescript.tsdk": "cts/node_modules/typescript/lib"
44   },
45   "tasks": {
46     "version": "2.0.0",
47     "tasks": [
48       // Only supports "shell" and "process" tasks.
49       // https://code.visualstudio.com/docs/editor/multi-root-workspaces#_workspace-task-configuration
50       {
51         // Use "group": "build" instead of "test" so it's easy to access from cmd-shift-B.
52         "group": "build",
53         "label": "npm: test",
54         "detail": "Run all presubmit checks",
56         "type": "shell",
57         "command": "npm run test",
58         "problemMatcher": []
59       },
60       {
61         "group": "build",
62         "label": "npm: check",
63         "detail": "Just typecheck",
65         "type": "shell",
66         "command": "npm run check",
67         "problemMatcher": ["$tsc"]
68       },
69       {
70         "group": "build",
71         "label": "npm: standalone",
72         "detail": "Build standalone and typecheck",
74         "type": "shell",
75         "command": "npm run standalone",
76         "problemMatcher": []
77       },
78       {
79         "group": "build",
80         "label": "npm: wpt",
81         "detail": "Build for WPT and typecheck",
83         "type": "shell",
84         "command": "npm run wpt",
85         "problemMatcher": []
86       },
87       {
88         "group": "build",
89         "label": "npm: unittest",
90         "detail": "Build standalone, typecheck, and unittest",
92         "type": "shell",
93         "command": "npm run unittest",
94         "problemMatcher": []
95       },
96       {
97         "group": "build",
98         "label": "npm: tsdoc",
99         "detail": "Build docs/tsdoc/",
101         "type": "shell",
102         "command": "npm run tsdoc",
103         "problemMatcher": []
104       },
105       {
106         "group": "build",
107         "label": "grunt: run:lint",
108         "detail": "Run eslint",
110         "type": "shell",
111         "command": "npx grunt run:lint",
112         "problemMatcher": ["$eslint-stylish"]
113       },
114     ]
115   }