You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Just started playing w/ this library today and this caused a bit of confusion (although admittedly I'm probably not using the library in the recommended way; API).
Not all rules seem to be documented, and I was looking for a stricter set of rules so there was some trial and error. I ended up coming up w/ this solution which seems a bit, sketchy:
Describe the solution you'd like
Should the HTMLHint.defaultRuleset property return ALL properties and only set true for the enabled default properties but include all the rest of the properties set to false? Wouldn't change the default behavior, but might make it easier for people to save the defaultRuleset value to a config file and change 1-2 values instead of having to build the .htmlhintrc config file manually.
Describe alternatives you've considered
See above, but I ended up just scraping ALL the rules and then selectively turning conflicting/unwanted rules off.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe.
Just started playing w/ this library today and this caused a bit of confusion (although admittedly I'm probably not using the library in the recommended way; API).
Gives me the following output:
Not all rules seem to be documented, and I was looking for a stricter set of rules so there was some trial and error. I ended up coming up w/ this solution which seems a bit, sketchy:
OUTPUT
Describe the solution you'd like
Should the
HTMLHint.defaultRuleset
property return ALL properties and only settrue
for the enabled default properties but include all the rest of the properties set tofalse
? Wouldn't change the default behavior, but might make it easier for people to save thedefaultRuleset
value to a config file and change 1-2 values instead of having to build the .htmlhintrc config file manually.Describe alternatives you've considered
See above, but I ended up just scraping ALL the rules and then selectively turning conflicting/unwanted rules off.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: