-
Notifications
You must be signed in to change notification settings - Fork 88
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 prettier
for format
#59
base: main
Are you sure you want to change the base?
Conversation
@@ -1,273 +1,810 @@ | |||
<!DOCTYPE html> | |||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1"> | |||
<meta charset="utf-8" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we figure out how to prevent the formatter from adding />
to single tags like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good except for the formatter changing things like:
<meta charset="utf-8">
to this:
<meta charset="utf-8" />
Can you figure out how to prevent that and then I think we can get this approved.
Appreciate it!
@@ -9,7 +9,8 @@ | |||
@custom-variant dark (&:where(.dark, .dark *)); | |||
|
|||
@theme { | |||
--font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; | |||
--font-sans: | |||
'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meh
autocomplete="email" | ||
placeholder="[email protected]" | ||
/> | ||
<flux:input wire:model="email" :label="__('Email address')" type="email" required autocomplete="email" placeholder="[email protected]" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for elements with many attributes is it not better to go on multiple lines? is there not a limit of characters per line?
@michaelnabil230, let me know if you can address the concerns above and we can move forward with this PR. Really appreciate it 👏 |
This PR is for adding prettier to format the frontend.