aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-09-05 14:49:06 +0300
committerGravatar Vitaly Takmazov2016-09-05 14:49:06 +0300
commit1ab4a2f12cdc9ba52f7e7b51ceee9212c1aafb9c (patch)
tree1f26f7ce66eb533881f3652cc17e15c6f9879620 /juick-www
parent9e09af9ca7abd1b1bce254a7734b9a0ced999692 (diff)
www: enable csslint
Diffstat (limited to 'juick-www')
-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: [