From 0f9b5f4ab919551396e59342fbb8c13494876fcc Mon Sep 17 00:00:00 2001 From: Clemens <68013019+ClFeSc@users.noreply.github.com> Date: Thu, 30 Apr 2026 10:29:36 +0200 Subject: [PATCH] fix: `pnpm lint` does not work (#33327) Since sometime after v1.12.15, the first subcommand of `pnpm lint` (`pnpm -r lint:types`) adds files to the tree that do not conform to the prettier requirements tested in the second step of `pnpm lint` (`pnpm lint:prettier`). This change adds the affected paths to the `.prettierignore` file to make the lint pass. --- .prettierignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.prettierignore b/.prettierignore index e0a9e4fc57..0a8f1a2baf 100644 --- a/.prettierignore +++ b/.prettierignore @@ -62,4 +62,10 @@ CHANGELOG.md /packages/shared-components/typedoc/ /packages/shared-components/storybook-static/ +# These files are generated by running `pnpm -r lint:types` and do not adhere to prettier's requirements. +# All of them are .gitignored within their parent directory. +/packages/playwright-common/lib/ +/packages/module-api/lib/ +/packages/module-api/temp/ + /.nx/