AuHau / tasegir

tAsEgir - Automated TypeScript project management
https://github.com/AuHau/tasegir
MIT License
4 stars 3 forks source link

If function return Promise, enforce async keyword #65

Open AuHau opened 4 years ago

AuHau commented 4 years ago

Currently there is rule that enfore no async if there is no await. This rule needs to be excluded and instead think of rule that will enforce asyn keyword when there is Promise being returned in function.

The reasons are: