Rule: no-eval
Disallows eval
function invocations.
Rationale
eval()
is dangerous as it allows arbitrary code execution with full privileges. There are
alternatives
for most of the use cases for eval()
.
Config
Not configurable.
Config examples
"no-eval": true
Schema
null