aboutsummaryrefslogtreecommitdiff
path: root/.vim/autoload/neomake/makers/ft/jsx.vim
blob: 38d3cc359e4721d648a8991da79c2f325370a726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function! neomake#makers#ft#jsx#SupersetOf() abort
    return 'javascript'
endfunction

function! neomake#makers#ft#jsx#EnabledMakers() abort
    return ['jshint', executable('eslint_d') ? 'eslint_d' : 'eslint']
endfunction

function! neomake#makers#ft#jsx#jsxhint() abort
    return neomake#makers#ft#javascript#jshint()
endfunction

function! neomake#makers#ft#jsx#stylelint() abort
    return neomake#makers#ft#css#stylelint()
endfunction

" vim: ts=4 sw=4 et