-
-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Question
This plugin use prettier.getFileInfo
to decide which parser to use. But this plugin is work with stylelint, so the parser maybe only need be css
?
Problem
In China there is someting called miniProgram. It's style file use css syntax but use wxss
as the extension. I want use this plugin in miniProgram
, but Prettier don't know *.wxss
file. If I told Prettier use css
parser, it will work fine.
Or
If the parser can not just be css
, maybe use css
as default parser when inferredParser
is null is a idea.
I'm happy to send a PR :)
littleprincewdk
Metadata
Metadata
Assignees
Labels
No labels