mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
[BE] switch to hermes parser for prettier (#30421)
This will allow us to parse new flow syntax since the `flow` parser is no longer updated. I had to exclude some files and have them fall back to `flow` parser since they contain invalid graphql syntax that makes the plugin crash.
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
.*/__mocks__/.*
|
||||
.*/__tests__/.*
|
||||
|
||||
# contains modern flow syntax that requires a Flow upgrade
|
||||
.*/node_modules/prettier-plugin-hermes-parser/.*
|
||||
|
||||
# TODO: noop should get its own inlinedHostConfig entry
|
||||
.*/packages/react-noop-renderer/.*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user