【发布时间】:2020-06-17 19:15:28
【问题描述】:
在 VSCode 中使用
Prettier扩展。将
Single Quote设置为单个。format onSave设置为 true。
还是…… 当我点击保存时,单引号将转换为双引号..
为什么?为什么?为什么?为什么?
另外...
- 我已将 eslint 设置为使用单引号
- 我什至已经从 VSCode 中删除了 eslint 扩展。
// in .eslint file
"quotes": [2, "single", { "avoidEscape": true }],
还是…… 当我点击保存时,单引号将转换为双引号..
为什么?
【问题讨论】:
标签: visual-studio-code prettier