tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

cts.code-workspace (3081B)


      1 // Note: VS Code's setting precedence is `.vscode/` > `cts.code-workspace` > global user settings.
      2 {
      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",
     55 
     56         "type": "shell",
     57         "command": "npm run test",
     58         "problemMatcher": []
     59       },
     60       {
     61         "group": "build",
     62         "label": "npm: check",
     63         "detail": "Just typecheck",
     64 
     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",
     73 
     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",
     82 
     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",
     91 
     92         "type": "shell",
     93         "command": "npm run unittest",
     94         "problemMatcher": []
     95       },
     96       {
     97         "group": "build",
     98         "label": "npm: tsdoc",
     99         "detail": "Build docs/tsdoc/",
    100 
    101         "type": "shell",
    102         "command": "npm run tsdoc",
    103         "problemMatcher": []
    104       },
    105       {
    106         "group": "build",
    107         "label": "grunt: run:lint",
    108         "detail": "Run eslint",
    109 
    110         "type": "shell",
    111         "command": "npx grunt run:lint",
    112         "problemMatcher": ["$eslint-stylish"]
    113       },
    114     ]
    115   }
    116 }