Skip to content

Meta: CSS lint rules - #10042

Merged
fregante merged 17 commits into
mainfrom
lint-is
Sep 11, 2026
Merged

fregante merged 17 commits into
mainfrom
lint-is

Conversation

@fregante

@fregante fregante commented Sep 4, 2026 •

Copy link
Copy Markdown
Member
  • no :is(one-item)
  • no :is(a, b) c {, prefer a, b { c {
  • no .foo[attr]#a, prefer #a.foo[attr]

@github-actions github-actions Bot added the meta Related to Refined GitHub itself label Sep 4, 2026
@fregante fregante changed the title Meta: avoid :is() selector in CSS Meta: Add CSS lint rules for :is() and compound selector ordering Sep 4, 2026
@fregante fregante changed the title Meta: Add CSS lint rules for :is() and compound selector ordering Meta: Add CSS lint rules for :is() and selector sorting Sep 4, 2026
Comment thread source/refined-github.css
a[data-hovercard-type='user'],
a[class^='IssueItem-module__authorCreatedLink'] {
font-weight: 600;
}

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.

Here since 2021, I don’t think this is necessary anymore, especially thanks to small-user-avatars added since then.

@fregante
fregante marked this pull request as ready for review September 11, 2026 08:17
@fregante fregante changed the title Meta: Add CSS lint rules for :is() and selector sorting Meta: CSS lint rules Sep 11, 2026
@fregante
fregante merged commit 4f0b1f1 into main Sep 11, 2026
14 checks passed
@fregante
fregante deleted the lint-is branch September 11, 2026 08:25
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