Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: prettier format example json files #1389

Merged

Conversation

MikeMcC399
Copy link
Collaborator

Situation

  • There are no linting or formatting checks carried out on *.json files which are included in the .github/workflows directory.

  • Prettier supports JSON formatting and is available for use in the repo.

Change

To ensure consistent JSON source formatting as part of an overall effort to increase linting coverage in the repo:

  • Add .prettierignore exceptions for:

  • Use Prettier to check all non-generated *.json files in the examples directory, and correct where necessary:

npx prettier --write examples/**/*.json

@cypress-app-bot
Copy link

@MikeMcC399 MikeMcC399 self-assigned this Mar 7, 2025
@MikeMcC399 MikeMcC399 marked this pull request as ready for review March 7, 2025 17:59
@jennifer-shehane jennifer-shehane merged commit 1683c2e into cypress-io:master Mar 7, 2025
76 checks passed
@MikeMcC399 MikeMcC399 deleted the json-format-examples branch March 7, 2025 18:12
Copy link

🎉 This PR is included in version 6.7.16 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants