• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2{
3  // An array of language ids which should be validated by ESLint
4  "eslint.validate": [
5      "javascript",
6      "javascriptreact",
7      "typescript",
8      "typescriptreact"
9  ],
10
11  // When enabled, will trim trailing whitespace when saving a file.
12  "files.trimTrailingWhitespace": true,
13
14  // typescript auto-format settings
15  "typescript.tsdk": "node_modules/typescript/lib",
16  "javascript.preferences.importModuleSpecifier": "auto",
17  "typescript.preferences.importModuleSpecifier": "auto",
18  "javascript.preferences.quoteStyle": "single",
19  "typescript.preferences.quoteStyle": "single",
20  "editor.defaultFormatter": "esbenp.prettier-vscode",
21
22  // make the .shot files from jest-specific-snapshot act like normal snapshots
23  "files.associations": {
24    "*.shot": "jest-snapshot"
25  },
26  "vsicons.associations.files": [
27    {
28        "icon": "jest_snapshot",
29        "extensions": [
30            ".ts.shot",
31            ".tsx.shot",
32            ".js.shot",
33            ".jsx.shot",
34        ],
35        "extends": "jest_snapshot"
36    },
37  ],
38}
39