chore: format code using Prettier#36
Merged
nicomiguelino merged 2 commits intoScreenly:masterfrom Mar 5, 2025
Merged
Conversation
There was a problem hiding this comment.
PR Overview
This PR applies Prettier formatting across the repository to enforce consistent code style. The changes update the formatting in documentation, workflows, tests, and production code without impacting functionality.
- Updated markdown and documentation files for consistent bullet points and formatting.
- Reformatted JavaScript source code and test files with standardized commas, spacing, and line breaks.
- Adjusted the GitHub Actions workflow file to align with expected YAML structure.
Reviewed Changes
| File | Description |
|---|---|
| CONTRIBUTING.md | Adjusted spacing and code block formatting for branch instructions. |
| .github/workflows/check-workflow-syntax.yml | Removed a stray dash to better match GitHub Actions YAML structure. |
| .github/pull_request_template.md | Changed bullet style for issue references. |
| docs/cookbook/README.md | Standardized link formatting for asset uploads. |
| test/complete-workflow.test.js | Reformatted nock calls and response arrays for clarity. |
| index.js | Broke a long helpText into two lines per Prettier standards. |
| actions/complete-workflow.js | Reformatted request headers for consistency. |
| docs/common-use-cases.md | Added spacing for improved readability. |
| docs/cookbook/uploading-an-asset-via-google-drive.md | Updated bullet points and flow for trigger and action configuration. |
| docs/cookbook/uploading-an-asset-via-dropbox.md | Similar formatting adjustments as the Google Drive document. |
| test/cleanup.test.js | Reformatted nock responses, adding necessary commas. |
| actions/cleanup-zapier-content.js | Minor arrow function formatting adjustments for readability. |
Copilot reviewed 26 out of 26 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
.github/workflows/check-workflow-syntax.yml:1
- The stray dash on the first line may cause YAML parsing errors. Please remove it to maintain valid workflow syntax.
-
vpetersson
approved these changes
Mar 5, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
How Has This Been Tested?
Checklist