mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-16 05:10:31 +02:00
Improved Readme Commenting
This commit is contained in:
@@ -8,10 +8,10 @@ A GitHub action for styling files with [prettier](https://prettier.io).
|
|||||||
|
|
||||||
| Parameter | Required | Default | Description |
|
| Parameter | Required | Default | Description |
|
||||||
| - | - | - | - |
|
| - | - | - | - |
|
||||||
| prettier_options | :x: | '--write **/*.js' | Prettier options (by default it applies to the whole repository) |
|
| prettier_options | :x: | --write **/*.js | Prettier options (by default it applies to the whole repository) |
|
||||||
| commit_options | :x: | - | Custom git commit options |
|
| commit_options | :x: | No options. | Custom git commit options |
|
||||||
| commit_message | :x: | 'Prettified Code!' | Custom git commit message |
|
| commit_message | :x: | Prettified Code! | Custom git commit message |
|
||||||
| file_pattern | :x: | '*' | Custom git add file pattern |
|
| file_pattern | :x: | * | Custom git add file pattern |
|
||||||
| branch | :white_check_mark: | - | Custom git publish branch, use ${{ github.head_ref }} if used in pull requests |
|
| branch | :white_check_mark: | - | Custom git publish branch, use ${{ github.head_ref }} if used in pull requests |
|
||||||
|
|
||||||
### Example Config
|
### Example Config
|
||||||
|
|||||||
Reference in New Issue
Block a user