generated from devcontainers-community/features-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,10 @@ | |
|
||
This Dev Container Feature installs Prettier and plugins globally using Node.js | ||
and npm to run `npm install -g prettier`. You can also add plugins by specifying | ||
a `plugins` option. This will install each plugin using | ||
`npm install -D $plugin`. | ||
a `plugins` option. This will install all the plugins at once using | ||
`npm install -g $PLUGINS`. You can use `[email protected]` full npm | ||
specifiers! Just make sure each plugin is separated by a space character, **not | ||
a comma**. | ||
|
||
## Usage | ||
|
||
|
@@ -56,7 +58,7 @@ You can specify plugins like this: | |
// devcontainer.json | ||
"features": { | ||
"ghcr.io/devcontainers-community/features/prettier": { | ||
"plugins": "prettier-plugin-jsdoc @prettier/plugin-php" | ||
"plugins": "prettier-plugin-jsdoc @prettier/plugin-php@0.20.1" | ||
} | ||
} | ||
``` |