From 47e5dd4d2ad10cf3d0997ba1d5a450a270af9721 Mon Sep 17 00:00:00 2001 From: DD Liu Date: Thu, 27 Jul 2017 16:51:42 -0400 Subject: [PATCH] re-add linting for webpack config --- .eslintignore | 1 - webpack.config.js | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.eslintignore b/.eslintignore index deb1753c..fe1b4898 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,3 @@ node_modules/* dist/* playground/ -webpack.config.js diff --git a/webpack.config.js b/webpack.config.js index ff26572e..8049965b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -3,12 +3,12 @@ const path = require('path'); const webpack = require('webpack'); // Plugins -var HtmlWebpackPlugin = require('html-webpack-plugin'); +const HtmlWebpackPlugin = require('html-webpack-plugin'); // PostCss -var autoprefixer = require('autoprefixer'); -var postcssVars = require('postcss-simple-vars'); -var postcssImport = require('postcss-import'); +const autoprefixer = require('autoprefixer'); +const postcssVars = require('postcss-simple-vars'); +const postcssImport = require('postcss-import'); const base = { devtool: 'cheap-module-source-map',