vim-syntastic / syntastic

Syntax checking hacks for vim
Do What The F*ck You Want To Public License
11.3k stars 1.14k forks source link

check vue files with stylelint #2326

Closed oprudkyi closed 4 years ago

oprudkyi commented 4 years ago

add ability to use stylelint to check *.vue files

lcd047 commented 4 years ago

This isn't really needed, you can run stylelint against any file with :SyntasticCheck css/stylelint. Syntastic currently doesn't have any vue-specific checkers, and there's no point pretending stylelint can play that role. Sorry, but no.

On a side note, syntastic is essentially dead. You might want to take a look at ALE instead.

oprudkyi commented 4 years ago

Hi @lcd047

vue file is a bundle of html/js/css/scss https://vuejs.org/v2/guide/single-file-components.html and having stylelint as one of checkers is essential for me. but ok, understood. anyway thank you for useful plugin

lcd047 commented 4 years ago

Please see :h 'syntastic_filetype_map'.

oprudkyi commented 4 years ago

yes, I have tried it, but without success

lcd047 commented 4 years ago

I see. Ok, merged with this patch on top: 83837a6e.