stylelint-bundle-worker.js
function generateTasks(source, opts) {
    var patterns = [].concat(source);
    var options = optionsManager.prepare(opts);
    return taskManager.generate(patterns, options);
}
function generateTasks(source, opts) {
    var patterns = [].concat(source);
    var options = optionsManager.prepare(opts);
    return taskManager.generate(patterns, options);
}
Return a set of tasks based on provided patterns.