From 6d1539cf9c63f75dc0aca1413725650bcee26e42 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 1 Aug 2022 22:42:30 -0500 Subject: [PATCH] eslint: don't care about consistent-return in typescript --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 0ff74336c..7fa666e36 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -278,6 +278,7 @@ module.exports = { files: ['**/*.ts', '**/*.tsx'], rules: { 'no-undef': 'off', // https://stackoverflow.com/a/69155899 + 'consistent-return': 'off', }, parser: '@typescript-eslint/parser', },