English | 中文
Front-end project prettier Code formatting standard configuration,
node>=16
is recommended.
- Install dependencies
pnpm add -D prettier @tomjs/prettier
- Modify
.prettierrc.{js,cjs}
configuration
module.exports = require.resolve('@tomjs/prettier');