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.88k stars 355 forks source link

Is there any way to hide the warnings in browser console? #205

Closed madwiki closed 8 years ago

madwiki commented 8 years ago

I find that too many warnings in browser console,and they are increased by hot loading. Is there any way to hide the warnings in browser console?

I have tried to use noInfo: true in the config of WebpackDevServer,but it didn't work.

weblogixx commented 8 years ago

Hi @madwiki,

the generated warnings are mainly caused by the eslint plugin. To disable them, just remove the eslint-loader from cfg/defaults.js (preloader section).

The warnings from the dev server cannot be removed as far as I know, but I may be wrong at this point.