gajus/eslint-plugin-flowtype

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

Open

#449 建立於 2020年6月29日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (1,078 star) (167 fork)batch import
bughelp wanted

描述

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

貢獻者指南

require-return-type with { 'annotateUndefined': 'always' } should not trigger for class constructors · gajus/eslint-plugin-flowtype#449 | Good First Issue