Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 666 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 666 Bytes

validate-footer (validate-footer)

A new rule to validate footer

Why is this important?

To make sure that the correct copyright text is used at the footer of the pages.

What does the rule check?

  • A footer should be present in the website.
  • The footer should contain my copyright text (c) sonarwhal.

Examples that trigger the rule

<footer>
    <div>
        Whatever
    </div>
</footer>

Examples that pass the rule

<footer>
    <div>
        (c) sonarwhal
    </div>
</footer>

Can the rule be configured?

Yes. The target string to be checked can be configured using stringToBeIncluded property.