lib/components/src/controls/react-editable-json-tree/utils/parse.ts
forbidden eval Open
Open
return eval(`(${result})`); // eslint-disable-line no-eval
- Read upRead up
- Exclude checks
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.
Examples
"no-eval": true
For more information see this page.