Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a .prettierignore rule to exclude resources/views/mail/* from formatting. #77

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

michaelnabil230
Copy link
Contributor

This PR adds a new rule to .prettierignore to exclude resources/views/mail/* from automatic formatting. Email templates often contain embedded Blade syntax and inline styles, which Prettier's formatting rules can disrupt. Ignoring these files ensures that the email templates' intended structure and formatting remain intact.

… formatting.

This PR adds a new rule to `.prettierignore` to exclude `resources/views/mail/*` from automatic formatting. Email templates often contain embedded Blade syntax and inline styles, which Prettier's formatting rules can disrupt. Ignoring these files ensures that the email templates' intended structure and formatting remain intact.
@taylorotwell taylorotwell merged commit 6602f0e into laravel:main Mar 7, 2025
2 checks passed
@michaelnabil230 michaelnabil230 deleted the patch-1 branch March 7, 2025 20:09
D4ve-R pushed a commit to D4ve-R/vue-starter-kit that referenced this pull request Mar 11, 2025
… formatting. (laravel#77)

This PR adds a new rule to `.prettierignore` to exclude `resources/views/mail/*` from automatic formatting. Email templates often contain embedded Blade syntax and inline styles, which Prettier's formatting rules can disrupt. Ignoring these files ensures that the email templates' intended structure and formatting remain intact.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants