From a682cc002a7c08bc3246c5e1d0b10f42d3de014c Mon Sep 17 00:00:00 2001 From: "cleanthat[bot]" <65607995+cleanthat[bot]@users.noreply.github.com> Date: Thu, 22 Jun 2023 00:35:37 +0000 Subject: [PATCH] Add default Cleanthat configuration --- .cleanthat/cleanthat.yaml | 23 +++++++++++++++++++++++ .cleanthat/spotless.yaml | 17 +++++++++++++++++ 2 files changed, 40 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..4314db7 --- /dev/null +++ b/.cleanthat/spotless.yaml @@ -0,0 +1,17 @@ +syntax_version: "2023-01-09" +encoding: "UTF-8" +git: + core_eol: "native" +line_ending: "GIT_ATTRIBUTES" +formatters: +- format: "markdown" + steps: + - id: "flexmark" + skip: false + parameters: + version: "0.64.0" + - id: "freshmark" + skip: false + parameters: + properties: + k1: "v1"