-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Labels
help wantedExtra attention is neededExtra attention is needednew ruleNew rule to be included in the pluginNew rule to be included in the pluginreleasedreleased on @beta
Milestone
Description
This is not a great way to select elements, but is allowed:
parentElement.parentElement.parentElement
It would be great if there were an optional rule that discouraged the use of properties such as parentElement
, previousSibling
, and the rest.
The rule could be highly configurable by allowing each property key to be enabled or disabled. It could also allow a certain level of traversing so that one use of a property is okay, but a chain is not.
thomaslombart
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needednew ruleNew rule to be included in the pluginNew rule to be included in the pluginreleasedreleased on @beta