-
-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
Description
Using version 0.14.0:
"prettier-plugin-sh": "0.14.0",
And a dotenv file containing:
VITE_API_BASE_URL= /api
The plugin will correctly format it if named .env
but not .env.development
.
I wonder if https://github.com/un-ts/prettier/blob/master/scripts/languages.ts#L23-L28 must be split into 2 objects, one for filenames
and one for extensions
, i.e. is it a logical OR or a logical AND?