|
|
@@ -1,7 +1,11 @@
|
|
|
module.exports = {
|
|
|
root: true,
|
|
|
env: {
|
|
|
- node: true
|
|
|
+ node: true,
|
|
|
+ browser: true,
|
|
|
+ es6: true,
|
|
|
+ commonjs: true,
|
|
|
+ jquery: true,
|
|
|
},
|
|
|
'extends': [
|
|
|
'plugin:vue/essential',
|
|
|
@@ -12,6 +16,7 @@ module.exports = {
|
|
|
},
|
|
|
rules: {
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
|
|
|
- }
|
|
|
+ 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
|
+ 'no-unused-vars': 'off',
|
|
|
+ },
|
|
|
}
|