// plugins

Cedar Plugin

Adapter plugin that formats Cedar policy files via cedar-policy-formatter.

Formats .cedar files.

Install and Setup

In your project's directory with a dprint.json file, run:

dprint add cedar

This will update your config file to have an entry for the plugin. Then optionally specify a "cedar" property to add configuration:

{
  "cedar": {
    // cedar's config goes here
  },
  "plugins": [
    "npm:@dprint/cedar@x.x.x"
  ]
}

Configuration

See Configuration

Playground

See Playground

Source

See https://github.com/dprint/dprint-plugin-cedar