Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
@jayree/sfdx-plugin-prettier
Advanced tools
A Salesforce CLI plugin containing a hook that uses prettier to format Salesforce metadata source files retrieved or pulled from Salesforce orgs.
A Salesforce CLI plugin containing a hook that uses prettier to format Salesforce metadata source files retrieved or pulled from Salesforce orgs.
sfdx-plugin-prettier
is an sfdx plugin to format Salesforce metadata source files. It is triggered by the postsourceupdate hook after running force:source:retrieve
or force:source:pull
.
$ sfdx plugins:install @jayree/sfdx-plugin-prettier
$ sfdx plugins
@jayree/sfdx-plugin-prettier 1.2.33
Use force:source:retrieve
or force:source:pull
to tirgger the hook. The formatting is performed on the retrieved source files.
sfdx-plugin-prettier
uses the .prettierrc
, .prettierignore
, and .editorconfig
files in the sfdx project folder.
When the hook is executed for the first time, a sfdx-plugin-prettier
setting is added to the sfdx-project.json
file. Here you can enable or disable the hook by setting enabled
to true
or false
(default). If you want the hook to remain disabled for a project, you can remove the setting again.
{
"plugins": {
"sfdx-plugin-prettier": {
"enabled": true
}
}
}
FAQs
A Salesforce CLI plugin containing a hook that uses prettier to format Salesforce metadata source files retrieved or pulled from Salesforce orgs.
The npm package @jayree/sfdx-plugin-prettier receives a total of 190 weekly downloads. As such, @jayree/sfdx-plugin-prettier popularity was classified as not popular.
We found that @jayree/sfdx-plugin-prettier demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.