From 09dd1d2dd9b252c7d711d8aceab6687442bd08d7 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 13 Feb 2022 12:31:31 -0500 Subject: [PATCH] Turns off unneeded eslint rule --- .eslintrc.base.json | 2 +- src/test/suite/index.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.eslintrc.base.json b/.eslintrc.base.json index 2d02d6f..9dccd5f 100644 --- a/.eslintrc.base.json +++ b/.eslintrc.base.json @@ -25,7 +25,7 @@ "anti-trojan-source/no-bidi": "error", "arrow-parens": ["off"], "brace-style": ["off", "stroustrup"], - "consistent-return": "error", + "consistent-return": "off", "curly": ["error", "multi-line", "consistent"], "eol-last": "error", "linebreak-style": ["error", "unix"], diff --git a/src/test/suite/index.ts b/src/test/suite/index.ts index 7d7bd26..c5a5fad 100644 --- a/src/test/suite/index.ts +++ b/src/test/suite/index.ts @@ -12,7 +12,6 @@ export function run(): Promise { const testsRoot = path.resolve(__dirname, '..'); return new Promise((c, e) => { - // eslint-disable-next-line consistent-return glob('**/**.test.js', { cwd: testsRoot }, (err, files) => { if (err != null) { return e(err);