Prettier
This plugin can be used to check if a repository is following prettier rules.
plugin-prettier
This plugin can be used to check if a repository is following prettier rules.
Sample
steps:
prettier:
image: woodpeckerci/plugin-prettier:next
Settings
Settings Name | Type | Default | Description |
---|---|---|---|
check |
boolean | true | If false , runs in 'write' mode (-w) |
path |
string | . |
If specified, it checks in a specified path |
version |
numeric | empty | If specified, this prettier version is installed |
lockfile |
string | empty | If specified, prettier version is read from lockfile (support npm and pnpm) |
plugins |
list | empty | Additional prettier plugins to install |