You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
912 B
JavaScript
41 lines
912 B
JavaScript
/*
|
|
* @Author: wujian
|
|
* @Date: 2022-05-31 09:27:01
|
|
* @LastEditors: xing.heng
|
|
* @LastEditTime: 2023-05-17 22:48:17
|
|
*/
|
|
module.exports = {
|
|
root: true,
|
|
parserOptions: {
|
|
parser: '@babel/eslint-parser',
|
|
sourceType: 'module',
|
|
ecmaVersion: 2015
|
|
},
|
|
plugins: ['vue'],
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
es6: true
|
|
},
|
|
rules: {
|
|
// 忽略console警告
|
|
'no-console': 'off',
|
|
// 忽略v-html警告
|
|
'vue/no-v-html': 'off',
|
|
'vue/multi-word-component-names': 'off',
|
|
'vue/no-mutating-props': 'off',
|
|
'no-prototype-builtins': 'off',
|
|
'array-callback-return': 'off',
|
|
'prefer-regex-literals': 'off',
|
|
'multiline-ternary': 'off',
|
|
'vue/order-in-components': 'off',
|
|
'no-eval': 'off',
|
|
'vue/no-template-shadow': 'off'
|
|
},
|
|
extends: [
|
|
'plugin:vue/recommended',
|
|
'eslint:recommended',
|
|
'@vue/standard' // 使eslint继承standard标准
|
|
]
|
|
}
|