apptools-lab / AppWorks

🐻 基于 VS Code 插件的前端研发工具集,站点国内镜像:https://apptools.gitee.io
https://appworks.site/
MIT License
995 stars 179 forks source link

@appworks/doctor 代码重复检测结果错误 #1066

Open wyong03112636 opened 1 year ago

wyong03112636 commented 1 year ago

插件名/Extension: @appworks/doctor 0.5.0

您的本地环境信息/Your local environment information

您遇到的问题及复现步骤/What are your problems and how to reproduce them

const { Doctor } = require('@appworks/doctor');
const doctor = new Doctor({
    ignore: ['images'],
  });
  doctor
    .scan('./src', {
      framework: 'vue',
      tempFileDir: 'doctorResult',
      disableMaintainability: true,
      disableCodemod: true,
      disableStylelint: true,
    })
    .then((result) => {
      console.log(result)
  })

检测结果: image

其中重复模块检测结果没有数据,但是检测输出的文件里,重复模块的检测是有数据的

您期待的正确结果/The right result you're looking forward to

image