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

17 lines (13 loc) 377 B
function avoidInlineSpacingEvaluate(node, options) { const overriddenProperties = options.cssProperties.filter(property => { if (node.style.getPropertyPriority(property) === `important`) { return property; } }); if (overriddenProperties.length > 0) { this.data(overriddenProperties); return false; } return true; } export default avoidInlineSpacingEvaluate;