rm pre eslint

This commit is contained in:
Pan 2017-05-04 14:29:11 +08:00
parent b54923cad8
commit 5c0b31d46f
1 changed files with 9 additions and 9 deletions

View File

@ -41,15 +41,15 @@ module.exports = {
}, },
module: { module: {
rules: [ rules: [
{ // {
test: /\.(js|vue)$/, // test: /\.(js|vue)$/,
loader: 'eslint-loader', // loader: 'eslint-loader',
enforce: "pre", // enforce: "pre",
include: [resolve('src'), resolve('test')], // include: [resolve('src'), resolve('test')],
options: { // options: {
formatter: require('eslint-friendly-formatter') // formatter: require('eslint-friendly-formatter')
} // }
}, // },
{ test: /\.vue$/, { test: /\.vue$/,
loader: 'vue-loader', loader: 'vue-loader',
options: vueLoaderConfig options: vueLoaderConfig