1
This commit is contained in:
21
admin/.eslintrc.js
Normal file
21
admin/.eslintrc.js
Normal file
@@ -0,0 +1,21 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
parserOptions: {
|
||||
sourceType: 'module'
|
||||
},
|
||||
extends: ['plugin:vue/essential', '@vue/standard'],
|
||||
rules: {
|
||||
'generator-star-spacing': 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
|
||||
'space-before-function-paren': 0,
|
||||
'no-undef': 'off',
|
||||
camelcase: 'off',
|
||||
semi: ['off', 'always'],
|
||||
indent: ['off', 2],
|
||||
"prettier/prettier": "off"
|
||||
},
|
||||
parserOptions: { parser: 'babel-eslint' },
|
||||
parser: 'vue-eslint-parser',
|
||||
plugins: ['prettier'],
|
||||
extends: ['plugin:prettier/recommended']
|
||||
}
|
||||
Reference in New Issue
Block a user