Please describe what the rule should do:
The rule should disallow the usage of misspellings of style and class (such as stlye) in the template, as misspelling them can waste a lot of time while trying to figure it out.
Should I make this rule accept a list of blacklisted property names, and have the misspellings as the default? Or should I keep it specific to the misspellings of style and class, and allow the user to give it a whitelist of words from that list that they want to allow?
What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about:
<div stlye="display: none;"></div>
Please describe what the rule should do:
The rule should disallow the usage of misspellings of
styleandclass(such as stlye) in the template, as misspelling them can waste a lot of time while trying to figure it out.Should I make this rule accept a list of blacklisted property names, and have the misspellings as the default? Or should I keep it specific to the misspellings of
styleandclass, and allow the user to give it a whitelist of words from that list that they want to allow?What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about: