code: function findEslintEnv(text) {
      let match, retv;
  
      eslintEnvPattern.lastIndex = 0;
  
      while ((match = eslintEnvPattern.exec(text))) {
          retv = Object.assign(retv || {}, commentParser.parseListConfig(match[1]));
      }
  
      return retv;
  }
docs: Checks whether or not there is a comment which has "eslint-env *" in a given text.
  @param {string} text - A source code text to check.
  @returns {Object|null} A result of parseListConfig() with "eslint-env *" comment.