Irina Glushko 2389e7160b HW1 done 3 years ago
..
README.md 2389e7160b HW1 done 3 years ago
attr-non-space-content-evaluate.js 2389e7160b HW1 done 3 years ago
has-descendant-after.js 2389e7160b HW1 done 3 years ago
has-descendant-evaluate.js 2389e7160b HW1 done 3 years ago
has-text-content-evaluate.js 2389e7160b HW1 done 3 years ago
matches-definition-evaluate.js 2389e7160b HW1 done 3 years ago
page-no-duplicate-after.js 2389e7160b HW1 done 3 years ago
page-no-duplicate-evaluate.js 2389e7160b HW1 done 3 years ago

README.md

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
  }
}