Skip to content

Meta: Format TSX files with dprint#9439

Draft
fregante wants to merge 1 commit into
mainfrom
dprint-tsx
Draft

Meta: Format TSX files with dprint#9439
fregante wants to merge 1 commit into
mainfrom
dprint-tsx

Conversation

@fregante
Copy link
Copy Markdown
Member

@github-actions github-actions Bot added the meta Related to Refined GitHub itself label May 11, 2026
Copy link
Copy Markdown
Member Author

@fregante fregante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the noise comes from the imports sorting. The rest is mostly ok, but we still have that major/blocking whitespace issue.

If it cannot be fixed this week, I'll either do another format once merge (disabling eslint's import wrapping) or try to find a way limit dprint to import sorting or something.

removeTextNodeContaining(assignYourself.previousSibling!, 'No one—');
$('[aria-label="Select assignees"] summary').append(
<span style={{fontWeight: 'normal'}}> – {assignYourself}</span>,
<span style={{fontWeight: 'normal'}}>– {assignYourself}</span>,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still broken. Did you have a patch @SunsetTechuila?

<span className="IssueLabel hx_IssueLabel mr-2" rgh-conventional-commits={commit.rawType}>
{commit.type}
</span>,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♂️ not a big deal though


async function embedGist(link: HTMLAnchorElement): Promise<void> {
const info = <em> (loading)</em>;
const info = <em>(loading)</em>;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will revert

defaultBranchRef {name}
${
prs.map(pr => `
prs.map(pr => `
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still an issue, but not a big one

>
<StateIcon className={stateColorMap[prInfo.state]} />
<span> #{prInfo.number}</span>
<span>#{prInfo.number}</span>
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will revert

{oldNames.length > 0 && (
<div className="color-fg-muted mt-n3">
<span className="text-small">previously named </span>
<span className="text-small">previously named</span>
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will revert

</>
: meta?.css && !isCss
? <>
•{' '}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will revert

<TagIcon className="v-align-middle" />
{' '}
{aheadBy === undeterminableAheadBy || <sup className="ml-n2">+{aheadBy}</sup>}
<TagIcon className="v-align-middle" /> {aheadBy === undeterminableAheadBy || <sup className="ml-n2">+{aheadBy}</sup>}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not terrible but it is less readable

);

return <div> {button} {tooltip} </div>;
return <div>{button} {tooltip}</div>;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will revert

attachElement(target, {
after: () => (
<span className="color-fg-muted"> · Follows you</span>
<span className="color-fg-muted">· Follows you</span>
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will revert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meta Related to Refined GitHub itself

Development

Successfully merging this pull request may close these issues.

1 participant