From 1a8f5925185ec2f3a3f569c6d56298a287c14f66 Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Wed, 29 Apr 2026 14:04:16 +0200 Subject: [PATCH] chore(app): decouple pnpm lint from --fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WS-3 session 1b-ii Task 1. Splits the apps/app lint script: - \`pnpm lint\` → no-fix; reports problems (used in CI, in audits). - \`pnpm lint:fix\` → --fix; explicit autofix on demand. Resolves the cause of the WS-3 1b-i pre-flight confusion: when 'pnpm lint' silently ran --fix, ad-hoc invocations reported the post-fix remainder as if it were the baseline (the wrong '105' number that broke session 1b-i's first attempt). No code changes. Behaviour change is opt-in per script invocation. Co-Authored-By: Claude Opus 4.7 --- apps/app/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/app/package.json b/apps/app/package.json index 1e304c02..7b37a1a2 100644 --- a/apps/app/package.json +++ b/apps/app/package.json @@ -8,7 +8,8 @@ "build": "vite build", "preview": "vite preview --port 5050", "typecheck": "vue-tsc --noEmit", - "lint": "eslint . -c .eslintrc.cjs --fix --ext .ts,.js,.cjs,.vue,.tsx,.jsx", + "lint": "eslint . -c .eslintrc.cjs --ext .ts,.js,.cjs,.vue,.tsx,.jsx", + "lint:fix": "eslint . -c .eslintrc.cjs --fix --ext .ts,.js,.cjs,.vue,.tsx,.jsx", "build:icons": "tsx src/plugins/iconify/build-icons.ts", "msw:init": "msw init public/ --save", "postinstall": "npm run build:icons && npm run msw:init",