gajus/eslint-plugin-flowtype

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

Open

#449 opened on Jun 29, 2020

 (0 comments) (0 reactions) (0 assignees)JavaScript (152 forks)batch import
bughelp wanted

Repository metrics

Stars
 (1,069 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