1 Star 13 Fork 14

苏杰豪/Vue3+TS-小兔鲜儿项目-74

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.cjs 629 Bytes
一键复制 编辑 原始数据 按行查看 历史
苏杰豪 提交于 2022-07-16 09:20 +08:00 . 修改eslint配置
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution');
module.exports = {
root: true,
// 自定义规则
rules: {
// 修改多词组合的组件命名要求
'vue/multi-word-component-names': [
'error',
{
// 忽略 index 命名
ignores: ['index'],
},
],
// 关闭props不能解构
'vue/no-setup-props-destructure': 'off',
},
// 全局变量
globals: {
QC: true,
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript/recommended',
'@vue/eslint-config-prettier',
],
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Megasu/vue3-ts-rabbit-74.git
git@gitee.com:Megasu/vue3-ts-rabbit-74.git
Megasu
vue3-ts-rabbit-74
Vue3+TS-小兔鲜儿项目-74
🎯小兔鲜儿项目-vue3-ts

搜索帮助