Skip to content

Commit

Permalink
Expand kondo configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cnrpman authored and tiensonqin committed Nov 18, 2021
1 parent 2e2e8f2 commit 0245da0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
14 changes: 12 additions & 2 deletions .clj-kondo/config.edn
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
{:linters {:unresolved-symbol {:exclude [goog.DEBUG]}}
{:linters {:unresolved-symbol {:exclude [goog.DEBUG
goog.string.unescapeEntities]}}
:hooks {:analyze-call {rum.core/defc hooks.rum/defc
rum.core/defcs hooks.rum/defcs}}
:lint-as {promesa.core/let clojure.core/let
promesa.core/loop clojure.core/loop
garden.def/defstyles clojure.core/def
garden.def/defkeyframes clojure.core/def
rum.core/defcc rum.core/defc
rum.core/with-context clojure.core/doseq
rum.core/defcontext clojure.core/def
clojure.test.check.clojure-test/defspec clojure.core/def
clojure.test.check.properties/for-all clojure.core/for
frontend.modules.outliner.datascript/auto-transact! clojure.core/let}}
nubank.workspaces.core/defcard clojure.core/def
;; src/main
frontend.modules.outliner.datascript/auto-transact! clojure.core/let
frontend.namespaces/import-vars potemkin/import-vars
;; src/test
frontend.react/defc clojure.core/defn}
:skip-comments true}
6 changes: 5 additions & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@
{com.cognitect/test-runner
{:git/url "https://github.com/cognitect-labs/test-runner",
:sha "76568540e7f40268ad2b646110f237a60295fa3c"}},
:main-opts ["-m" "cognitect.test-runner" "-d" "src/test"]}}}
:main-opts ["-m" "cognitect.test-runner" "-d" "src/test"]}

:clj-kondo
{:extra-deps {clj-kondo/clj-kondo {:mvn/version "2021.10.19"}}
:main-opts ["-m" "clj-kondo.main"]}}}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"cljs:dev-release-app": "clojure -M:cljs release app --config-merge '{:closure-defines {frontend.config/DEV-RELEASE true}}'",
"cljs:debug": "clojure -M:cljs release parser-worker app --debug",
"cljs:report": "clojure -M:cljs run shadow.cljs.build-report parser-worker app report.html",
"cljs:build-electron": "clojure -A:cljs compile parser-worker app electron"
"cljs:build-electron": "clojure -A:cljs compile parser-worker app electron",
"cljs:lint": "clojure -M:clj-kondo --parallel --lint src"
},
"dependencies": {
"@capacitor/android": "3.2.2",
Expand Down

0 comments on commit 0245da0

Please sign in to comment.