Skip to content

Commit

Permalink
fix: Fix to use Standard Clojure Style for code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz committed Nov 15, 2024
1 parent 84da2e3 commit 803da32
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
12 changes: 0 additions & 12 deletions .cljstyle.edn

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
with:
bb: latest
clj-kondo: latest
cljstyle: latest
- uses: actions/cache@v4
with:
path: ~/.m2
Expand Down
4 changes: 4 additions & 0 deletions DEVELOPMENT.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@
== Type checking

* Type checking with https://github.com/metosin/malli[malli] is enabled by default.

== Code formatting

* https://github.com/oakmac/standard-clojure-style-js[Standard Clojure Style] is used for code formatting.
7 changes: 5 additions & 2 deletions bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@
lint {:doc "Clj-kondo linting"
:task (shell "clj-kondo --lint src:test")}

format-check {:doc "Cljstyle check"
:task (shell "cljstyle check")}
format-check {:doc "Check code formats"
:task (shell "npx @chrisoakman/standard-clojure-style check src test")}

format-fix {:doc "Fix code formats"
:task (shell "npx @chrisoakman/standard-clojure-style fix src test")}

test {:doc "Run unit tests"
:extra-paths ["dev" "test"]
Expand Down

0 comments on commit 803da32

Please sign in to comment.