dprint_plugin_dockerfile/configuration/configuration.rs
1use dprint_core::configuration::NewLineKind;
2use serde::Deserialize;
3use serde::Serialize;
4
5#[derive(Clone, Serialize, Deserialize)]
6#[serde(rename_all = "camelCase")]
7pub struct Configuration {
8 pub line_width: u32,
9 pub new_line_kind: NewLineKind,
10 /// Whether to always break a `HEALTHCHECK` command onto its own continuation
11 /// line when the instruction has options, even if it would fit on one line.
12 pub healthcheck_cmd_new_line: bool,
13}