prettier
prettier copied to clipboard
Enable `errorOnUnknownASTType: true` for typescript parser
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.mdfile followingchangelog_unreleased/TEMPLATE.md. - [ ] I’ve read the contributing guidelines.
yarn add https://pkg.pr.new/prettier/prettier/@prettier/[email protected]
yarn add https://pkg.pr.new/prettier/prettier/@prettier/[email protected]
yarn add https://pkg.pr.new/prettier/[email protected]
commit: fb588f6
Deploy Preview for prettier ready!
| Name | Link |
|---|---|
| Latest commit | fb588f6a5299dafe98a20f1e4132c1b03dc8c443 |
| Latest deploy log | https://app.netlify.com/projects/prettier/deploys/69276ceaef2b5100089c4bb9 |
| Deploy Preview | https://deploy-preview-17511--prettier.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.