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

Create script to check formatting of titles #2053

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alexisintech
Copy link
Member

@alexisintech alexisintech commented Feb 24, 2025

What does this solve?

Titles that start or end with a backtick (or both) must be wrapped in quotations.

What changed?

Creates a script that checks the formatting of the title of a page. Updates the GH action to run the lint step for PRs.

⚠️ There's currently an incorrect title as an example of how the lint checker fails.

Examples:
❌ title: auth()
✅ title: 'auth()'

❌ title: <SignIn /> component
✅ title: '<SignIn /> component'

Checklist

  • I have clicked on "Files changed" and performed a thorough self-review
  • I have added the "deploy-preview" label and added the preview link(s) to this PR description
  • All existing checks pass

@alexisintech alexisintech requested a review from a team as a code owner February 24, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant