Gathering detailed insights and metrics for @jayree/sfdx-plugin-prettier
Gathering detailed insights and metrics for @jayree/sfdx-plugin-prettier
Gathering detailed insights and metrics for @jayree/sfdx-plugin-prettier
Gathering detailed insights and metrics for @jayree/sfdx-plugin-prettier
A Salesforce CLI plugin containing a hook that uses prettier to format Salesforce metadata source files retrieved or pulled from Salesforce orgs.
npm install @jayree/sfdx-plugin-prettier
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (76.78%)
JavaScript (20.27%)
Shell (2.35%)
Batchfile (0.6%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
BSD-3-Clause License
11 Stars
1,457 Commits
3 Watchers
7 Branches
2 Contributors
Updated on Jul 18, 2025
Latest Version
1.3.123
Package Id
@jayree/sfdx-plugin-prettier@1.3.123
Unpacked Size
1.16 MB
Size
309.47 kB
File Count
21
NPM Version
10.9.2
Node Version
22.17.0
Published on
Jul 18, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
14
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
.
1$ npm install -g @jayree/sfdx-plugin-prettier 2$ sfdx COMMAND 3running command... 4$ sfdx (--version) 5@jayree/sfdx-plugin-prettier/1.3.123 linux-x64 node-v22.17.0 6$ sfdx --help [COMMAND] 7USAGE 8 $ sfdx COMMAND 9...
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.
1{ 2 "plugins": { 3 "sfdx-plugin-prettier": { 4 "enabled": true 5 } 6 } 7}
No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
7 existing vulnerabilities detected
Details
Reason
Found 0/5 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More