This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-10
Channels
- # announcements (16)
- # aws (1)
- # babashka (2)
- # beginners (33)
- # biff (2)
- # clj-kondo (13)
- # cljs-dev (1)
- # cljsrn (3)
- # clojars (6)
- # clojure (198)
- # clojure-australia (3)
- # clojure-europe (41)
- # clojure-france (3)
- # clojure-nl (2)
- # clojure-spec (7)
- # clojure-uk (12)
- # clojurescript (57)
- # clojureverse-ops (1)
- # code-reviews (3)
- # community-development (2)
- # conjure (10)
- # data-science (1)
- # datomic (15)
- # depstar (2)
- # docker (2)
- # etaoin (1)
- # events (1)
- # exercism (5)
- # fulcro (23)
- # helix (23)
- # introduce-yourself (4)
- # jobs (6)
- # kaocha (1)
- # lsp (11)
- # meander (107)
- # off-topic (8)
- # pathom (3)
- # polylith (33)
- # re-frame (23)
- # reagent (7)
- # reitit (28)
- # remote-jobs (3)
- # sci (1)
- # shadow-cljs (2)
- # specter (5)
- # sql (38)
- # tools-deps (72)
- # web-security (9)
- # xtdb (32)
Hello, sorry for being lazy. Short of time! 😄 Is there a comment marker I can put in a file to stop linting of it?
@pez Can you give more context? I think we've been over this before with the Calva REPL window. Is this another use case?
In javascript, you can write // eslint-disable and linting will stop until you write eslint-enable, so putting that at the top of the file effectively ignores the whole file
Here’s a good description of what's possible: https://stackoverflow.com/a/56719951/3023252
And there is https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#include-and-exclude-files-from-the-output
Sure, I don’t mean to demand that kondo has this, just noting what might be the reasonable expectation of functionality
So, I am not expecting this functionality. 😀 I have a lot of test files for testing various Calva features. Some of them have a lot of small forms and I create new files quite often. It would just be very convenient if I could add a comment to make the files more readable. It's fine with configuring it in some other file as well. Even if I would find a comment more easy at hand.