Skip to content

Commit 01292a1

Browse files
committed
build: narrow down prettier file set
Fixes that the formatting check was catching some files incorrectly, like pnpm lock file.
1 parent 6edd468 commit 01292a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.ng-dev/format.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ import {FormatConfig} from '@angular/ng-dev';
66
*/
77
export const format: FormatConfig = {
88
buildifier: true,
9-
prettier: true,
9+
prettier: {
10+
matchers: ['**/*.{js,ts,mts,mjs,json}', '!.yarn/**'],
11+
},
1012
};

0 commit comments

Comments
 (0)