- Issue created by @longwave
- πΊπΈUnited States kevinquillen
Just came across this issue when trying to figure out how to resolve this for frontend developers on a project where invalid libraries syntax was not caught.
I located a schema here: https://json.schemastore.org/drupal-libraries.json
After hooking it to my IDE, it started noting incorrect syntax or keys in library files.
It would be nice if Drupal could also catch this and gracefully degrade (in our case, a missing 'css' key threw an exception on the site).