I'm using Vim with the syntastic plugin and eslint.
When I save a JavaScript file, I can see errors come up just fine, but I can't get the warnings to show.
Here's what I have in my .vimrc:
let g:syntastic_javascript_checkers = ['eslint']
I installed eslint with:
npm install eslint -g
I'm running Linux Mint 17
How do I get warnings to appear?
It turns out the issue here was that the "warnings" I thought I had in my file were not actually warnings. When I put an actual warning in my file it showed up correctly.
Some advice I learned though was to first run the file on the command-line directly using eslint similar to this:
eslint /path/to/file.js
Then compare those results to what you see in Vim.
Another tip is that you can change rules on the fly with comment syntax like this:
/*eslint <rule>=1*/