@risedle/prettier-config

0.2.0 • Public • Published

@risedle/prettier-config

Shared Prettier configuration.

Installation

Use the following command to install @risedle/prettier-config:

# npm
npm install --save-dev --save-exact prettier @risedle/prettier-config@latest

# pnpm
pnpm add --save-dev --save-exact prettier @risedle/prettier-config@latest

Usage

Add the following fields in your package.json:

{
    "scripts": {
        "check": "prettier --check ."
    },
    "prettier": "@risedle/prettier-config"
}

Note You can ignore files by adding it to .prettierignore.

Then you can use pnpm check or npm run check to check the file formatting.

Resources

Readme

Keywords

none

Package Sidebar

Install

npm i @risedle/prettier-config

Homepage

risedle.com

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

2.27 kB

Total Files

4

Last publish

Collaborators

  • pyk