Use lighter vue-cli instead of clunky manual webpack config

This commit is contained in:
Eliot Berriot 2018-08-11 16:21:14 +02:00
commit e3040de444
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
38 changed files with 3336 additions and 4119 deletions

View file

@ -1,27 +0,0 @@
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
'rules': {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
}
}