callstack / callstack/eslint-config-callstack

Consider enabling `explicit-module-boundary-types`

Open
#231 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
55
Forks
16
PR merge metrics
No merged PRs in 30d

Description

## Describe the feature

Explicit types for function return values and arguments makes it clear to any calling code what is the module boundary's input and output.

https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/explicit-module-boundary-types.md

This might be a big change for some of the projects that use this config, so it should be considered as breaking change.

## Motivation

It improves debugging and makes sure that returned types are correct.

## Related Issues

https://github.com/facebook/jest/pull/9539

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.