eslint-plugin-mishguru
v2.2.0
Published
Custom ESLint rules for the Mish Guru codebase
Downloads
6
Readme
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
}
}