dprint-plugin-dockerfile 0.5.0

A WIP dockerfile formatter for dprint.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use dprint_core::configuration::NewLineKind;
use serde::Deserialize;
use serde::Serialize;

#[derive(Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Configuration {
  pub line_width: u32,
  pub new_line_kind: NewLineKind,
  /// Whether to always break a `HEALTHCHECK` command onto its own continuation
  /// line when the instruction has options, even if it would fit on one line.
  pub healthcheck_cmd_new_line: bool,
}