Package Exports
- prettier-plugin-brighterscript-formatter
- prettier-plugin-brighterscript-formatter/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (prettier-plugin-brighterscript-formatter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
prettier-plugin-brighterscript-formatter
A Prettier plugin that formats BrightScript and BrighterScript files using the brighterscript-formatter package.
Installation
npm i -D prettier prettier-plugin-brighterscript-formatterOptions
In 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.