UNPKG

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

22 lines (18 loc) 294 B
{ "root": true, "extends": "@ljharb", "rules": { "id-length": 0, "max-statements": [2, 12], "max-statements-per-line": [2, { "max": 2 }], "operator-linebreak": [2, "before"], }, "overrides": [ { "files": "test/**", "rules": { "no-throw-literal": 0, }, }, ], }