# 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:** 7

<div class="post-metadata">

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

</div>

> **[Travis CI](https://app.travis-ci.com/github/pfaffman/discourse-topic-default-tag)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

```plaintext
2 files inspected, no offenses detected
[2020-09-10 18:43:13] bundle exec ruby script/i18n_lint.rb plugins/discourse-topic-default-tag/config/locales/{client,server}.en.yml
[2020-09-10 18:43:13] yarn eslint --global I18n --ext .es6 plugins/discourse-topic-default-tag
yarn run v1.22.5
$ /var/www/discourse/node_modules/.bin/eslint --global I18n --ext .es6 plugins/discourse-topic-default-tag
Oops! Something went wrong! :(
ESLint: 6.8.0.
No files matching the pattern "plugins/discourse-topic-default-tag" were found.
Please check for typing mistakes in the pattern.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Listing prettier offenses in discourse-topic-default-tag:

```

> [@j.jaffeux](#):
>
> 我的提交尚未进入 tests-passed

哎呀，是我的错。

---

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