-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
settings.json
39 lines (35 loc) · 1.16 KB
/
settings.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
{
// This matches the value configured on the autoformatter
"editor.rulers": [80],
// An array of language ids which should be validated by ESLint
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
// required to make the extension pickup the flat config
"eslint.experimental.useFlatConfig": true,
// When enabled, will trim trailing whitespace when saving a file.
"files.trimTrailingWhitespace": true,
// typescript auto-format settings
"typescript.tsdk": "node_modules/typescript/lib",
"javascript.preferences.importModuleSpecifier": "project-relative",
"typescript.preferences.importModuleSpecifier": "project-relative",
"javascript.preferences.quoteStyle": "single",
"typescript.preferences.quoteStyle": "single",
"editor.defaultFormatter": "esbenp.prettier-vscode",
// make the .shot files from jest-specific-snapshot act like normal snapshots
"files.associations": {
"*.shot": "jest-snapshot"
},
"vsicons.associations.files": [
{
"icon": "jest_snapshot",
"extensions": [
".shot",
],
"extends": "jest_snapshot"
},
],
}