How to use the function in glob

To help you get started, we’ve selected a few glob examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github eslint / eslint / lib / util / glob.js View on Github external
function GlobSync(pattern, options, shouldIgnore) {

     * We don't put this thing to argument `options` to avoid
     * further problems, such as `options` validation.
     * Use `Symbol` as much as possible to avoid confliction.
    this[IGNORE] = shouldIgnore;, pattern, options);