JavaScript/Prettier:修订间差异
来自康健生活
| 第56行: | 第56行: | ||
requireConfig: false | requireConfig: false | ||
singleAttributePerLine: true # 强制每行使用单个属性</pre> | singleAttributePerLine: true # 强制每行使用单个属性</pre> | ||
== vscode == | |||
=== yarn 4 === | |||
yarn 4 使用 Prettier 异常。 | |||
{{shc|<syntaxhighlight lang="bash"> | |||
yarn dlx @yarnpkg/sdks vscode</syntaxhighlight>|$|/home/kangkk}} | |||
== 参考 == | == 参考 == | ||
* https://prettier.io/docs/en/install.html | * https://prettier.io/docs/en/install.html | ||