@pega/prettier-config
TypeScript icon, indicating that this package has built-in type declarations

0.10.0 • Public • Published

@pega/prettier-config

Pegasystems front-end Prettier configuration.

Installation

Install Prettier and the Pega config.

npm i -D prettier @pega/prettier-config

Setting up your config

Extend from the Pega configuration in your Prettier configuration file.

"@pega/prettier-config"

Running Prettier

Run Prettier to check, for example, all .json files in the current directory.

prettier -c "./**/*.json"

VS Code integration

You can install the VS Code extension, and update your .vscode/settings.json to enable your editor to run Prettier for you automatically.

{
  "editor.formatOnSave": true
}

Package Sidebar

Install

npm i @pega/prettier-config

Weekly Downloads

706

Version

0.10.0

License

SEE LICENSE IN LICENSE

Unpacked Size

13.6 kB

Total Files

6

Last publish

Collaborators

  • bob-difronzo
  • pega-cosmos
  • cpmotion