yandex / mapsapi-codestyle

JavaScript and TypeScript Style Guide
Other
213 stars 36 forks source link

Require space before asterisk in generator method definition #116

Closed ikokostya closed 4 years ago

ikokostya commented 5 years ago

Current rule is inconsistent, because in generator function declaration asterisk symbol is stuck to the function keyword.

There is good explanation in the exploringjs book.

This rule in other styleguides:

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

sigorilla commented 4 years ago

@dodev @flapenguin Мержим?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.