We don't yet support ES6 modules in ESLint. We hope to land support soon. In the meantime, you can optionally switch in another parser like babel-eslint: https://github.com/babel/babel-eslint
On Fri, Feb 27, 2015 at 8:35 AM, Kent C. Dodds <[email protected]> wrote: > Is there a way to allow the use of the `export default` keywords? Trying > to switch from jshint to eslint and there's been quite a bit of friction > because my project is ES6 with babel. I'm getting this: > > 1:1 error Unexpected reserved word > > On pretty much all my files because I use `export default`. > > -- > You received this message because you are subscribed to the Google Groups > "ESLint" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- ______________________________ Nicholas C. Zakas @slicknet Author, Professional JavaScript for Web Developers Buy it at Amazon.com: http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3 -- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
