eslint-plugin-no-multiple-returns

An ESLint plugin to enforce a single `return` statement per function, encouraging clearer and more maintainable code.

Browse on unpkg