0.2.0 • Published 3 years ago

@risedle/prettier-config v0.2.0

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

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

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago