I am trying to get babel-eslint to work on Sublime 3. I have installed:
- eslint and babel-eslint globally on npm
- SublimeLinter package on Sublime
- SublimeLinter-contrib-eslint package on Sublime
Also, I have added:
"syntax_map": { ... "JavaScript (Babel)": "javascript" }
to my SublimeLinter.sublime-settings file.
When I run the linter with "parser": "espree"
on my .eslintrc file it works fine. But when I change the parser to babel-eslint it stops working.
I tried to follow the tutorial here: https://medium.com/@dan_abramov/lint-like-it-s-2015-6987d44c5b48 and I seem to be doing everything correctly.
Any ideas on what I'm doing wrong?