From 1afa6b71d7b40412158093ad01edf02f3baae5d2 Mon Sep 17 00:00:00 2001 From: Marcus Quinn <6428977+marcusquinn@users.noreply.github.com> Date: Thu, 19 Mar 2026 23:20:17 +0000 Subject: [PATCH] fix: streamline npm lint and quality scripts (issue #109) (#116) Rename 'lint' to 'lint:php-all' for clarity, make 'lint' run all linters (PHP, JS, CSS), and simplify 'quality' to avoid duplication. Addresses gemini review feedback from PR #103. --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index de1d81b..7a8c517 100644 --- a/package.json +++ b/package.json @@ -37,9 +37,10 @@ "fix:php": "composer run-script phpcbf", "fix:php:simple": "composer run-script phpcbf:simple", "test:php": "composer run-script test", - "lint": "composer run-script lint", + "lint:php-all": "composer run-script lint", + "lint": "npm run lint:php-all && npm run lint:js && npm run lint:css", "fix": "composer run-script fix", - "quality": "npm run lint && npm run lint:js && npm run lint:css && npm run test:php" + "quality": "npm run lint && npm run test:php" }, "repository": { "type": "git",