From d48853fcdd6ea8933b4fc1ba6199137649783072 Mon Sep 17 00:00:00 2001 From: Steve Repsher Date: Wed, 14 Dec 2022 06:11:58 -0500 Subject: [PATCH] Add precommit hook to deduplicate dependencies (#14609) --- lint-staged.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lint-staged.config.js b/lint-staged.config.js index a41455f949..d5f63c77bf 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -5,4 +5,5 @@ module.exports = { '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(" ") + " >&2 && exit 1", + "/yarn.lock": () => "yarn dedupe", };