Lint rubocop problems

Hello !

I’m trying to use the lint module in my ruby projects.

I currently got set buffer lintcmd 'rubocop -f emacs' but it thows errors on :lint in the debug buffer.

I dunno why rubocop works alone but not from Kakoune.

Heres the log http://dav.misterbanal.net/9a9820e0-9070-4f38-9161-467b36068974.EisYpdtG2k.txt

It seems lint use a tmp file and this could be the source.

Does anyone got an idea ?

Thanks a lot !

The wiki suggests:

rubocop -l --format emacs

…rather than rubocop -f emacs. I assume -f and --format are the same, but I don’t know if adding -l would make a difference.

I guess the -l options valid the syntax errors and not the convention issues

ps: witch is better than nothing !

I reported this issue on rubocop too: https://github.com/rubocop-hq/rubocop/issues/8525