# Travis 测试因 eslint 而失败

**URL:** <https://meta.discourse.org/t/travis-tests-failing-due-to-eslint/163268>\
**Category:** Development\
**Created:** [2020 年9 月 7 日 15:27 UTC](https://meta.discourse.org/t/travis-tests-failing-due-to-eslint/163268 "2020-09-07T15:27:41Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

作者： ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
发布日期： [2020 年9 月 10 日 18:18 UTC](https://meta.discourse.org/t/travis-tests-failing-due-to-eslint/163268/6 "2020-09-10T18:18:14Z")

</div>

这应该能解决问题：

> <https://github.com/discourse/discourse/commit/a60ba75ac29f748774a495dd60beb28291a2bcb9>
>
> The recent upgrade of eslint fails if no files is found for the defined patterns….

请告诉我结果如何 👍

---

_[View the full topic](https://meta.discourse.org/t/travis-tests-failing-due-to-eslint/163268)._
