Fork me on GitHub
#emacs
<
2020-02-25
>
zilvinasu09:02:06

Hey folks, what do you use for linting in emacs? to show possible refactorings and etc, I remember using something like eastwood in the past

bozhidar09:02:17

Besides eastwood there’s kibit and clj-kondo.

👍 8
bozhidar09:02:29

I assume you remember kibit as the one suggesting refactorings.

practicalli-johnny10:02:47

I use clj-kondo for live liniting of Clojure, which also suggest some refactoring. I occasionally use kibit as a batch process or part of a CI build process

vemv11:02:15

Recently we OSSed https://github.com/nedap/formatting-stack/ . It's pretty emacs-y in that it bridges cider and cljfmt indentation. It also gathers various linters and presents them under a unified, repl-oriented format

dadair17:02:07

I tried it out yesterday and was getting an exception that something in cljs was not found (my project is pure clj, no clj{c,x,s}). Tried the 4.0.0 version. Is that something known?

dadair17:02:38

I was using the integrant integration

vemv20:02:28

Add :exclusions [org.clojure/clojurescript] to your project (or equivalent)

👍 4
vemv20:02:28

It's an intrincate issue I have little control about... still, I'lll try to document it better

dadair16:02:00

Is there any way to change the column limit wrap value on clj-refactor namespace cleanup? e.g., long require .. :as .. being split to multiple-lines at a certain column limit

tianshu17:02:09

Is there any document I can check to make a company-like pseudo frame? I think that is made with overlay, but it seems I can't create a overlay with an ... absolute position.

tianshu17:02:05

Emmm, found popup.el. anyway it do what I need

dadair17:02:12

There's also https://github.com/tumashu/posframe; haven't' used it personally, just ran across it this morning

tianshu17:02:57

thanks! I knew posframe, but it's a little bit slow in my use case.