From 4fc7d6cc6261266383281e96468d61de6973754e Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Wed, 6 Oct 2021 14:21:03 +1100 Subject: [PATCH] Enforce function return types Very useful for proto wire types as all fields are optional but not always reflected in the generated type. --- packages/status-communities/.eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/status-communities/.eslintrc.json b/packages/status-communities/.eslintrc.json index 0e42b7d9..f0d0dc9b 100644 --- a/packages/status-communities/.eslintrc.json +++ b/packages/status-communities/.eslintrc.json @@ -14,7 +14,7 @@ ], "globals": { "BigInt": true, "console": true, "WebAssembly": true }, "rules": { - "@typescript-eslint/explicit-function-return-type": ["warn"], + "@typescript-eslint/explicit-function-return-type": ["error"], "@typescript-eslint/explicit-module-boundary-types": "off", "eslint-comments/disable-enable-pair": [ "error",