代码拉取完成,页面将自动刷新
module.exports = {
env: {
browser: true,
es2021: true,
node: true
},
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:vue/vue3-essential', 'plugin:prettier/recommended'],
overrides: [],
parserOptions: {
ecmaVersion: 'latest',
parser: '@typescript-eslint/parser',
sourceType: 'module'
},
plugins: ['@typescript-eslint'],
rules: {
'vue/multi-word-component-names': 'off', // 文件名是否驼峰命名
'no-undef': 'off', // 不能有未定义的变量
'@typescript-eslint/no-empty-interface': 'off', // 不允许定义空的接口
'@typescript-eslint/no-explicit-any': 'off', // 关闭any类型警告
'@typescript-eslint/no-unused-vars': 'off', // 不允许未使用的变量
'@typescript-eslint/no-empty-function': 'off', // 不允许未使用的方法
'@typescript-eslint/no-var-requires': 'off', // 不允许使用 require 引入
'vue/no-v-html': 'off', // 不允许使用 v-html 引入
'no-useless-escape': 'off', // 禁止不必要的转义字符
'vue/prop-name-casing': 'off' // 禁止检测驼峰命名
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。