-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
run prettier on sdk readme #48905
run prettier on sdk readme #48905
Conversation
@npretto You have modified embedding SDK code. Please make sure the PR title follows Conventional Commits style.
These types Please also make sure to include For example, these are valid PR titles:
|
@@ -124,11 +124,11 @@ const metabaseConfig = { | |||
### JWT Authentication |
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.
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.
* run prettier on sdk readme * fix code snippets so that prettier can format them * put back the empty new line on the package.json
* run prettier on sdk readme * fix code snippets so that prettier can format them * put back the empty new line on the package.json Co-authored-by: Nicolò Pretto <[email protected]>
Why
I opened it, changed a file, saved it and it all changed, which makes me sadThe formatting on the code samples were not consistent with formatting, there shouldn't be any downside in having the readme formatted by prettier.
I also added it to the lint-staged rules, so that we don't have to rely on people having prettier on the IDE
Non formatting changes
Due to some snippets being technically not valid code, there are some code changes.
Mostly
{...}
being modified intoI also modified some
into
To make them consistent