From 550e1a34a08de0029d12514e0733d92dfc675815 Mon Sep 17 00:00:00 2001 From: kneshi <60970253+kneshi@users.noreply.github.com> Date: Tue, 12 May 2026 10:48:53 +0200 Subject: [PATCH] chore: extend lint-staged glob to cover yml and yaml CI's prettier --check covers all YAML files, but the lint-staged pre-commit hook only globbed ts/tsx/js/mjs/json/md/css. That meant edits to .github/dependabot.yml could pass the commit hook locally and then fail CI on formatting (one example: PR #56's first push). Bringing the two checks into sync. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dab64ad..f2ff45b 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "backend/src/**/*.ts": "backend/node_modules/.bin/eslint --config backend/eslint.config.mjs --fix", "frontend/src/**/*.{ts,tsx}": "frontend/node_modules/.bin/eslint --config frontend/eslint.config.mjs --fix", "shared/src/**/*.ts": "shared/node_modules/.bin/eslint --config shared/eslint.config.mjs --fix", - "**/*.{ts,tsx,js,mjs,json,md,css}": "prettier --write" + "**/*.{ts,tsx,js,mjs,json,md,css,yml,yaml}": "prettier --write" }, "engines": { "node": ">=24"