From b026e1f327f030a97e74e2f9615172aed6d96f81 Mon Sep 17 00:00:00 2001 From: Ira Hopkinson Date: Thu, 29 Aug 2024 14:04:59 +1200 Subject: [PATCH] provide for type checking - use `noImplicitReturns` instead of `consistent-return` --- .eslintrc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 279bb37..c1de14e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,6 +16,8 @@ module.exports = { // #region ERB rules + // Use `noImplicitReturns` instead. See https://typescript-eslint.io/rules/consistent-return/. + 'consistent-return': 'off', 'import/extensions': 'off', // A temporary hack related to IDE not resolving correct package.json 'import/no-extraneous-dependencies': 'off',