From a7597faf4fc2acd2bca91810df3270e575c82317 Mon Sep 17 00:00:00 2001 From: "cleanthat[bot]" <65607995+cleanthat[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 06:10:39 +0000 Subject: [PATCH] Add default Cleanthat configuration --- .cleanthat/cleanthat.yaml | 25 +++++++++++++++++++++++++ .cleanthat/spotless.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 51 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..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"