Prettify your Apex/Lightning code on the Salesforce platform.
$ npm install -g sfdx-prettier
$ sfdx-prettier COMMAND
running command...
$ sfdx-prettier (-v|--version|version)
sfdx-prettier/0.0.0-development win32-x64 node-v8.9.4
$ sfdx-prettier --help [COMMAND]
USAGE
$ sfdx-prettier COMMAND
...
make your Apex and Lightning code prettier
USAGE
$ sfdx-prettier prettier:format
OPTIONS
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx prettier:format
See code: src\commands\prettier\format.ts