Skip to content

mishguruorg/eslint-plugin-mishguru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-mishguru

Rules

no-return-call-within-async-try

const fetch = async () => {
  try {
    return doSomethingAsync() // <-- this should be awaited
  } catch (error) {
    console.log(error) // <-- this doesn't run if doSomethingAsync fails
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published