Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-06-11 11:40:35 +0300
committerJulius Härtl <jus@bitgrid.net>2019-06-11 11:40:52 +0300
commit5d8afd3290d5e0d3efecc6a61bdd53e1be63dc91 (patch)
tree54c1035cc20fadfdf6e81a63fa6796b36b13f3a4 /webpack.common.js
parent5792c6c0993e4b22b2e39db9ec511502b5e654ff (diff)
Run eslint before webpack build
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/webpack.common.js b/webpack.common.js
index 2d2ba44a3..53480cf1b 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -17,6 +17,12 @@ module.exports = {
module: {
rules: [
{
+ test: /\.(js|vue)$/,
+ exclude: /node_modules/,
+ use: 'eslint-loader',
+ enforce: 'pre'
+ },
+ {
test: /\.css$/,
use: [
'vue-style-loader',