Repository navigation
Conversation
| .closest('[data-testid="results-list"] > div')! | ||
| .querySelector('ul > span:last-of-type')! | ||
| .before( | ||
| <> |
…arens wrapping Agent-Logs-Url: https://github.com/refined-github/refined-github/sessions/a0a5458b-72d6-472f-9517-ff55e16b62ef Co-authored-by: fregante <[email protected]>
fregante
left a comment
There was a problem hiding this comment.
Reviewed 130 files so far 😰
The changes are mostly ok
| headerCommentCount.append(spacer); | ||
| headerCommentCount.after(link, | ||
| ); | ||
| headerCommentCount.after(link); |
…estions Agent-Logs-Url: https://github.com/refined-github/refined-github/sessions/460890b1-23b1-4fe4-8f3e-7dd2e4208847 Co-authored-by: fregante <[email protected]>
|
So I think we cannot go ahead with dprint on TSX files since it breaks whitespace (see "wrong" comments). We'd have to wait for them to find and fix this issue before we can continue. |
|
Is this the only blocker? |
|
I haven't verified every file, but given how old that issue is I don’t think it's going to be magically fixed this week. We're not in a rush to format TS files but due to how every other formatter deals with the features.add() arrays, dprint appears to be the only option (other than the current eslint) |
|
Resolve conflicts. Prefer the code from |
Co-authored-by: fregante <[email protected]>
Done in 0c3bfe9 — merged |
| "**/*.css", | ||
| "**/*.gql", | ||
| "source/**/*.ts", | ||
| "source/**/*.tsx" |
There was a problem hiding this comment.
Remove the two "source"
Add dprint.json itself
| "graphql": {}, | ||
| "typescript": { | ||
| "indentWidth": 1, | ||
| "useTabs": true, |
| input.removeAttribute('name'); | ||
| $(`.feature-name[for="${feature}"]`).after( | ||
| <span className="hotfix-notice"> (Disabled due to {createRghIssueLink(relatedIssue)})</span>, | ||
| <span className="hotfix-notice">(Disabled due to {createRghIssueLink(relatedIssue)})</span>, |
| {oldNames.length > 0 && ( | ||
| <div className="color-fg-muted mt-n3"> | ||
| <span className="text-small">previously named </span> | ||
| <span className="text-small">previously named</span> |
| } | ||
| `} | ||
| </style>, | ||
| <style>{gistCss}</style>, |
There was a problem hiding this comment.
Don't extract. Set inline via textContent JSX attribute.
…extContent Agent-Logs-Url: https://github.com/refined-github/refined-github/sessions/5376b822-64f3-4366-87d4-50eecc479cda Co-authored-by: fregante <[email protected]>
|
@copilot add missing dprint/typescript dependency. Format all files. Create new "CI / Format" step in the workflow files and take dprint out of the "CI / Lint" step |
Done in f0e2f66:
|
🥹 |
Formats all TypeScript and TSX source files using dprint, with tuned configuration to preserve existing code style.
Test URLs
Screenshot