-
-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Lines 495 to 501 in ad666d6
| if ("parser" in options) { | |
| const value = options.parser; | |
| // prettier-ignore | |
| if (value === "flow" || value === "babel" || value === "babel-flow" || value === "babel-ts" || value === "typescript" || value === "acorn" || value === "espree" || value === "meriyah" || value === "css" || value === "less" || value === "scss" || value === "json" || value === "json5" || value === "json-stringify" || value === "graphql" || value === "markdown" || value === "mdx" || value === "vue" || value === "yaml" || value === "glimmer" || value === "html" || value === "angular" || value === "lwc") { | |
| formatOptions.parser = value; | |
| } | |
| } |
we have a hard-coded list of allowed parsers. this means custom parsers are lost at this point
somehow we should merge custom parsers into this list
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels