0.0.21 • Published 2 years ago
@changanauto/prettier-config-preset v0.0.21
使用方式
yarn add @changanauto/prettier-config-preset --dev
package.json
{
"prettier": "@changanauto/prettier-config-preset"
}
.prettierrc.js (CJS使用方式)
const changanAutoConfig = require('@changanauto/prettier-config-preset');
module.exports = {
...changanAutoConfig,
// 你的其他配置
}
ESM
使用方式
import changanAutoConfig from '@changanauto/prettier-config-preset';