This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-28
Channels
- # announcements (11)
- # babashka (66)
- # beginners (19)
- # calva (4)
- # clj-kondo (26)
- # cljsrn (33)
- # clojure (38)
- # clojure-australia (10)
- # clojure-dev (3)
- # clojurescript (18)
- # conjure (8)
- # data-science (2)
- # datahike (1)
- # datascript (5)
- # defnpodcast (3)
- # emacs (3)
- # events (2)
- # fulcro (17)
- # funcool (66)
- # girouette (28)
- # jobs-discuss (1)
- # lsp (33)
- # malli (1)
- # membrane (11)
- # off-topic (2)
- # practicalli (1)
- # re-frame (141)
- # rewrite-clj (6)
- # sci (1)
- # shadow-cljs (68)
- # sql (5)
- # startup-in-a-month (7)
- # vim (1)
- # xtdb (21)
Hi, I could not seem to find the exclude mechanism for ignoring java.lang.* e.g. (Integer/parseInt numstr)
, any clues appreciated
@borkdude I just cloned https://github.com/mogenslund/liquid and ran clj-kondo --lint src/liq/editor.cljc
It is a cljc so this command removes the warning cat src/liq/editor.cljc | clj-kondo --lang clj --lint -
sorry - for what looks like cross-posting - but they were slightly different problems (in my mind)
PS really enjoying your latest videos .. I was wondering about a bb/graalvm version of liquid .. which requires some understanding of sci+graal, any chance of a video on that topic?
e.g. a tiny project that you could show is not sci compatible, the slight changes to make it so and how that can be graal'd
@gmercer You need sci if you need eval
in your program. If you don't need this, you can possibly just compile it with GraalVM as is
java.awt
. That should maybe work on GraalVM 21 and only on linux: https://medium.com/graalvm/graalvm-21-0-introducing-a-new-way-to-run-java-df894256de28
@gmercer The main incompatibility with sci and clojure is the absence of deftype
and definterface
and some edge cases around defprotocol
and reify
@borkdude liquid is a zero dependency text based vim/emacs mash - beware it may leave you terminal a bit wonky, definitely worth a try
What do you think about a linter that warns if you are using a var/ns from a dep that is marked with :no-doc
?
@lee That seems interesting, but clj-kondo doesn't know what is a dep and what is your own source
I've also mean meaning to do something like this for vars from .impl
namespaces. Let's think more about it. But first: dinner.
BTW, liking your vids @borkdude! If I hadn’t chosen to be a frugally retired hobbyist, I’d certainly be sponsoring you (and others). Hopefully my contributions in other areas in some small way make up for my lack of $ sponsorship!
@juhoteperi Thanks for sponsoring me on Github! Would you like access to the private sponsors channel?
Thanks! Sure.