Node.js/yarn/特殊配置:修订间差异
来自康健生活
无编辑摘要 |
|||
| 第78行: | 第78行: | ||
== vscode == | == vscode == | ||
{{hc|head=.vscode/settings.json|output=<syntaxhighlight lang="bash"> | |||
{ | |||
"prettier.configPath": ".prettierrc.yaml", | |||
"prettier.prettierPath": ".yarn/sdks/prettier/index.cjs", | |||
// "prettier.prettierPath": "/home/kangjian/.local/share/fnm/node-versions/v21.7.3/installation/bin/prettier", | |||
"search.exclude": { | |||
"**/.yarn": true, | |||
"**/.pnp.*": true | |||
}, | |||
"eslint.nodePath": ".yarn/sdks", | |||
"typescript.tsdk": ".yarn/sdks/typescript/lib", | |||
"typescript.enablePromptUseWorkspaceTsdk": true | |||
} | |||
</syntaxhighlight>}} | |||