Skip to content

Conversation

Tanujkanti4441
Copy link
Contributor

@Tanujkanti4441 Tanujkanti4441 commented Sep 3, 2025

Prerequisites checklist

What is the purpose of this pull request?

To add a new rule to limit CSS selectors.

What changes did you make? (Give an overview)

Added a new rule called selector-complexity with following options:

maxIds
maxClasses
maxTypes
maxAttributes
maxPseudoClasses
maxUniversals
maxCompounds
maxCombinators
disallowCombinators
disallowPseudoClasses
disallowPseudoElements
disallowAttributes
disallowAttributeMatchers

Related Issues

Fixes #19

Is there anything you'd like reviewers to focus on?

@Tanujkanti4441 Tanujkanti4441 marked this pull request as ready for review September 7, 2025 17:37
@lumirlumir lumirlumir added the accepted There is consensus among the team that this change meets the criteria for inclusion label Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion feature
Projects
Status: Needs Triage
Development

Successfully merging this pull request may close these issues.

New Rule: selector-complexity
2 participants