1.16.1 • Published 2 years ago
@ahiho/prettier-config v1.16.1
@ahiho/prettier-config
Ahiho's Prettier config.
Read the Prettier config docs for more information.
Requirement
- NodeJS (version >= 14.x and <= 21)
Installation
yarn add --dev @ahiho/prettier-configUsage
After installing, update package.json file to add the following properties.
"prettier": "@ahiho/prettier-config",The Prettier config can be applied to the root package.json in a Lerna project.
Additionally, you can use the following binaries to run Prettier with the default glob js,jsx,mjs,ts,tsx,json,md,yml,yaml.
"scripts": {
"format:check": "prettier-config check",
"format:write": "prettier-config write",
},