Преглед на файлове

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",
     ".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"]
 }
 }