Skip to main content

prettier

Prettier 是一款自带代码格式化程序。

¥Prettier is an opinionated code formatter.

用法(Usage)

¥Usage

npx sv add prettier

你将获得什么(What you get)

¥What you get

  • package.json 中的脚本

    ¥scripts in your package.json

  • .prettierignore.prettierrc 文件

    ¥.prettierignore and .prettierrc files

  • 如果你正在使用该软件包,请更新你的 eslint 配置

    ¥updates to your eslint config if you’re using that package

上一页 下一页