react-webpack-generators / generator-react-webpack

Yeoman generator for ReactJS and Webpack
http://newtriks.com/2013/12/31/automating-react-with-yeoman-and-grunt/
MIT License
2.87k stars 356 forks source link

Use babel-eslint as parser ? #173

Closed mr-wildcard closed 8 years ago

mr-wildcard commented 8 years ago

because this cool project generates ES2015 stuff, and soon ES2016 we hope.

And:

Given the recent developments in the world of parsers, I think that using babel-eslint is the best way to play with cutting edge features like this. https://github.com/babel/babel-eslint

That means you don't have to wait for us, and we don't need to worry about constantly updating experimental features.

from https://github.com/eslint/eslint/issues/1657#issuecomment-77500655

Default parser couldn't handle http://babeljs.io/docs/plugins/transform-object-rest-spread/ plugin I my case.

weblogixx commented 8 years ago

@mr-wildcard: Sounds like a good idea. I will play around with and check if it can be easily integrated (as stated on the project page, that should be the case).

mr-wildcard commented 8 years ago

:+1:

Indeed, this can be easily integrated in two steps ;)

weblogixx commented 8 years ago

@mr-wildcard: Just added it to the underlying template. It should be available after updating your installed generator.

mr-wildcard commented 8 years ago

:100: thx @weblogixx