@ excalidraw/ prettier- config
缩略图 高级 相会.
使用量
安装
yarn add --dev @excalidraw/prettier-config prettier
编辑 package.json
{
// ...
"prettier": "@excalidraw/prettier-config"
}
你得到的东西
{
"proseWrap": "never",
"trailingComma": "all",
"overrides": [
{
"files": ["*.json"],
"options": {
"printWidth": 256
}
}
]
}