Could you please provide some feedback on the Typescript function I have written below? The function is meant to check for validation, and if it fails, exit out of the submit function. However, ESLint is flagging a 'no-useless-return' error. I'm not sure if this is an issue with ESLint or if my code quality is lacking. Any advice would be appreciated.
submit() {
if (!this.checkValidate()) return
// TODO
}