You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allows our project to use still-unreleased JS syntax.
Unfortunately, this also seems to break eslint_d.js. As recommended by @aaronjensen, I had to pass parserOptions.babelOptions in my .eslintrc.js to make eslint_d.js work:
Thanks for opening an issue for this. I recall that there have been similar issues before and I'm not sure why eslint_d behaves differently from regular eslint when loading plugins or external parsers. If you have time to investigate, I'm happy to assist and review a pull request.
Hi,
I recently switched to using @babel/eslint-parser as eslint's parser:
.eslintrc.js
:This allows our project to use still-unreleased JS syntax.
Unfortunately, this also seems to break eslint_d.js. As recommended by @aaronjensen, I had to pass
parserOptions.babelOptions
in my.eslintrc.js
to make eslint_d.js work:.eslintrc.js
:Do you know why? Is there anything you can do at the eslint_d.js level so we don't have to do that?
The text was updated successfully, but these errors were encountered: