prettier

Default command

prettier --config=mhy/configs/prettier --write src/**/*.{js,jsx,ts,tsx}

CLI Options

https://prettier.io/docs/en/cli.html

Examples

Default CLI

mhy prettier

On another directory

mhy prettier another_directory

Last updated