Skip to content

Add reference link comment for Prettier filename matching patterns #597

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

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Jun 17, 2025

Prettier uses filename pattern matching to identify the programming language of files (and from this determines which files to format, and how to format those files). This is based on data from the Linguist project.

That data was used as a reference for configuring the paths filter of the "Check Prettier Formatting" workflow, which ensures that the workflow will run whenever relevant files are modified.

Documenting that reference via a comment in the workflow will facilitate the maintenance of the paths filter.

Prettier uses filename pattern matching to identify the programming language of files (and from this determines which
files to format, and how to format those files). This is based on data from the "Linguist" project.

That data was used as a reference for configuring the paths filter of the "Check Prettier Formatting" workflow, which
ensures that the workflow will run whenever relevant files are modified.

Documenting that reference via a comment in the workflow will facilitate the maintenance of the paths filter.
@per1234 per1234 self-assigned this Jun 17, 2025
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jun 17, 2025
@per1234 per1234 merged commit fab0825 into arduino:main Jun 17, 2025
16 checks passed
@per1234 per1234 deleted the prettier-file-pattern-reference branch June 18, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant