gandm / language-babel

ES2017, flow, React JSX and GraphQL grammar and transpilation for ATOM
https://atom.io/packages/language-babel
MIT License
476 stars 83 forks source link

After Updating to Mojave OS, Files Default to older Javascript Rather than es6 #515

Open hollygirouard opened 6 years ago

hollygirouard commented 6 years ago

Hi there,

Not sure if this is an issue with your package or Atom itself. I recently updated to Mojave and now all my React Native project files are defaulting to JavaScript rather than es6 so it messes with my view and makes it seem like the jsx cannot transpile.

I've tried going in and switching the files like this then saving...but then I go back and they're back as JavaScript files again.

This is maddening and I cannot find any settings that might make this happen. Any suggestions you have will help a ton! Thank you!

joseph-galindo commented 6 years ago

@hollyewhite this sounds like it may be the same issue discussed in #510, seems like the built-in parser is now preferred by default...FWIW I ended up disabling the built-in in favor of language-babel.

hollygirouard commented 6 years ago

Thanks @joseph-galindo That's it! Sorry I missed that one. Thought it had to do with Mojave!