enabled consistent-return eslint rule