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

20 lines (16 loc) 217 B
{ "root": true, "extends": "@ljharb", "rules": { "func-name-matching": 0, "max-statements": [2, 15] }, "overrides": [ { "files": ["test.js"], "rules": { "no-magic-numbers": 0, }, }, ], }