From b44c7127f71a0a2cde514f8375e52176c16f8ae1 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Wed, 4 Apr 2018 20:11:53 -0400 Subject: [PATCH] reactivate linter for dev server --- awx/ui/build/webpack.watch.js | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/awx/ui/build/webpack.watch.js b/awx/ui/build/webpack.watch.js index c764ec4b85..5bf1aad89c 100644 --- a/awx/ui/build/webpack.watch.js +++ b/awx/ui/build/webpack.watch.js @@ -20,18 +20,16 @@ const watch = { output: { filename: OUTPUT }, - /* - *module: { - * rules: [ - * { - * test: /\.js$/, - * enforce: 'pre', - * exclude: /node_modules/, - * loader: 'eslint-loader' - * } - * ] - *}, - */ + module: { + rules: [ + { + test: /\.js$/, + enforce: 'pre', + exclude: /node_modules/, + loader: 'eslint-loader' + } + ] + }, plugins: [ new HtmlWebpackHarddiskPlugin(), new HardSourceWebpackPlugin({