Drupal Finder does not work with Lightning Core
When Lightning Core is installed at docroot/modules/contrib/lightning_core and $this=>locateRoot('docroot/modules/contrib/lightning_core') is executed, Drupal Finder will incorrectly assume that docroot/modules/contrib/lightning_core is actually the root.
This is due to Lightning Core's composer.json, which contains entries for installer-paths.
It seems like it would be useful to add a couple of extra checks to Drupal Finder ensure that the directory structure looks like Drupal core. For instance, checking for core,index.php,modules, etc. Checking values in composer.json is not sufficient in all cases.
File link to composer.json not working for me. I assume this one is the same https://git.drupalcode.org/project/lightning_core/blob/8.x-1.x/composer.json