first commit
This commit is contained in:
21
pgweb/.eslintrc.js
Normal file
21
pgweb/.eslintrc.js
Normal file
@@ -0,0 +1,21 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
node: true
|
||||
},
|
||||
extends: ['plugin:vue/essential'],
|
||||
rules: {
|
||||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
camelcase: 'off',
|
||||
'vue/no-parsing-error': [
|
||||
2,
|
||||
{
|
||||
'x-invalid-end-tag': false
|
||||
}
|
||||
]
|
||||
},
|
||||
parserOptions: {
|
||||
parser: 'babel-eslint'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user