A Prettier plugin that formats BrightScript and BrighterScript files using the brighterscript-formatter package.
npm i -D prettier prettier-plugin-brighterscript-formatterIn this plugin, options for the BrighterScript formatter are prefixed with bsfmt, followed by the relevant option name in camel case.
For example, if you have the following settings in your bsfmt.json:
{
"keywordCase": "lower",
"indentSpaceCount": 2
}You would instead add this to your .prettierrc.js:
{
"bsfmtKeywordCase": "lower",
"bsfmtIndentSpaceCount": 2
}Refer to the bsfmt.json spec for the full list of options.