Explorar el Código

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

Co-authored-by: chenxi <chenxi@wecash.net>
ClarkChen hace 5 años
padre
commit
2da635f73c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      tsconfig.json

+ 2 - 1
tsconfig.json

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