Has anyone had any using eslint-loader in the custom webpack.config? I have the following set up, however eslint-loader is not running
const path = require('path')
module.exports = {
module: {
preLoaders: [
{
test: /\.js$/,
loader: 'eslint-loader',
include: path.resolve(__dirname, '../'),
exclude: path.resolve(__dirname, '../node_modules/')
}
],
loaders: [
{
test: /\.css?$/,
loaders: [ 'style', 'raw' ],
include: path.resolve(__dirname, '../')
}
]
}
}
Has anyone had any using eslint-loader in the custom webpack.config? I have the following set up, however eslint-loader is not running