Skip to content
代码片段 群组 项目
未验证 提交 e34b0b7b 编辑于 作者: Paul Slaughter's avatar Paul Slaughter
浏览文件

Add comment explaining eslint-disable-next-line

上级 75e090e4
No related branches found
No related tags found
无相关合并请求
...@@ -4,6 +4,7 @@ const baseConfig = require('./jest.config.base'); ...@@ -4,6 +4,7 @@ const baseConfig = require('./jest.config.base');
// TODO: Remove existsSync once jh has added jest.config.js // TODO: Remove existsSync once jh has added jest.config.js
if (IS_JH && fs.existsSync('./jh/jest.config.js')) { if (IS_JH && fs.existsSync('./jh/jest.config.js')) {
// We can't be explicit with eslint-disable rules because in JH it'll pass import/no-unresolved
// eslint-disable-next-line // eslint-disable-next-line
module.exports = require('./jh/jest.config'); module.exports = require('./jh/jest.config');
} else { } else {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册