From 271404499c98ca0386e395d8a504803215134796 Mon Sep 17 00:00:00 2001 From: "cleanthat[bot]" <65607995+cleanthat[bot]@users.noreply.github.com> Date: Thu, 8 Jun 2023 03:59:51 +0000 Subject: [PATCH] Add default Cleanthat configuration --- .cleanthat/cleanthat.yaml | 23 +++++++++++++++++++++++ .cleanthat/spotless.yaml | 15 +++++++++++++++ 2 files changed, 38 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..8f276b6 --- /dev/null +++ b/.cleanthat/spotless.yaml @@ -0,0 +1,15 @@ +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