We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code hangs forever:
const prettier = require('@prettier/sync'); const prettierOptions = { plugins: ['prettier-plugin-hermes-parser'], }; const code = `// @flow strict function App() { const data = useLazyLoadQuery(graphql\`query AppQuery {} \`, {}) } `; for (let i = 0; i < 4; ++i) { console.log( prettier.format(code, { ...prettierOptions, parser: 'hermes' }).trim() ); }
Hermes git revision (if applicable): "prettier-plugin-hermes-parser": "0.19.2",
"prettier-plugin-hermes-parser": "0.19.2",
Don't have infinite loops
The text was updated successfully, but these errors were encountered:
pieterv
No branches or pull requests
Bug Description
The following code hangs forever:
Hermes git revision (if applicable):
"prettier-plugin-hermes-parser": "0.19.2",
The Expected Behavior
Don't have infinite loops
The text was updated successfully, but these errors were encountered: