1.0.0 • Published 3 years ago

@dangvanthanh/prettier-config v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Prettier Config

Shared prettier configuration

Installation

To install this package, run the following command in the terminal in the root directory of your application

$ npm install @dangvanthanh/prettier-config

Usage

Add the key in the your package.json

"prettier": "@dangvanthanh/prettier-config"

If you don't want to use package.json, you can create a .prettierrc, .prettierrc.json, .prettierrc.yml, .prettierrc.yaml, .prettierrc.json5 and export the string

"@dangvanthanh/prettier-config"

Or create a .prettierrc.js, .prettierrc.cjs, prettier.config.js, prettier.config.cjs and export the object

module.exports = {
  ...require("@dangvanthanh/prettier-config"),
};

License

MIT © Dang Van Thanh