rutajdash/Prettier Check
A simple action which runs the Prettier CLI Check
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| file_pattern | The file pattern to scan | no | **/*.js |
| config_path | The path to the prettierrc file | no | "" |
| ignore_path | The path to the prettierignore file | no | ./.prettierignore |
| prettier_version | The version of prettier to install | no | latest |
| fail_on_error | Whether the script should fail when linting errors are found | no | true |
Outputs
| name | description |
|---|---|
| prettier_output | The output from prettier |