99x / w3c-link-validator

Command line tool, identifying broken links, validate basic html standards and reporting
https://www.npmjs.com/package/w3c-link-validator
MIT License
18 stars 11 forks source link

Separate rulesets from validateHtml function. #45

Closed sparcut closed 7 years ago

sparcut commented 7 years ago

Enhancement for clarity when finding rulesets. As rule arrays get larger, it would be best to modulize or at least move them out of the validateHtml function.

Thus, making it similar to find ruleset one is looking for when reading code.

shalithasuranga commented 7 years ago

Yeah @sparcut that's a very good idea. Please comment here if you are going to work with this issue.

@thinkholic , @rehrumesh what's your idea regarding this

Thanks

sparcut commented 7 years ago

@shalithasuranga I'll work on this in a little bit. (in ~2 hours time)