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

15 lines (14 loc) 342 B
/** * unopinionated config. just the things that are necessarily runtime errors * waiting to happen. * @type {Object} */ module.exports = { plugins: ['import'], rules: { 'import/no-unresolved': 2 , 'import/named': 2 , 'import/namespace': 2 , 'import/default': 2 , 'import/export': 2, }, }