@@ -134,7 +134,7 @@ Runs spotless
134134Available formatting steps:
135135 license-header Runs license header
136136 google-java-format Runs google java format
137- prettier Runs prettier
137+ prettier Runs prettier, the opinionated code formatter.
138138```
139139
140140<!-- -freshmark /usage_main -->
@@ -284,23 +284,27 @@ Usage: spotless prettier [-hV] [-C=<cacheDir>] [-n=<explicitNpmExecutable>]
284284 [-N=<explicitNodeExecutable>]
285285 [-P=<prettierConfigPath>] [-R=<explicitNpmrcFile>]
286286 [-A=<additionalNpmrcLocations>]...
287- [-c=<String=String> ]... [-D=<String=String> ]...
288- Runs prettier
287+ [-c='OPTION=VALUE' ]... [-D='PACKAGE=VERSION' ]...
288+ Runs prettier, the opinionated code formatter.
289289 -A, --additional-npmrc-location=<additionalNpmrcLocations>
290290 Additional locations to search for .npmrc files.
291- -c, --prettier-config-option=<String=String>
292- The Prettier configuration options.
291+ -c, --prettier-config-option='OPTION=VALUE'
292+ A prettier configuration options.
293+ The format is 'OPTION=VALUE'.
294+ example: 'printWidth=80'
293295 -C, --cache-dir=<cacheDir>
294- The directory to use for caching Prettier.
295- -D, --dev-dependency=<String=String>
296- The devDependencies to use for Prettier.
296+ The directory to use for caching prettier.
297+ -D, --dev-dependency='PACKAGE=VERSION'
298+ An entry to add to the package.json for running prettier.
299+ The format is 'PACKAGE=VERSION'.
300+ example: 'prettier=2.8.7'
297301 -h, --help Show this help message and exit.
298302 -n, --npm-exec=<explicitNpmExecutable>
299303 The explicit path to the npm executable.
300304 -N, --node-exec=<explicitNodeExecutable>
301305 The explicit path to the node executable.
302306 -P, --prettier-config-path=<prettierConfigPath>
303- The path to the Prettier configuration file.
307+ The path to the prettier configuration file.
304308 -R, --npmrc-file=<explicitNpmrcFile>
305309 The explicit path to the .npmrc file.
306310 -V, --version Print version information and exit.
0 commit comments