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

Vue code formatting #212

Merged
merged 2 commits into from
Nov 16, 2022
Merged

Vue code formatting #212

merged 2 commits into from
Nov 16, 2022

Conversation

jessarcher
Copy link
Member

The formatting in the Vue stubs had become a little inconsistent because we don't have a formatter enabled for them. We're using StyleCI for PHP, JS, JSX, and CSS, so this PR enables it for Vue files as well.

I believe StyleCI uses Prettier under the hood for Vue files, so this should improve the out-of-box experience for developers using Prettier as they can now prevent their editors from making large unrelated changes as they start to tweak their Breeze installation.

This code style also allows us to run Tailwind's Prettier plugin to apply their recommended class order (it's not possible to run the plugin without making other changes). However, I haven't included that in this PR because I couldn't get it to work on the Blade stubs 😢

@jessarcher jessarcher marked this pull request as ready for review November 16, 2022 06:56
@taylorotwell taylorotwell merged commit 80bb052 into 1.x Nov 16, 2022
@taylorotwell taylorotwell deleted the code-style branch November 16, 2022 20:01
slimani-dev pushed a commit to slimani-dev/breeze that referenced this pull request Jan 21, 2023
* Configure StyleCI to format Vue files

* Formatting
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