From 3910656d68ef8805dbb2d820ba7476a549d1188c Mon Sep 17 00:00:00 2001 From: flamerged <34665379+flamerged@users.noreply.github.com> Date: Fri, 1 May 2026 21:25:44 +0200 Subject: [PATCH] chore: widen prettier + eslint globs to test/ and .github/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit format / format:check / lint / lint:fix now cover test/ and .github/ in addition to src/. Catches formatting drift in test fixtures, GitHub issue/PR templates, and workflow YAMLs that previously slipped through because lint-staged is the only thing that ran prettier on those paths on commit. Pure tooling change — no source edits. `chore:` won't trigger a release per .releaserc.json's rules. --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 17baa72..d23d86c 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,10 @@ "build": "tsc", "typecheck": "tsc --noEmit", "dev": "tsc && node dist/index.js", - "format": "prettier --write \"src/**/*.{ts,json}\" \"*.{json,md,yml,yaml}\"", - "format:check": "prettier --check \"src/**/*.{ts,json}\" \"*.{json,md,yml,yaml}\"", - "lint": "eslint \"src/**/*.ts\"", - "lint:fix": "eslint --fix \"src/**/*.ts\"", + "format": "prettier --write \"src/**/*.{ts,json}\" \"test/**/*.{ts,json}\" \".github/**/*.{yml,yaml,md}\" \"*.{json,md,yml,yaml}\"", + "format:check": "prettier --check \"src/**/*.{ts,json}\" \"test/**/*.{ts,json}\" \".github/**/*.{yml,yaml,md}\" \"*.{json,md,yml,yaml}\"", + "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"", + "lint:fix": "eslint --fix \"src/**/*.ts\" \"test/**/*.ts\"", "test": "vitest run", "test:watch": "vitest", "prepare": "husky",