gajus/eslint-plugin-flowtype

require-return-type with { 'annotateUndefined': 'always' } should not trigger for class constructors

Open

#449 opened on Jun 29, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (167 forks)batch import
bughelp wanted

Repository metrics

Stars
 (1,078 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

require-return-type with { 'annotateUndefined': 'always' } should not trigger for class constructors, since class constructors should never return anything.

Contributor guide