Running drush command generate warning about the module composer.json file

Invalid json in modules/contrib/username_validation/composer.json

Comments

nikolas.costa created an issue. See original summary.

nikolas.costa’s picture

Status: Active » Needs work
StatusFileSize
new591 bytes

This is my patch :-)

clemens.tolboom’s picture

Status: Needs work » Reviewed & tested by the community
clemens.tolboom’s picture

According to https://www.drupal.org/docs/8/creating-custom-modules/add-a-composerjson... this file is not needed as there are no external dependencies. So for this module it's optiona; :-)

If a module does not have any dependencies, or the dependencies are solely other Drupal modules, then a composer.json is not required. However, having a composer.json does not have a negative impact either.

clemens.tolboom’s picture

vladimiraus’s picture

Assigned: nikolas.costa » Unassigned
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.