-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
Currently, every exception for the id-length rule must be passed explicitly as a string. My proposal would be to allow exceptions based on their kind, not only the literal value.
As mentioned in #40, one possible improvement to the rule configuration would be to allow all type parameters to be excluded from checking. It seems like intrinsic elements would be a welcome addition, given the amount of HTML tags otherwise provided manually.
An example configuration object might look like this:
{
"id-length": [
true,
{
"min": 2,
"max": 10,
"exceptions": ["_"],
"check-type-parameters": false,
"check-jsx-intrinsic-elements": false
}
]
}Reactions are currently unavailable