From 9a8fb5f93d459f8be940bae63b465e799032d709 Mon Sep 17 00:00:00 2001 From: joao-paulo-parity Date: Mon, 16 May 2022 06:25:37 -0300 Subject: [PATCH] tweak explicit-module-boundary-types --- src/eslint/configuration.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/eslint/configuration.js b/src/eslint/configuration.js index 13425ad..85846f2 100644 --- a/src/eslint/configuration.js +++ b/src/eslint/configuration.js @@ -107,7 +107,10 @@ const typescriptRules = { allowNullableString: true, }, ], - "@typescript-eslint/explicit-module-boundary-types": "off", + "@typescript-eslint/explicit-module-boundary-types": [ + "error", + { allowHigherOrderFunctions: true }, + ], "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/interface-name-prefix": "off",