Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (23 loc) · 606 Bytes

File metadata and controls

33 lines (23 loc) · 606 Bytes

@soyhuce/prettier-config

Prettier shareable config for code style.

Installation

pnpm add -D @soyhuce/prettier-config

# with Prettier
pnpm add -D prettier @soyhuce/prettier-config

Usage

In order to use this config, choose the one you want and add this configuration to your package.json:

{
+  "prettier": "@soyhuce/prettier-config"
}

Or add a .prettierrc.js file to your project root containing:

module.exports = {
+  ...require('@soyhuce/prettier-config')
}

License

MIT