Enforce function return types

Very useful for proto wire types as all fields are optional but not
always reflected in the generated type.
This commit is contained in:
Franck Royer 2021-10-06 14:21:03 +11:00
parent 2ee6b74787
commit 4fc7d6cc62
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
], ],
"globals": { "BigInt": true, "console": true, "WebAssembly": true }, "globals": { "BigInt": true, "console": true, "WebAssembly": true },
"rules": { "rules": {
"@typescript-eslint/explicit-function-return-type": ["warn"], "@typescript-eslint/explicit-function-return-type": ["error"],
"@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/explicit-module-boundary-types": "off",
"eslint-comments/disable-enable-pair": [ "eslint-comments/disable-enable-pair": [
"error", "error",