未知报错信息,无论是.vue
文件还是.js
文件都会报这三个错,并且无论文件开始输入什么内容也都会报这个错
Definition for rule 'no-async-promise-executor' was not foundeslint(no-async-promise-executor)
Definition for rule 'no-misleading-character-class' was not foundeslint(no-misleading-character-class)
Definition for rule 'no-useless-catch' was not foundeslint(no-useless-catch)
eslint配置规则
module.exports = {
env: {
browser: true,
es6: true
},
extends: [
'plugin:vue/essential',
'standard'
],
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module'
},
plugins: [
'vue'
],
rules: {
"no-var": 2,
"no-async-promise-executor":2
}
}