Problem with neomake as linter

17 views
Skip to first unread message

LINUS FERNANDES

unread,
Mar 4, 2024, 9:50:32 PMMar 4
to spac...@googlegroups.com
I encounter the following error while setting my linter choice to neomake.

My spacevim config is attached as well.

I've encountered this error while saving files initially for both css and html files.

Additionally, it's probably a good idea to drop csslint from the list of css linters since it's no longer being updated. stylelint is the best at the moment.

Thank you,
Linus.


Screenshot_20240305_080722.jpg
Screenshot_20240305_080655.jpg
init.toml

wsd...@outlook.com

unread,
Mar 4, 2024, 10:36:59 PMMar 4
to LINUS FERNANDES, spacevim
Ok, is there any example how to config stylelint for html file?


--
You received this message because you are subscribed to the Google Groups "SpaceVim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spacevim+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spacevim/CAGwRHE0mnPU%2BjGpDg5sL2MTnCqbPeY12F6swkqfr7nvKMPC1DA%40mail.gmail.com.

LINUS FERNANDES

unread,
Mar 5, 2024, 12:09:52 AMMar 5
to wsd...@outlook.com, spacevim
The following screenshots are the error with css file for neomake.

I usually use 'ale' but the new updated configuration defaults to neomake which is when this happened. 'syntastic' works as well.

It can be mitigated by updating the html.vim and css.vim files under neomake which parameterize the maker config. I suspect this is the case for all types of file extensions configured with multiple linters. But I haven't tested it out for more files.


For examples of configurations, You can check out the following :




Screenshot_20240305_103127.jpg
Screenshot_20240305_103103.jpg

Eric Wong

unread,
Mar 24, 2024, 10:49:34 AMMar 24
to LINUS FERNANDES, spacevim
I think the error message in the image is clear, there is no such file named "/data/data/com.termux/files/usr/bin/stylelint"

LINUS FERNANDES

unread,
Mar 24, 2024, 12:33:38 PMMar 24
to Eric Wong, spacevim
The file exists and these are its contents:

#!/usr/bin/env node

import process from 'node:process';

import cli from '../lib/cli.mjs';

cli(process.argv.slice(2));



----

I'm no longer using neomake. 

Reply all
Reply to author
Forward
0 new messages