Rule: no-var-requires
Disallows the use of require statements except in import statements.
In other words, the use of forms such as var module = require("module")
are banned.
Instead use ES6 style imports or import foo = require('foo')
imports.
Config
Not configurable.
Examples
"no-var-requires": true
Schema
null