0.1.0 • Published 8 months ago

@rwxmad/prettier-config v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

prettier-config

⚙️ Reusable prettier config

Installation

npm i @rwxmad/prettier-config --save-dev

Usage

Add a key in your package.json file

"prettier": "@rwxmad/prettier-config"

OR

If you don’t want to use package.json, you can use any of the supported extensions to export a string, e.g. .prettierrc.json:

"@rwxmad/prettier-config"

OR

Create a prettier.config.js or .prettierrc.js file and export an object

import config from "@rwxmad/prettier-config";

export default {
  ...config,
  semi: false,
};
0.1.0

8 months ago