Only apply eslint-loader to our own sources

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>

See c81b9ae648
This commit is contained in:
Raimund Schlüßler 2019-10-27 11:35:20 +01:00
parent d3a2618121
commit b2b528885a
No known key found for this signature in database
GPG key ID: 036FA7EB1A599178

View file

@ -21,7 +21,7 @@ module.exports = {
use: ['vue-style-loader', 'css-loader', 'sass-loader']
},
{
test: /\.(js|vue)$/,
test: /src\/.*\.(js|vue)$/,
use: 'eslint-loader',
enforce: 'pre'
},