Skip to content
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

Update: add eslint version to error output. (fixes #9037) #9071

Merged
merged 3 commits into from Sep 1, 2017

Conversation

aladdin-add
Copy link
Member

@aladdin-add aladdin-add commented Aug 4, 2017

What is the purpose of this pull request? (put an "X" next to item)

[x] Other, please explain:

What changes did you make? (Give an overview)
add eslint version to error output. (fixes #9037)

Is there anything you'd like reviewers to focus on?
is this will be a breaking change?

@eslintbot
Copy link

LGTM

@mention-bot
Copy link

@aladdin-add, thanks for your PR! By analyzing the history of the files in this pull request, we identified @nzakas, @not-an-aardvark and @platinumazure to be potential reviewers.

Copy link
Member

@platinumazure platinumazure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it makes more sense to require the package.json file and use its "version" property, rather than wasting cycles executing the CLI code.

@eslintbot
Copy link

LGTM

@kaicataldo kaicataldo added cli Relates to ESLint's command-line interface enhancement This change enhances an existing feature of ESLint evaluating The team will evaluate this issue to decide whether it meets the criteria for inclusion labels Aug 5, 2017
nzakas
nzakas previously requested changes Aug 23, 2017
bin/eslint.js Outdated

console.error("\nOops! Something went wrong! :(");
console.error(`\n${template(err.messageData || {})}`);
console.error(`\nESLint: ${pkg.version}.${template(err.messageData || {})}`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to see the ESLint version on a separate line for easier reading.

@nzakas
Copy link
Member

nzakas commented Aug 23, 2017

Heads up: It looks like the issue hasn't been accepted for this PR.

@eslintbot
Copy link

LGTM

@ilyavolodin ilyavolodin added accepted There is consensus among the team that this change meets the criteria for inclusion and removed evaluating The team will evaluate this issue to decide whether it meets the criteria for inclusion labels Sep 1, 2017
Copy link
Member

@not-an-aardvark not-an-aardvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@not-an-aardvark not-an-aardvark dismissed stale reviews from platinumazure and nzakas September 1, 2017 22:13

Comments have been addressed.

@not-an-aardvark
Copy link
Member

This was accepted by the TSC yesterday (see #9037)

@ilyavolodin ilyavolodin merged commit 6becf91 into eslint:master Sep 1, 2017
@aladdin-add aladdin-add deleted the issue9037 branch October 23, 2017 16:56
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Mar 1, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Mar 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion cli Relates to ESLint's command-line interface enhancement This change enhances an existing feature of ESLint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add eslint version to error output
9 participants