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

Latest commit

 

History

History

prettier-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@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