aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2023-05-19 09:55:06 +0000
committerAarni Koskela <akx@iki.fi>2023-05-19 09:57:38 +0000
commit3909c2b2a08eff2334020b7c8484569f8891a80c (patch)
treeb78b42bfc8ab867c15a863783464f864887d9dd7 /.eslintrc.js
parent247f371d3eaa9807d1f5986937cd10bf467ef9ca (diff)
downloadstable-diffusion-webui-gfx803-3909c2b2a08eff2334020b7c8484569f8891a80c.tar.gz
stable-diffusion-webui-gfx803-3909c2b2a08eff2334020b7c8484569f8891a80c.tar.bz2
stable-diffusion-webui-gfx803-3909c2b2a08eff2334020b7c8484569f8891a80c.zip
eslintrc: enable no-redeclare but with builtinGlobals: false
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 1591795b..fe9978fa 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -27,7 +27,7 @@ module.exports = {
"no-extra-semi": "error",
"no-mixed-spaces-and-tabs": "error",
"no-multi-spaces": "error",
- "no-redeclare": "off",
+ "no-redeclare": ["error", {builtinGlobals: false}],
"no-trailing-spaces": "error",
"no-unused-vars": "off",
"no-whitespace-before-property": "error",