Skip to content
Snippets Groups Projects
Commit 29aebb37 authored by fibasile's avatar fibasile
Browse files

fixed eslint

parent cd9baea9
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ module.exports = {
// add your custom rules here
rules: {
"vue/valid-v-for": "off",
"vue/require-prop-types": "off",
"template-curly-spacing": "off",
// allow async-await
"generator-star-spacing": "off",
......
// Configuration for your app
const envparser = require('./config/envparser')
const envparser = require('./config/envparser');
module.exports = function (ctx) {
return {
......@@ -90,15 +90,15 @@ module.exports = function (ctx) {
// analyze: true,
// extractCSS: false,
extendWebpack (cfg) {
cfg.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /node_modules/,
options: {
formatter: require('eslint').CLIEngine.getFormatter('stylish')
}
})
// cfg.module.rules.push({
// enforce: 'pre',
// test: /\.(js|vue)$/,
// loader: 'eslint-loader',
// exclude: /node_modules/,
// options: {
// formatter: require('eslint').CLIEngine.getFormatter('stylish')
// }
// })
}
},
......@@ -185,5 +185,5 @@ module.exports = function (ctx) {
// appId: 'quasar-app'
}
}
}
};
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment