From e5cfdc80a7f10b554b93a61fd19ed60def3ace13 Mon Sep 17 00:00:00 2001 From: Zahim Anass Date: Thu, 25 Feb 2016 14:51:07 +0000 Subject: [PATCH] Linting in Webpack - Correcting loader Hi, I think 'eslint-loader' should be used instead `eslint`. The later will give the following error. ``` path/to/eslint/lib/api.js didn't return a function @ multi main webpack: bundle is now VALID. ``` Someone talked about it as well in #3. I'm new to eslint, so I hope this is correct. --- manuscript/11_linting_in_webpack.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manuscript/11_linting_in_webpack.md b/manuscript/11_linting_in_webpack.md index 07bf7c92..68cb53c4 100644 --- a/manuscript/11_linting_in_webpack.md +++ b/manuscript/11_linting_in_webpack.md @@ -194,7 +194,7 @@ var common = { preLoaders: [ { test: /\.jsx?$/, - loaders: ['eslint'], + loaders: ['eslint-loader'], include: PATHS.app } ]