该规则旨在报告多余的 return 单。 此规则的错误代码示例: /* eslint no-useless-return: "error" */ function foo() { return; } function foo() { doSomething(); ...
確定! 回上一頁