DEV: Ensure prettier uses the same patterns everywhere (PR #10487)

GitHub