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
refactor: Improve error message in @babel/core #10778
Merged
nicolo-ribaudo
merged 1 commit into
babel:master
from
jaroslav-kubicek:improve-error-message
Nov 30, 2019
Merged
refactor: Improve error message in @babel/core #10778
nicolo-ribaudo
merged 1 commit into
babel:master
from
jaroslav-kubicek:improve-error-message
Nov 30, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@jaroslav-kubicek Thanks for fixing the outdated test fixtures. I have cherry-picked your fix to the master branch. Could you rebase? |
9d136b9
to
8da1b35
Compare
8da1b35
to
5b4c73f
Compare
JLHwung
approved these changes
Nov 30, 2019
nicolo-ribaudo
approved these changes
Nov 30, 2019
Thanks! |
mrtnzlml
added a commit
to adeira/universe
that referenced
this pull request
Dec 2, 2019
This feature was requested here #189 and was greatly improved in Babel itself here babel/babel#10778. It can however be annoying and sometimes difficult to do such modification so I changed my mind and I'd like to allow it after all. It's because this code where we require "upward" mode is necessary only for Universe development and should not affect users of our NPM package.
mrtnzlml
added a commit
to adeira/universe
that referenced
this pull request
Dec 2, 2019
This feature was requested here #189 and was greatly improved in Babel itself here babel/babel#10778. It can however be annoying and sometimes difficult to do such modification so I changed my mind and I'd like to allow it after all. It's because this code where we require "upward" mode is necessary only for Universe development and should not affect users of our NPM package.
mrtnzlml
added a commit
to adeira/universe
that referenced
this pull request
Dec 2, 2019
This feature was requested here #189 and was greatly improved in Babel itself here babel/babel#10778. It can however be annoying and sometimes difficult to do such modification so I changed my mind and I'd like to allow it after all. It's because this code where we require "upward" mode is necessary only for Universe development and should not affect users of our NPM package.
adeira-github-bot
pushed a commit
to adeira/relay-example
that referenced
this pull request
Dec 14, 2019
This feature was requested here adeira/universe#189 and was greatly improved in Babel itself here babel/babel#10778. It can however be annoying and sometimes difficult to do such modification so I changed my mind and I'd like to allow it after all. It's because this code where we require "upward" mode is necessary only for Universe development and should not affect users of our NPM package. adeira-source-id: a7917273c3a7861fa3f355e38c9ab732a9b1d150
This was referenced Feb 22, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: errors
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
PR: Polish 💅
A type of pull request used for our changelog categories
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Hi👋
I would like to propose updating the error message when running babel with
rootMode:"upward"
so user gets feedback on what's expected.Motivation:
Given I have a repository and I migrated recently to babel 7.x and still using just
.babelrc
for configuration. I ran a script provided to me by a third-party library which tried to search for my config but failed with this error. I would like to understand more about what is expected of me from an error message.