summaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-21 09:31:21 -0500
committerGitHub <noreply@github.com>2023-12-21 14:31:21 +0000
commitf041f808891d6fc16e02a05b96a398ab432c756a (patch)
treef56c7ddbb4ec11a09822c5c53e23a9d7031a83e5 /.eslintrc.json
parent7dcf023dcc164b24f2c18ed6ba1140342c2797c5 (diff)
Enable no-new eslint rule (#411)
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 1a427686..eb0eecdb 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -62,6 +62,7 @@
"no-const-assign": "error",
"no-constant-condition": "off",
"no-global-assign": "error",
+ "no-new": "error",
"no-param-reassign": "off",
"no-prototype-builtins": "error",
"no-shadow": [