From 11c3abc0ac468508cc769d323857b5ce2d41c227 Mon Sep 17 00:00:00 2001 From: Nick A Nichols Date: Sun, 3 Mar 2024 10:15:25 -0600 Subject: [PATCH] Narrow cljstyle targets (#31) * Update tooling to more selectively target files * Update CHANGELOG --- .github/workflows/lint.yml | 1 + CHANGELOG.md | 6 ++++++ sources/clojure/.cljstyle | 3 ++- sources/clojure/sealog/config.edn | 3 ++- sources/github-actions/workflows/lint.yml | 2 ++ 5 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0a7ce43..b5e7c1a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,3 +19,4 @@ jobs: reporter: github-pr-review level: error filter_mode: file + ignore: "litre,millilitre,litres,millilitres" diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c32479..d2b1d9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ Unlike other Wall Brew repositories, `rebroadcast` does not use semantic version Since `rebroadcast` primarily supports automated actions and developer tooling, there is little to distinguish breaking changes and bug fixes. That said, it is important to track the history of changes made to our CI/CD and documentation over time. +## 2024 March 3 + +* Update `.cljstyle` config to ignore commonly uncommitted directories (e.g. `node_modules`, `target`) +* Update Misspell to ignore alternative spellings of "liter" and "milliliter" +* Update `sealog` config to pretty print changelog entry source files + ## 2024 February 19 * Add default configuration for [Sealog](https://github.com/Wall-Brew-Co/lein-sealog) diff --git a/sources/clojure/.cljstyle b/sources/clojure/.cljstyle index 9c32ac9..910e1da 100644 --- a/sources/clojure/.cljstyle +++ b/sources/clojure/.cljstyle @@ -1,2 +1,3 @@ -{:files {:extensions #{"clj" "cljs" "cljc" "cljx" "edn"}} +{:files {:extensions #{"clj" "cljs" "cljc" "cljx" "edn"} + :ignore #{"target" ".git" ".idea" ".vscode" "node_modules"}} :rules {:namespaces {:enabled? false}}} diff --git a/sources/clojure/sealog/config.edn b/sources/clojure/sealog/config.edn index cad0201..6a2fb61 100644 --- a/sources/clojure/sealog/config.edn +++ b/sources/clojure/sealog/config.edn @@ -1,3 +1,4 @@ {:changelog-filename "CHANGELOG.md" :changelog-entry-directory ".sealog/changes/" - :version-scheme :semver3} + :version-scheme :semver3 + :pretty-print-edn? true} diff --git a/sources/github-actions/workflows/lint.yml b/sources/github-actions/workflows/lint.yml index fbf747c..13bd63b 100644 --- a/sources/github-actions/workflows/lint.yml +++ b/sources/github-actions/workflows/lint.yml @@ -19,6 +19,8 @@ jobs: reporter: github-pr-review level: error filter_mode: file + ignore: "litre,millilitre,litres,millilitres" + # Brewing applications support both US and non-US English clj-kondo: runs-on: ubuntu-latest