Conversation
If I understand correctly, the babel parser should only be used if you are using babel, which makes this a little problematic for node projects. Maybe there should be extensions that are for a targeted env or purpose?
|
Agreed. If you're not compiling your JS, it's not needed. I'll extend this PR to include the parser in the Vue flavor, which is inherited in the Nuxt flavor. Thanks, Josh, and sorry for the inconveniences 🙏🏽 |
|
no worries, I just had to look up what the default parser is to set it back as a temp workaround :) |
|
First time I hear about it! https://github.com/eslint/espree |
|
I learned about it when I was looking for a way to reset the parser option back to the default (tried null, false, empty string, and 'default' but those were all just ignored) They dont document that you can set it to 'espree', but I noticed the following and gave it a shot :) https://eslint.org/docs/user-guide/configuring/plugins#specifying-parser
|
If I understand correctly, the babel parser should only be used if you are using babel, which makes this a little problematic for node projects.
Maybe there should be extensions that are for a targeted env or purpose?