-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to ESLint v4 #57
Comments
|
更新来ました〜 |
Warnings:
The fixed version of |
Merged
Fixed via #82 |
@interfirm/dev |
@ybiquitous ありがとうございます 🎉 |
oandregal
added a commit
to Automattic/eslint-eslines
that referenced
this issue
Sep 8, 2017
Since the goal of eslines is to downgrade errors on non-modified lines, we can't count on eslint's exit code. Previously, we assumed that if eslint outputs something on its stderr, this means it encountered some other error. It turned out to be a bad assumption, as the following example illustrates. Currently, the eslint-plugin-react outputs some warning in the stderr channel interfirm/eslint-config-interfirm#57 ESLint will output that errors in the stderr but if it doesn't find any lint issues it will report zero as its exit code. In our case, although eslines will exit 0 as well, we'd return 1 because we heard ESLint reported something in the stderr channel.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://eslint.org/docs/4.0.0/user-guide/migrating-to-4.0.0
依存しているプラグインが対応するのを待つ必要がある。
The text was updated successfully, but these errors were encountered: