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

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: