add eslint to dev webpack

This commit is contained in:
catarak 2016-06-27 17:40:16 -04:00
parent cfd4d998cf
commit 8aeb46130e

View file

@ -25,12 +25,9 @@ module.exports = {
module: {
loaders: [
{
test: /\.jsx*$/,
test: /\.jsx?$/,
exclude: [/node_modules/, /.+\.config.js/],
loader: 'babel',
query: {
presets: ['react-hmre'],
},
loaders: ['babel?presets[]=react-hmre', 'eslint-loader']
},
{
test: /\.scss$/,