Newer Version Available
Disallow Use of Function Constructor (no-new-func)
Prevents the creation of new functions using the Function() constructor. This is a non-standard, hard to read,
and therefore terrible practice. It also requires parsing a string as code in much the same way
eval() does. This is a standard rule built into
ESLint.
For complete details about this rule, including examples, see the corresponding ESLint documentation, Disallow Function Constructor (no-new-func).