mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-03-16 22:10:27 +00:00
Merge eslintrc
This commit is contained in:
parent
757735f8a8
commit
a7b0b1bf2f
2 changed files with 4 additions and 15 deletions
|
|
@ -28,6 +28,10 @@
|
|||
"arguments": true,
|
||||
"window": true
|
||||
},
|
||||
root: true,
|
||||
parserOptions: {
|
||||
sourceType: 'module'
|
||||
},
|
||||
"parser": "babel-eslint",
|
||||
"rules": {
|
||||
"arrow-parens": 2,
|
||||
|
|
|
|||
15
.eslintrc.js
15
.eslintrc.js
|
|
@ -1,15 +0,0 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
parserOptions: {
|
||||
sourceType: 'module'
|
||||
},
|
||||
// required to lint *.vue files
|
||||
plugins: [
|
||||
'html'
|
||||
],
|
||||
// add your custom rules here
|
||||
'rules': {
|
||||
// allow debugger during development
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue