require-yield
Configuration
rslint.config.ts
Rule Details
This rule generates warnings for generator functions that do not have the yield keyword.
Examples of incorrect code for this rule:
Examples of correct code for this rule:
When Not To Use It
If you don't want to notify generator functions that have no yield expression, then it's safe to disable this rule.