From 8c4863b77e84c55a83f510d39280c699e8647888 Mon Sep 17 00:00:00 2001 From: "cleanthat[bot]" <65607995+cleanthat[bot]@users.noreply.github.com> Date: Thu, 8 Jun 2023 10:04:17 +0000 Subject: [PATCH] Add default Cleanthat configuration --- .cleanthat/cleanthat.yaml | 23 +++++++++++++++++++++++ .cleanthat/spotless.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 .cleanthat/cleanthat.yaml create mode 100644 .cleanthat/spotless.yaml diff --git a/.cleanthat/cleanthat.yaml b/.cleanthat/cleanthat.yaml new file mode 100644 index 0000000..e7435cd --- /dev/null +++ b/.cleanthat/cleanthat.yaml @@ -0,0 +1,23 @@ +syntax_version: "2023-01-09" +meta: + labels: + - "cleanthat" + refs: + protected_patterns: + - "refs/heads/develop" + - "refs/heads/main" + - "refs/heads/master" + 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"