-
Couldn't load subscription status.
- Fork 11
feat(markdown): add GraphQL #319
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
Conversation
|
Also added |
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.
Would be nice to separate code style changes into separate PR, as its hard to see what you actually changed and what is just code formatting. Also there are some trailing commas missing and lint step fails.
TBH those line breaks look like from prettier. And prettier does quite a poor job in adding line breaks if you ask me :]
packages/markdown/src/marked.ts
Outdated
| if (token.type === 'code' && token.lang) { | ||
| if (token.lang === 'marked-tabs') { | ||
| codeTabsObjectPerIndex[markedTabTokenIndex] = codeTabObjectFromCodeTabMarkdown(token.text); | ||
| codeTabsObjectPerIndex[markedTabTokenIndex] = |
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.
like this line, why are you breaking it? my guess is prettier and their dumb 80 chars max line length default? :]
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.
@B4nan yeah sorry that's prettier. I have auto-save when a window is unfocused
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.
But I have the line length limit to 140
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.
Using any auto-formatting on projects that does not provide configuration for the tool is... Let's say not very polite :] Even if we want to change code style, it can't be part of such a PR (that should have pretty much one line diff), it needs to be a separate one.
But I have the line length limit to 140
That line had 107 characters 🤷
|
I was going through old, forgotten PRs to clean them up, and I decided to finish this one, since it's tiny but useful. |
No description provided.