From 76b9063aecc235ef7ce0a68c93e24ad1d6825e69 Mon Sep 17 00:00:00 2001 From: Alex Gustafsson Date: Sat, 10 May 2025 13:22:25 +0200 Subject: [PATCH] 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. --- lint-staged.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lint-staged.config.js b/lint-staged.config.js index c09b35cc7d..d8e43a6fe7 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -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(" ") +