How to use the ignorepatterns.test function in ignorepatterns

To help you get started, we’ve selected a few ignorepatterns 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 chrisdickinson / beefy / lib / server.js View on Github external
function ignore(file) {
    return /[\/\\]\./.test(file) || ignorepatterns.test(path.basename(file))
  }

ignorepatterns

A regular expression that matches common filenames that we want to ignore

Artistic-2.0
Latest version published 9 months ago

Package Health Score

66 / 100
Full package analysis

Popular ignorepatterns functions