eslint-plugin-mishguru

Custom ESLint rules for the Mish Guru codebase

Usage no npm install needed!

<script type="module">
  import eslintPluginMishguru from 'https://cdn.skypack.dev/eslint-plugin-mishguru';
</script>

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
  }
}