luhn-generator
Version:
A generator of numbers that passes the validation of Luhn algorithm or Luhn formula, also known as the 'modulus 10' or 'mod 10' algorithm
15 lines (14 loc) • 339 B
JSON
{
"id": "valid-lang",
"evaluate": "valid-lang-evaluate",
"options": {
"attributes": ["lang", "xml:lang"]
},
"metadata": {
"impact": "serious",
"messages": {
"pass": "Value of lang attribute is included in the list of valid languages",
"fail": "Value of lang attribute not included in the list of valid languages"
}
}
}