diff --git a/package.json b/package.json index 372cd65c..7ea3b912 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "jshint": "jshint bin client server", "jscs": "jscs --esnext $npm_package_config_dirs", "jshint:client": "jshint --config .es5/.jshintrc $npm_package_config_dirs_dirs_legacy --exclude bin/release.js", - "eslint:client": "eslint --rule 'no-console:0' --env browser client", + "eslint:client": "eslint --rule 'no-console:0' --env browser client webpack.config.js", "fix:eslint": "redrun eslint:client -- --fix", "test": "tape 'test/**/*.js'", "spell": "yaspeller .", diff --git a/webpack.config.js b/webpack.config.js index 112aa9d4..ff6d4df2 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,6 +1,6 @@ const path = require('path'); const webpack = require('webpack'); -const {optimize} = webpack +const {optimize} = webpack; const {UglifyJsPlugin} = optimize; const dir = './client'; @@ -53,14 +53,14 @@ module.exports = { plugins, module: { loaders: [{ - test: /\.js$/, - exclude: /(node_)?modules/, - loader: 'babel-loader', - query: { - presets: ['es2015'] - } + test: /\.js$/, + exclude: /(node_)?modules/, + loader: 'babel-loader', + query: { + presets: ['es2015'] + } } - ] + ] } };