Skip to content

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