From 01292a193dd94fc202561510b7ffd73a76880808 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Thu, 13 Feb 2025 14:01:42 +0100 Subject: [PATCH] build: narrow down prettier file set Fixes that the formatting check was catching some files incorrectly, like pnpm lock file. --- .ng-dev/format.mts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ng-dev/format.mts b/.ng-dev/format.mts index 0bdad7235d37..dcdcd7cb8a90 100644 --- a/.ng-dev/format.mts +++ b/.ng-dev/format.mts @@ -6,5 +6,7 @@ import {FormatConfig} from '@angular/ng-dev'; */ export const format: FormatConfig = { buildifier: true, - prettier: true, + prettier: { + matchers: ['**/*.{js,ts,mts,mjs,json}', '!.yarn/**'], + }, };