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

bridge2: HTML / JS formatter #112

Open
mgood opened this issue Feb 8, 2024 · 0 comments
Open

bridge2: HTML / JS formatter #112

mgood opened this issue Feb 8, 2024 · 0 comments
Assignees

Comments

@mgood
Copy link
Collaborator

mgood commented Feb 8, 2024

Minor, but I think I'll add a simple Prettier config for formatting the UI code. Partly since I have the Prettier extension it tries to format on save, which I could disable, but having a config would be convenient. Depending on how other people work, I'm not sure if we need another command to help with formatting if you don't already have it in your IDE.

@mgood mgood self-assigned this Feb 8, 2024
mgood added a commit that referenced this issue Feb 8, 2024
Re-save UI files to remove some extra whitespace.

Includes a minimal `.prettierrc.toml` as a start
for #112. Though currently `requirePragma`
disables the formatter by default unless files
have a special comment to show that they've
already been formatted. I'll test out the settings
a bit to see how it looks, and then can
incrementally format the files as we go.
mgood added a commit that referenced this issue Feb 14, 2024
Re-save UI files to remove some extra whitespace.

Includes a minimal `.prettierrc.toml` as a start
for #112. Though currently `requirePragma`
disables the formatter by default unless files
have a special comment to show that they've
already been formatted. I'll test out the settings
a bit to see how it looks, and then can
incrementally format the files as we go.
mgood added a commit that referenced this issue Feb 14, 2024
Re-save UI files to remove some extra whitespace.

Includes a minimal `.prettierrc.toml` as a start
for #112. Though currently `requirePragma`
disables the formatter by default unless files
have a special comment to show that they've
already been formatted. I'll test out the settings
a bit to see how it looks, and then can
incrementally format the files as we go.
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

No branches or pull requests

1 participant