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

11 lines (7 loc) 262 B
/** * @fileoverview Prevent usage of setState in componentDidUpdate * @author Yannick Croissant */ 'use strict'; const makeNoMethodSetStateRule = require('../util/makeNoMethodSetStateRule'); module.exports = makeNoMethodSetStateRule('componentDidUpdate');