ESLint Error: Generator Function Missing 'yield' Statement

Afternoon, guys. Newbie question: why is ESLint complaining that This generator function does not have 'yield'. eslint(require-yield)?
Effect.gen(function* () {
  return {
    list: () =>
      Effect.gen(function* () {
        yield* Effect.try({
          try: () => execSync(`ls -la`),
          catch: () => new Error('Oops'),
        })
      }),
  }
})
Was this page helpful?