From db3494906ceb34d34904ed71f654429aee447f09 Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Tue, 16 Mar 2021 22:58:36 -0700 Subject: [PATCH] Add eslint rule to require variable declarations to be separate statements. --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 3fe9eace77d..b8e61c5ba43 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -108,6 +108,7 @@ "anonymous": "neither" } ], + "one-var": ["warn", "never"], "jsdoc/check-alignment": 1, "jsdoc/check-examples": 0, // interferes with SugarCube examples "jsdoc/check-indentation": 0, -- GitLab