Visitar URL original
Dockerfile Plugin - dprint - Code Formatter
// plugins

Dockerfile

Dockerfile code formatter.

Formats Dockerfiles.

Install and Setup

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

dprint add dockerfile

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

{
  "dockerfile": {
    // dockerfile config goes here
  },
  "plugins": [
    "npm:@dprint/dockerfile@0.8.0"
  ]
}

All plugins

Official Plugins

Community Plugins

Wrapper Plugins

Everything Else