-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.json
53 lines (47 loc) · 1.42 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
// ESLint
"[javascript][typescript][json][json5][jsonc][yaml]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"eslint.validate": ["javascript", "typescript", "json", "jsonc", "json5", "yaml", "github-actions-workflow"],
"editor.formatOnSave": false,
// Prettier
"prettier.enable": false,
// File nesting
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
"explorer.fileNesting.patterns": {
"*.ts": "$(capture).test.ts,$(capture).test.snap,$(capture).test-d.ts",
"*.js": "$(capture).test.js,$(capture).cjs,$(capture).mjs,$(capture).d.ts,$(capture).d.ts.map,$(capture).js.map"
},
// ES module import
"typescript.preferences.importModuleSpecifier": "non-relative",
"typescript.preferences.importModuleSpecifierEnding": "minimal",
"typescript.preferences.useAliasesForRenames": true,
"typescript.preferences.autoImportFileExcludePatterns": [
"@types/node/test.d.ts"
],
// Markdown
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
"editor.rulers": [
40,
80,
119
],
"editor.wordWrapColumn": 119
},
// VSCode
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.fixAll.markdownlint": "explicit",
"source.organizeImports": "never"
},
"editor.rulers": [
119
],
"search.exclude": {
"lib": true
},
"typescript.tsdk": "node_modules/typescript/lib"
}