-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Apply taplo to the repository #18998
Conversation
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.
More tools formatting our files, yay!
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 the record, here's the available options:
https://taplo.tamasfe.dev/configuration/formatter-options.html
column_width
is likely something to bikeshed discuss.
reorder_keys
might be interesting to turn on 🤔
@thejcannon Is this something we're interested in merging at this time or should I close it? |
Oh, yeah totally interested 😄 Mind upgrading the version to one which has the fix from tamasfe/taplo#404? |
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.
We could bikeshed on the specifics, but any amount of auto-formatting is great.
I'll open a thread in #development, and then give it a day, and then we can merge if nothing major comes up
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.
I have zero bikeshedding input. I just want there to be a standard, any standard, that is machine-managed. And now we do!
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.
Yay autoformatters
I'd like to see line length 100 to match our config for black/isort. |
I'm enabling auto-merge and will monitor the build. BIG BIG BIG BIG BIG thanks @bryanwweber ❤️ |
Happy to help <3 |
Per the suggestion from @thejcannon, I've turned the taplo formatter onto pants itself 😄 Happy to take suggestions for formatting standards, if anyone wants to bikeshed.