From ef157c88da19aac52390424a9b05de0aea09b69c Mon Sep 17 00:00:00 2001 From: hualigushi Date: Thu, 12 Oct 2023 21:10:31 +0800 Subject: [PATCH] feat: add dumi deps check --- src/doctor/rules/PREFER_PEER_DEPS.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doctor/rules/PREFER_PEER_DEPS.ts b/src/doctor/rules/PREFER_PEER_DEPS.ts index 3b77e10c..b7644581 100644 --- a/src/doctor/rules/PREFER_PEER_DEPS.ts +++ b/src/doctor/rules/PREFER_PEER_DEPS.ts @@ -1,7 +1,7 @@ import type { IDoctorReport } from '..'; import type { IApi } from '../../types'; -const PREFER_PEER_DEPS = ['react', 'react-dom', 'antd']; +const PREFER_PEER_DEPS = ['react', 'react-dom', 'antd', 'dumi']; export default (api: IApi) => { api.addRegularCheckup(() => {