nomonic
    Preparing search index...

    Function loadIgnorePatterns

    • Read ignore patterns from the .nomonicignore file in the given directory.

      Returns an empty array if the file does not exist. Lines starting with # are treated as comments and stripped, and blank lines are discarded.

      Parameters

      • cwd: string = ...

        Working directory to look for .nomonicignore (defaults to process.cwd()).

      Returns string[]

      An array of glob pattern strings.