Procházet zdrojové kódy

feat: 修复eslint中mock文件未被引用的报错 (#7543)

Co-authored-by: chenxi <chenxi@wecash.net>
ClarkChen před 5 roky
rodič
revize
2da635f73c
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      tsconfig.json

+ 2 - 1
tsconfig.json

@@ -32,7 +32,8 @@
     ".eslintrc.js",
     ".stylelintrc.js",
     ".prettierrc.js",
-    "jest.config.js"
+    "jest.config.js",
+    "mock/*"
   ],
   "exclude": ["node_modules", "build", "dist", "scripts", "src/.umi/*", "webpack", "jest"]
 }