hello š is it possible to have kondo lint for line lengths? iād like to enforce a character limit
currently clj-kondo is not doing anything with formatting and whitespace related information. there might be tools that are more focused on that like https://github.com/greglook/cljstyle
@dehli or you can write a simple babashka script:
$ cat README.md | bb -i -e '(run! (fn [[i l]] (when (> (count l) 80) (println "Line" i "is too long"))) (map vector (range) *input*))'
Line 13 is too long
Line 19 is too long
Line 21 is too long
Line 46 is too long
Line 71 is too long
awesome, thanks so much! i love babashka š
You could even make that spit out line/col info so you can hook it up to flycheck