Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test(ast-spec): snapshot codeframe of error#6555

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bradzacher merged 1 commit intotypescript-eslint:v6fromfisker:snapshot-error
Mar 2, 2023

Conversation

fisker
Copy link
Contributor

PR Checklist

Overview

During upgrade parser to v6 in Prettier, I found some error location should be improved, but before that, let's make the error visible?

@nx-cloud
Copy link

nx-cloudbot commentedMar 2, 2023
edited
Loading

☁️ Nx Cloud Report

We didn't find any information for the current pull request with the commit33a4fec.
You might need to set the 'NX_BRANCH' environment variable in your CI pipeline.

Checkthe Nx Cloud Github Integration documentation for more information.


Sent with 💌 fromNxCloud.

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@fisker!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint.

@netlify
Copy link

netlifybot commentedMar 2, 2023
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commit33a4fec
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/64001902a7308b000802f101
😎 Deploy Previewhttps://deploy-preview-6555--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to yourNetlify site settings.

Copy link
Member

@bradzacherbradzacher left a comment

Choose a reason for hiding this comment

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

this is a great idea!
I wonder if we should be capturing an end as well as part of theTSError?

That way we could throw errors on ranges instead of just on single characters.
Looks like code-frame also supports an end range, so we would even be able to snapshot it.

WDYT?

@bradzacherbradzacher added the testsanything to do with testing labelMar 2, 2023
@fisker
Copy link
ContributorAuthor

I wonder if we should be capturing an end as well as part of the TSError?

Prettier throws errors include a start and an end, seethis diff.
I hope to merge this one first, and change the errors to add more information later.

bradzacher reacted with thumbs up emoji

@fisker
Copy link
ContributorAuthor

@bradzacher Don't know how to fixthis, can you help?

@bradzacherbradzacher changed the titletest: snapshot codeframe of errortest(ast-spec): snapshot codeframe of errorMar 2, 2023
@bradzacherbradzacher merged commitff680bb intotypescript-eslint:v6Mar 2, 2023
@bradzacher
Copy link
Member

oops - i didn't see the error before merging 🤦

@fiskerfisker deleted the snapshot-error branchMarch 2, 2023 04:42
@bradzacher
Copy link
Member

Should be fixed byf98afd2

fisker reacted with thumbs up emoji

@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsMar 10, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@bradzacherbradzacherbradzacher approved these changes

Assignees
No one assigned
Labels
testsanything to do with testing
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@fisker@bradzacher

[8]ページ先頭

©2009-2025 Movatter.jp