Neomake: No enabled makers for filetype javascript.jsx

Created on 6 Jul 2016  路  8Comments  路  Source: neomake/neomake

I'm trying to eslint a file with the javascript.jsx filetype (from plugin https://github.com/mxw/vim-jsx/tree/master/ftdetect).

I have the following in init.vim file:

let g:neomake_verbose=3
autocmd! BufWritePost * Neomake

When saving my file the only output I get is the following:

Neomake: Nothing to make: no enabled makers

I'm not entirely sure why this happens as we can see that both JavaScript and JSX has default makers enabled.

I'm running NVIM 0.1.4.

bug

Most helpful comment

FYI: let g:neomake_jsx_enabled_makers = ['eslint'] fixed this for me.

https://github.com/neomake/neomake/issues/493#issuecomment-231127780

All 8 comments

Seems like a duplicate of #272

@alexlafroscia not exactly. I don't get any makers running, not even the JSX ones.

Oh, weird. Do you have a custom set of makers enabled, or just the default ones?

@alexlafroscia just the default ones, I've made no changes at all.

FYI: let g:neomake_jsx_enabled_makers = ['eslint'] fixed this for me.

https://github.com/neomake/neomake/issues/493#issuecomment-231127780

@adamyonk thanks for that! :+1: However, there is still a bug I presume. The jsx makers are a superset of the javascript makers and even further, jsx have eslint as a default marker. So it should run by default.

I'll look closer at that later / on the weekend.
JFI: you can use 12verb w to see what functions are called and what they return.

@KevinSjoberg
Did you get it working? See https://github.com/neomake/neomake/issues/572.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dj-foxxy picture dj-foxxy  路  7Comments

ManiacalAce picture ManiacalAce  路  7Comments

sirex picture sirex  路  6Comments

iwyg picture iwyg  路  6Comments

nathanajah picture nathanajah  路  6Comments