aboutsummaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 15:05:48 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:05:48 +0300
commit020e6eabcc0a3b7a16110b37ea821e130d860249 (patch)
treebc9f99887161a1451b603b13ff2af448990ea6a3 /src/rules
parent263c8c736ea385144b2f3ff02d6abf8d62f50aa9 (diff)
downloadeslint-config-020e6eabcc0a3b7a16110b37ea821e130d860249.tar.xz
eslint-config-020e6eabcc0a3b7a16110b37ea821e130d860249.zip
feat(eslint): Rule "no-eval"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/eslint.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 30f12c6..ac29da4 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -69,6 +69,12 @@
"no-debugger": [
"error"
],
+ "no-eval": [
+ "error",
+ {
+ "allowIndirect": false
+ }
+ ],
"no-multi-spaces": [
"error",
{