瀏覽代碼

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

Co-authored-by: chenxi <chenxi@wecash.net>
ClarkChen 5 年之前
父節點
當前提交
2da635f73c
共有 1 個文件被更改,包括 2 次插入1 次删除
  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"]
 }