With `treatUndefinedAsUnspecified` enabled, see http://eslint.org/docs/rules/consistent-return Lots of errors with this one on Core