Skip to content

0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Jun 19:12
· 1 commit to main since this release

Changes

  • fix: collapse whitespace (#26)
  • fix: use a custom dockerfile parser (#25)

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array or run dprint add dockerfile.
  2. Add a "dockerfile" configuration property if desired.
    {
      // ...etc...
      "dockerfile": {
        // config goes here
      },
      "plugins": [
        "https://plugins.dprint.dev/dockerfile-0.4.0.wasm"
      ]
    }

JS Formatting API