SonarJS linter helper functions
    Preparing search index...

    Function findParent

    • Find nearest file with a given name in current or parent dirs

      Parameters

      • dir: string
      • name: string

        filename to search for

      Returns null | string