Fork me on GitHub
#cursive
<
2022-10-01
>
Matthew Davidson (kingmob)10:10:25

Is there a way to disable Cursive’s built-in linting? I work on Aleph, which uses many funky potemkin macros, and I’m trying to cut down on the number of false positives I see. I’ve sort of got kondo configured to the point where it’s ignoring what I want it to, but I’m still getting a lot of spurious warnings from Cursive itself. (The “resolve as” functionality doesn’t cut it.)

imre13:10:14

See the inspections panel of intellij settings

Noah Bogart14:10:16

Could also use #clj-extras-plugin to get better clj-kondo support within cursive

cfleming03:10:40

I’ll take a look at Aleph again, back in the day I did add support for Potemkin, but perhaps that got broken.

Matthew Davidson (kingmob)03:10:29

Thanks, Noah, I already use it. The issue is kondo now understands certain Potemkin things correctly, but Cursive doesn’t, so I need to disable its linting.

👍 1
cfleming04:10:00

@U10EC98F5 Just to be clear, do you get these errors when writing apps which use Aleph, or when working on Aleph itself?

Matthew Davidson (kingmob)06:10:01

Working on Aleph itself. I’m the current maintainer

Matthew Davidson (kingmob)06:10:44

Along with a couple others.

cfleming21:10:06

Hmm, yeah, it’s possible that might not work as well - I did put some effort into ensuring that projects using Aleph would work. I’ll take a look at Aleph them.

Matthew Davidson (kingmob)08:10:11

FWIW, there’s a few proto-potemkin fns/macros here and there in Zach’s codebase, and they’re not always the same 😬 as the potemkin versions.