Fix typo in lint config (#25419)

Fix a typo causing yaml and "aml" files to be formatted with prettier as
opposed to yaml and yml.
pull/25421/head
Alex Gustafsson 2025-05-10 13:22:25 +02:00 committed by GitHub
parent 60c1d0a556
commit 76b9063aec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ export default {
"prettier --cache --write",
"lit-analyzer --quiet",
],
"*.{json,css,md,markdown,html,y?aml}": "prettier --cache --write",
"*.{json,css,md,markdown,html,ya?ml}": "prettier --cache --write",
"translations/*/*.json": (files) =>
'printf "%s\n" "Translation files should not be added or modified here. Instead, make the necessary modifications in src/translations/en.json. Other languages are managed externally. Please see https://developers.home-assistant.io/docs/translations/ for details." ' +
files.join(" ") +