You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to format a file name: .yamllint, it is definitely a yaml file. However, the prettier format
returns find no parser error even if I have set the major mode to yaml-mode.
It seems prettier select parser according to file extension like .vue, .json or whatever
I notice that prettier format doesn't include the --parser= argument, could we map
(MAJOR_MODE . PARSER) by force or select parser according to file extension first and then the major-mode ?
The text was updated successfully, but these errors were encountered:
I want to format a file name: .yamllint, it is definitely a yaml file. However, the prettier format
returns
find no parser
error even if I have set the major mode toyaml-mode
.It seems prettier select parser according to file extension like .vue, .json or whatever
I notice that prettier format doesn't include the
--parser=
argument, could we map(MAJOR_MODE . PARSER) by force or select parser according to file extension first and then the major-mode ?
The text was updated successfully, but these errors were encountered: