Name Last Update
..
README.md Loading commit data...
attr-non-space-content-evaluate.js Loading commit data...
has-descendant-after.js Loading commit data...
has-descendant-evaluate.js Loading commit data...
has-text-content-evaluate.js Loading commit data...
matches-definition-evaluate.js Loading commit data...
page-no-duplicate-after.js Loading commit data...
page-no-duplicate-evaluate.js Loading commit data...

Generic checks are evaluate functions that are used by multiple checks. They cannot be used directly by a rule (thus there is no check meatadata file associated with them) and must be used by another check passing in the required options.

To use these checks, pass the check id (found in the metadata-function-map file) as the value of a checks evaluate property and pass any required options.

{
    "id": "my-check",
    "evaluate": "generic-check-id",
    "options": {
        "required": true
    }
}