8000 Enable `errorOnUnknownASTType: true` for typescript parser by fisker · Pull Request #17511 · prettier/prettier · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@fisker
Copy link
Member
@fisker fisker commented May 24, 2025

Description

We already enable jsDocParsingMode: 'none', I think TSJSDoc* is not possible now, enable errorOnUnknownASTType: true to make sure the parser throws for unknown node types.

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

@pkg-pr-new
Copy link
pkg-pr-new bot commented May 24, 2025

Open in StackBlitz

yarn add https://pkg.pr.new/prettier@17511.tgz

commit: f9566f6

@netlify
Copy link
netlify bot commented May 24, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit f9566f6
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/683200f38d3b000008ae6a6f
😎 Deploy Preview https://deploy-preview-17511--prettier.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 your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0