diff --git a/.cleanthat/cleanthat.yaml b/.cleanthat/cleanthat.yaml new file mode 100644 index 0000000..f5f3216 --- /dev/null +++ b/.cleanthat/cleanthat.yaml @@ -0,0 +1,25 @@ +syntax_version: "2023-01-09" +meta: + labels: + - "cleanthat" + refs: + protected_patterns: + - "refs/heads/develop" + - "refs/heads/main" + - "refs/heads/master" + excluded_patterns: + - "refs/heads/release/*" + full_clean_on_configuration_change: false + can_edit_not_protected_branches: true +source_code: + encoding: "UTF-8" + line_ending: "GIT" +engines: +- engine: "spotless" + skip: false + source_code: {} + steps: + - id: "spotless" + skip: false + parameters: + configuration: "repository:/.cleanthat/spotless.yaml" diff --git a/.cleanthat/spotless.yaml b/.cleanthat/spotless.yaml new file mode 100644 index 0000000..9d4ee30 --- /dev/null +++ b/.cleanthat/spotless.yaml @@ -0,0 +1,26 @@ +syntax_version: "2023-01-09" +encoding: "UTF-8" +git: + core_eol: "native" +line_ending: "GIT_ATTRIBUTES" +formatters: +- format: "json" + steps: + - id: "jackson" + skip: false + parameters: + features: + ORDER_MAP_ENTRIES_BY_KEYS: true + yaml_features: + QUOTE_FIELD_NAMES: false +- format: "markdown" + steps: + - id: "flexmark" + skip: false + parameters: + version: "0.64.0" + - id: "freshmark" + skip: false + parameters: + properties: + k1: "v1"