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

fix(scripts/front-matter_linter): exclude conflicting/orphaned #36905

Merged

Conversation

caugner
Copy link
Contributor

@caugner caugner commented Nov 21, 2024

Description

Excludes conflicting and orphaned files from the front-matter linter.

Motivation

This was the reason why the checks in mdn/translated-content#20368 were failing. (An orphaned file included wrongly-formatted frontmatter – see this fix – that would be corrected from prettier, but orphaned files are in the prettierignore.)

Additional details

Related issues and pull requests

@caugner caugner requested a review from a team as a code owner November 21, 2024 16:00
@caugner caugner requested review from bsmth and removed request for a team November 21, 2024 16:00
@github-actions github-actions bot added system [PR only] Infrastructure and configuration for the project size/xs [PR only] 0-5 LoC changed labels Nov 21, 2024
Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty!

@caugner caugner merged commit c753fd8 into main Nov 21, 2024
7 of 8 checks passed
@caugner caugner deleted the exclude-conflicting-and-orphaned-from-frontmatter-linter branch November 21, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/xs [PR only] 0-5 LoC changed system [PR only] Infrastructure and configuration for the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants