44
edits
(→Vim: Change linting setup because syntastic PR 1803 was rejected) |
(→Vim: Make path more generic) |
||
Line 68: | Line 68: | ||
\ if stridx(expand("%:p"), "/mozilla-central/") != -1 | | \ if stridx(expand("%:p"), "/mozilla-central/") != -1 | | ||
\ let b:syntastic_checkers = ['eslint'] | | \ let b:syntastic_checkers = ['eslint'] | | ||
\ let b:syntastic_eslint_exec = '/ | \ let b:syntastic_eslint_exec = '/path/to/mozilla-central/tools/lint/eslint/node_modules/.bin/eslint' | | ||
\ let b:syntastic_html_eslint_args = ['--plugin', 'html'] | | \ let b:syntastic_html_eslint_args = ['--plugin', 'html'] | | ||
\ endif | \ endif |
edits