aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick-www/package.json2
-rw-r--r--juick-www/webpack.config.js5
2 files changed, 5 insertions, 2 deletions
diff --git a/juick-www/package.json b/juick-www/package.json
index f26580db..2eda35cd 100644
--- a/juick-www/package.json
+++ b/juick-www/package.json
@@ -13,6 +13,8 @@
"license": "AGPLv3",
"devDependencies": {
"css-loader": "^0.23.1",
+ "csslint": "^1.0.2",
+ "csslint-loader": "^1.0.0",
"eslint": "^3.1.1",
"eslint-loader": "^1.4.1",
"extract-text-webpack-plugin": "^1.0.1",
diff --git a/juick-www/webpack.config.js b/juick-www/webpack.config.js
index 86cc3bf0..27e4a28a 100644
--- a/juick-www/webpack.config.js
+++ b/juick-www/webpack.config.js
@@ -16,12 +16,13 @@ module.exports = {
},
module: {
preLoaders: [
- { test: /\.jsx?$/, loader: 'eslint', exclude: /node_modules/ }
+ { test: /\.jsx?$/, loader: 'eslint', exclude: /node_modules/ },
+ { test: /\.css$/, loader: 'csslint?failOnWarning=false', exclude: /node_modules/ }
],
loaders: [
{ test: /\.css$/, loader: ExtractTextPlugin.extract("style-loader", "css-loader") },
{ test: /\.png$/, loader: "url-loader?limit=10000000000" },
- { test: /\.svg$/, loader: "url-loader?limit=10000000000" },
+ { test: /\.svg$/, loader: "url-loader?limit=10000000000" }
]
},
plugins: [