Open astorije opened 1 month ago
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.
.env
.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?
filenames
extensions
Using version 0.14.0:
And a dotenv file containing:
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 forextensions
, i.e. is it a logical OR or a logical AND?