Home / Function/ ignoredPathsListedInPrettierIgnoreInGlobFormat() — react Function Reference

ignoredPathsListedInPrettierIgnoreInGlobFormat() — react Function Reference

Architecture documentation for the ignoredPathsListedInPrettierIgnoreInGlobFormat() function in index.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  842a3dea_6a29_6061_bc3b_4ae731adf8ec["ignoredPathsListedInPrettierIgnoreInGlobFormat()"]
  6e77e9aa_2734_003c_4db1_e70488f75644["index.js"]
  842a3dea_6a29_6061_bc3b_4ae731adf8ec -->|defined in| 6e77e9aa_2734_003c_4db1_e70488f75644
  style 842a3dea_6a29_6061_bc3b_4ae731adf8ec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/prettier/index.js lines 42–51

  ignoredPathsListedInPrettierIgnore.map(ignoredPath => {
    const existsAndDirectory =
      fs.existsSync(ignoredPath) && fs.lstatSync(ignoredPath).isDirectory();

    if (existsAndDirectory) {
      return path.join(ignoredPath, '/**');
    }

    return ignoredPath;
  });

Domain

Subdomains

Frequently Asked Questions

What does ignoredPathsListedInPrettierIgnoreInGlobFormat() do?
ignoredPathsListedInPrettierIgnoreInGlobFormat() is a function in the react codebase, defined in scripts/prettier/index.js.
Where is ignoredPathsListedInPrettierIgnoreInGlobFormat() defined?
ignoredPathsListedInPrettierIgnoreInGlobFormat() is defined in scripts/prettier/index.js at line 42.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free